Wed, May 10 2006
15:59:32
|
|
Request created by guest
|
|
Subject: Configure not finding external proj libraries
Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.1 cvs snapshot 2006_5_10
Using my normal configuration settings for --with-proj I get the following while
running the configure script:
checking for location of External PROJ.4 includes...
checking for proj_api.h... yes
checking External PROJ.4 version... 449
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files...
configure: warning: *** External PROJ.4 directory not specified
checking for /epsg... no
configure: warning: *** Unable to locate PROJ data files.
checking for nad2bin... /usr/local/bin/nad2bin
Is the configuration script missing the epsg definitions?
Would this mean that Grass would not be able to use the epsg codes?
It seems as though it is finding proj.4 but not all of it.
|
|
Wed, May 10 2006
22:47:21
|
|
Mail sent by guest
|
|
I can confirm this with today's CVS. It's been out there for several days now.
Must be connected with recent changes to PROJ.4 handling at configure (see
recent archives for details).
FYI, if you set the new configure switch --with-proj-share correctly (e.g. on
my box its' "= /usr/local/share/proj/") the warnings are gone.
Propably the PROJ.4 share dir cannot be autodetected any longer by Grass for
some good reason, that's why the new switch.
I don't know if to expect problems due to the warning above. Since I have
noticed it I've been using --with-proj-share and all is ok.
Closing report. Re-open if needed.
Best,
Maciek
|
|
Thu, May 11 2006
01:12:30
|
|
Mail sent by glynn@gclements.plus.com
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17506.29525.260500.278547@cerise.gclements.plus.com>
|
Date |
Thu, 11 May 2006 00:12:21 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4447] (grass) Configure not finding external proj libraries
|
In-Reply-To |
<20060510135932.B39C21005DA@lists.intevation.de>
|
References |
<20060510135932.B39C21005DA@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4447
> -------------------------------------------------------------------------
>
> Subject: Configure not finding external proj libraries
>
> Platform: GNU/Linux/x86
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.1 cvs snapshot 2006_5_10
>
> Using my normal configuration settings for --with-proj I get the following
while running the configure script:
>
> checking for location of External PROJ.4 includes...
> checking for proj_api.h... yes
> checking External PROJ.4 version... 449
> checking for location of External PROJ.4 library...
> checking for pj_get_def in -lproj... yes
> checking for location of External PROJ.4 data files...
> configure: warning: *** External PROJ.4 directory not specified
> checking for /epsg... no
> configure: warning: *** Unable to locate PROJ data files.
You need e.g. --with-proj-share=/usr/share/proj.
> checking for nad2bin... /usr/local/bin/nad2bin
>
> Is the configuration script missing the epsg definitions?
>
> Would this mean that Grass would not be able to use the epsg codes?
>
> It seems as though it is finding proj.4 but not all of it.
It can find the headers and library without any help if they are in
the default search path for the compiler and linker respectively. The
data files are accessed directly, so there isn't a default path.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Thu, May 11 2006
01:21:49
|
|
Mail sent by glynn@gclements.plus.com
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17506.30084.420590.883026@cerise.gclements.plus.com>
|
Date |
Thu, 11 May 2006 00:21:40 +0100
|
To |
guest user via RT <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4447] (grass) Configure not finding external proj libraries
|
In-Reply-To |
<20060510204721.F36171005DD@lists.intevation.de>
|
References |
<20060510204721.F36171005DD@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
guest user via RT wrote:
> I can confirm this with today's CVS. It's been out there for several days now.
> Must be connected with recent changes to PROJ.4 handling at configure (see
> recent archives for details).
>
> FYI, if you set the new configure switch --with-proj-share correctly (e.g.
on
> my box its' "= /usr/local/share/proj/") the warnings are gone.
>
> Propably the PROJ.4 share dir cannot be autodetected any longer by Grass for
> some good reason, that's why the new switch.
The --with-proj-share switch replaced the autodetection code. With the
autodetection, if the file wasn't in either of the two directories
which the autodetection code tried, you lost.
Arguably, the two should be combined, so that if you don't specify
that switch (i.e. $with_proj_share is the empty string), it tries a
few common locations.
OTOH, with autodetection, there's always the possibility of it
autodetecting the wrong version of a file. Forcing the user to specify
the exact location eliminates that problem.
We don't do autodetection for libraries or header files because, when
we did, it regularly used to autodetect incompatible headers
(primarily, detecting OS headers in /usr/include when gcc should be
using its own versions from the gcc-lib directory), resulting in
confusing behaviour which often took a fair amount of time and effort
to identify.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Thu, May 11 2006
08:35:16
|
|
Status changed to resolved by msieczka
|
|
Thu, May 11 2006
13:44:21
|
|
Mail sent by Doug_Newcomb@fws.gov
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
01 |
12:30 +0200 (CEST)
|
01 |
12:29 +0200 (CEST)
|
[82.71.30.52]) by mail.intevation.de (Postfix) with ESMTP id A7D1A36CDC for <grass-bugs@intevation.de>; Thu, 11 May 2006 01 |
12:26
|
+0200 (CEST)
|
|
k4ANCLnG019617; Thu, 11 May 2006 00 |
12:21 +0100
|
k4ANCLk6019614; Thu, 11 May 2006 00 |
12:21 +0100
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17506.29525.260500.278547@cerise.gclements.plus.com>
|
Date |
Thu, 11 May 2006 00:12:21 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4447] (grass) Configure not finding external
|
proj libraries
|
|
In-Reply-To |
<20060510135932.B39C21005DA@lists.intevation.de>
|
References |
<20060510135932.B39C21005DA@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs
|
Lucid
|
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0
|
tests=BAYES_00
|
|
X-Spam-Level |
-------------------------------------------- Managed by Request Tracker --- Headers Follow --- >From Doug_Newcomb@fws.gov Thu May 11 13:44:21 2006
|
Return-Path |
<Doug_Newcomb@fws.gov>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<20060510231230.8E4311005DD@lists.intevation.de>
|
Subject |
Re: [bug #4447] (grass) Configure not finding external proj
|
To |
Glynn Clements via RT <grass-bugs@intevation.de>
|
X-Mailer |
Lotus Notes Release 6.5.1 January 21, 2004
|
Message-ID |
<OFCD4CFDF9.DC3C59B4-ON8525716B.004013D0-8525716B.004021C5@fws.gov>
|
From |
Doug_Newcomb@fws.gov
|
Date |
Thu, 11 May 2006 07:40:29 -0400
|
MIME-Version |
1.0
|
X-MIMETrack |
Serialize by Router on IFW9BCT-DEN1/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 05:44:14 AM, Itemize by SMTP Server on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 05:44:14 AM, Serialize by Router on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 05:44:17 AM, Serialize complete at 05/11/2006 05:44:17 AM
|
Content-type |
text/plain; charset=US-ASCII
|
X-Spam-Status |
No, hits=-4.7 tagged_above=-999.0 required=3.0 tests=BAYES_00, NO_REAL_NAME
|
X-Spam-Level |
|
Thanks! I'll alter my configure options.
Doug
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb@fws.gov
----------------------------------------------------------------------------------------------------
-----
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
I left my signature file in /dev/null
Glynn Clements
via RT
<grass-bugs@intev To
ation.de> doug_newcomb@fws.gov
cc
05/10/2006 07:12
PM Subject
[bug #4447] (grass) Configure not
finding external proj
Please respond to
Glynn Clements
via RT
<grass-bugs@intev
ation.de>
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4447
> -------------------------------------------------------------------------
>
> Subject: Configure not finding external proj libraries
>
> Platform: GNU/Linux/x86
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.1 cvs snapshot 2006_5_10
>
> Using my normal configuration settings for --with-proj I get the
following while running the configure script:
>
> checking for location of External PROJ.4 includes...
> checking for proj_api.h... yes
> checking External PROJ.4 version... 449
> checking for location of External PROJ.4 library...
> checking for pj_get_def in -lproj... yes
> checking for location of External PROJ.4 data files...
> configure: warning: *** External PROJ.4 directory not specified
> checking for /epsg... no
> configure: warning: *** Unable to locate PROJ data files.
You need e.g. --with-proj-share=/usr/share/proj.
> checking for nad2bin... /usr/local/bin/nad2bin
>
> Is the configuration script missing the epsg definitions?
>
> Would this mean that Grass would not be able to use the epsg codes?
>
> It seems as though it is finding proj.4 but not all of it.
It can find the headers and library without any help if they are in
the default search path for the compiler and linker respectively. The
data files are accessed directly, so there isn't a default path.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Thu, May 11 2006
13:44:21
|
|
Status changed to open by _rt_system
|
|
Thu, May 11 2006
14:17:14
|
|
Mail sent by Doug_Newcomb@fws.gov
|
|
Return-Path |
<glynn@gclements.plus.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
01 |
12:30 +0200 (CEST)
|
01 |
12:29 +0200 (CEST)
|
[82.71.30.52]) by mail.intevation.de (Postfix) with ESMTP id A7D1A36CDC for <grass-bugs@intevation.de>; Thu, 11 May 2006 01 |
12:26
|
+0200 (CEST)
|
|
k4ANCLnG019617; Thu, 11 May 2006 00 |
12:21 +0100
|
k4ANCLk6019614; Thu, 11 May 2006 00 |
12:21 +0100
|
From |
Glynn Clements <glynn@gclements.plus.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<17506.29525.260500.278547@cerise.gclements.plus.com>
|
Date |
Thu, 11 May 2006 00:12:21 +0100
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #4447] (grass) Configure not finding external
|
proj libraries
|
|
In-Reply-To |
<20060510135932.B39C21005DA@lists.intevation.de>
|
References |
<20060510135932.B39C21005DA@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs
|
Lucid
|
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0
|
tests=BAYES_00
|
|
X-Spam-Level |
-------------------------------------------- Managed by Request Tracker --- Headers Follow --- >From Doug_Newcomb@fws.gov Thu May 11 14:17:14 2006
|
Return-Path |
<Doug_Newcomb@fws.gov>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<20060510231230.8E4311005DD@lists.intevation.de>
|
Subject |
Re: [bug #4447] (grass) Configure not finding external proj
|
To |
Glynn Clements via RT <grass-bugs@intevation.de>
|
X-Mailer |
Lotus Notes Release 6.5.1 January 21, 2004
|
Message-ID |
<OF30ED94D8.4F1B2FEE-ON8525716B.004304E4-8525716B.0043745A@fws.gov>
|
From |
Doug_Newcomb@fws.gov
|
Date |
Thu, 11 May 2006 08:16:46 -0400
|
MIME-Version |
1.0
|
X-MIMETrack |
Serialize by Router on IFW9BCT-DEN1/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 06:17:04 AM, Itemize by SMTP Server on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 06:17:04 AM, Serialize by Router on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 06:17:09 AM, Serialize complete at 05/11/2006 06:17:09 AM
|
Content-type |
text/plain; charset=US-ASCII
|
X-Spam-Status |
No, hits=-4.7 tagged_above=-999.0 required=3.0 tests=BAYES_00, NO_REAL_NAME
|
X-Spam-Level |
|
Mr. Clements
I compiled proj from source in /usr/local/proj-4.4.9 directory, so
--with-proj-share=/usr/local/share/proj worked for me. I don't know if
that small difference is worth mentioning in any documentation or not.
Doug
PS. Thanks for all of the work you do on GRASS!
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb@fws.gov
----------------------------------------------------------------------------------------------------
-----
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
I left my signature file in /dev/null
Glynn Clements
via RT
<grass-bugs@intev To
ation.de> doug_newcomb@fws.gov
cc
05/10/2006 07:12
PM Subject
[bug #4447] (grass) Configure not
finding external proj
Please respond to
Glynn Clements
via RT
<grass-bugs@intev
ation.de>
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4447
> -------------------------------------------------------------------------
>
> Subject: Configure not finding external proj libraries
>
> Platform: GNU/Linux/x86
> grass obtained from: Trento Italy site
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.1 cvs snapshot 2006_5_10
>
> Using my normal configuration settings for --with-proj I get the
following while running the configure script:
>
> checking for location of External PROJ.4 includes...
> checking for proj_api.h... yes
> checking External PROJ.4 version... 449
> checking for location of External PROJ.4 library...
> checking for pj_get_def in -lproj... yes
> checking for location of External PROJ.4 data files...
> configure: warning: *** External PROJ.4 directory not specified
> checking for /epsg... no
> configure: warning: *** Unable to locate PROJ data files.
You need e.g. --with-proj-share=/usr/share/proj.
> checking for nad2bin... /usr/local/bin/nad2bin
>
> Is the configuration script missing the epsg definitions?
>
> Would this mean that Grass would not be able to use the epsg codes?
>
> It seems as though it is finding proj.4 but not all of it.
It can find the headers and library without any help if they are in
the default search path for the compiler and linker respectively. The
data files are accessed directly, so there isn't a default path.
--
Glynn Clements <glynn@gclements.plus.com>
|
|
Thu, May 11 2006
22:51:44
|
|
Taken by mneteler
|
|
Thu, May 11 2006
22:51:44
|
|
Mail sent by mneteler
|
|
Doug,
I have today added a trick to predefine to /usr/local/share/proj
if --with-proj-share= wasn't used (instead of leaving the path
empty).
So: default is now /usr/local/share/proj, otherwise use
--with-proj-share=...
Valid, unless another developer reverts my change :-)
Markus |
|
Thu, May 11 2006
23:18:08
|
|
Mail sent by Doug_Newcomb@fws.gov
|
|
Return-Path |
<Doug_Newcomb@fws.gov>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
In-Reply-To |
<20060511205144.1C6B11006A3@lists.intevation.de>
|
Subject |
Re: [bug #4447] (grass) Configure not finding external proj libraries
|
To |
Markus Neteler via RT <grass-bugs@intevation.de>
|
X-Mailer |
Lotus Notes Release 6.5.1 January 21, 2004
|
Message-ID |
<OF1D089C35.004F60A2-ON8525716B.0074EEAD-8525716B.0074FF37@fws.gov>
|
From |
Doug_Newcomb@fws.gov
|
Date |
Thu, 11 May 2006 17:17:55 -0400
|
MIME-Version |
1.0
|
X-MIMETrack |
Serialize by Router on IFW9BCT-DEN1/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 03:18:04 PM, Itemize by SMTP Server on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 03:18:04 PM, Serialize by Router on IFW9BCT-SMTP2/FWS/DOI(Release 6.5.2|June 01, 2004) at 05/11/2006 03:18:06 PM, Serialize complete at 05/11/2006 03:18:06 PM
|
Content-type |
text/plain; charset=US-ASCII
|
X-Spam-Status |
No, hits=-4.7 tagged_above=-999.0 required=3.0 tests=BAYES_00, NO_REAL_NAME
|
X-Spam-Level |
|
Thanks Markus!
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb@fws.gov
----------------------------------------------------------------------------------------------------
-----
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
I left my signature file in /dev/null
Markus Neteler
via RT
<grass-bugs@intev To
ation.de> doug_newcomb@fws.gov
cc
05/11/2006 04:51
PM Subject
[bug #4447] (grass) Configure not
finding external proj libraries
Please respond to
Markus Neteler
via RT
<grass-bugs@intev
ation.de>
Doug,
I have today added a trick to predefine to /usr/local/share/proj
if --with-proj-share= wasn't used (instead of leaving the path
empty).
So: default is now /usr/local/share/proj, otherwise use
--with-proj-share=...
Valid, unless another developer reverts my change :-)
Markus
-------------------------------------------- Managed by Request Tracker
|
|
Sun, May 14 2006
14:16:26
|
|
Status changed to resolved by msieczka
|
|
Mon, Jul 31 2006
17:14:55
|
|
Mail sent by guest
|
|
What I'm doing wrong
pwd
/usr/local/share/proj
ls
GL27 esri nad.lst nad83
nzgd2kgrid0005.gsb
proj_def.dat
epsg esri.extra nad27 ntv1_can.dat
other.extra world
I do
--with-proj-share=/usr/local/share/proj
but
checking for location of External PROJ.4 data files... /usr/local/share/proj/
checking for /usr/local/share/proj//epsg... yes
checking for nad2bin... no
configure: error: *** Unable to locate nad2bin (needs to be in PATH).
|
|
Mon, Jul 31 2006
18:18:59
|
|
Mail sent by guest
|
|
|