the configure find gdal-config
but fail to find gdal libraries
....
.....
......
checking for location of JPEG includes... /Library/Frameworks/UnixImageIO.framework/unix/include
checking for jpeglib.h... yes
checking for location of JPEG library... /Library/Frameworks/UnixImageIO.framework/unix/lib
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /Library/Frameworks/GDAL.framework/Programs/gdal-config
configure: error: *** Unable to locate GDAL library.
using the same configure (and the same gdal libraries)
on the svn code downloaded 2 weeks ago
(i don't know how to check the exact release it is),
it works as aspected
thanks for any suggestion,
regards
same error on Debian/Sid for a couple of days now.
2008/7/4 Massimo Di Stefano <massimodisasha@yahoo.it>:
Hi
i'm tring to update grass from svn, on osx .
the configure find gdal-config
but fail to find gdal libraries
....
.....
......
checking for location of JPEG includes...
/Library/Frameworks/UnixImageIO.framework/unix/include
checking for jpeglib.h... yes
checking for location of JPEG library...
/Library/Frameworks/UnixImageIO.framework/unix/lib
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config...
/Library/Frameworks/GDAL.framework/Programs/gdal-config
configure: error: *** Unable to locate GDAL library.
using the same configure (and the same gdal libraries)
on the svn code downloaded 2 weeks ago
(i don't know how to check the exact release it is),
it works as aspected
thanks for any suggestion,
regards
the configure find gdal-config
but fail to find gdal libraries
....
.....
......
checking for location of JPEG includes... /Library/Frameworks/
UnixImageIO.framework/unix/include
checking for jpeglib.h... yes
checking for location of JPEG library... /Library/Frameworks/
UnixImageIO.framework/unix/lib
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /Library/Frameworks/GDAL.framework/
Programs/gdal-config
configure: error: *** Unable to locate GDAL library.
Look in config.log for the command which fails and any error messages
which it generates.
config.log
-------------
configure:7599: checking whether to use GDAL
configure:7612: checking for gdal-config
configure:7677: gcc -o conftest -g -O2 -Wl,--export-dynamic
conftest.c -L/usr/lib -lgdal1.5.0 1>&5
configure:7671:18: error: gdal.h: No such file or directory
configure: In function 'main':
configure:7673: error: 'GA_ReadOnly' undeclared (first use in this function)
configure:7673: error: (Each undeclared identifier is reported only once
configure:7673: error: for each function it appears in.)
configure: failed program was: #line 7670 "configure" #include "confdefs.h" #include <gdal.h>
int main() {
GDALOpen("foo", GA_ReadOnly);
; return 0; }
configure:7693: gcc -o conftest -g -O2 -Wl,--export-dynamic
conftest.c -L/usr/lib -lgdal1.5.0 -L/usr/lib -lgeos_c -I/usr/include
-lsqlite3 -lodbc -lodbcinst -L/usr/lib -lexpat -L/usr/lib -lxerces-c
-lpthread -ljasper -lhdf5 -lmfhdf -ldf -logdi -lgif -ljpeg -ltiff
-lpng -lnetcdf -lpq -L/usr/lib -lpq -lz -lpthread -lm -lrt -ldl -lcurl
-L/usr/lib/mysql -lmysqlclient 1>&5
configure:7687:18: error: gdal.h: No such file or directory
configure: In function 'main':
configure:7689: error: 'GA_ReadOnly' undeclared (first use in this function)
configure:7689: error: (Each undeclared identifier is reported only once
configure:7689: error: for each function it appears in.)
configure: failed program was: #line 7686 "configure" #include "confdefs.h" #include <gdal.h>
int main() {
GDALOpen("foo", GA_ReadOnly);
; return 0; }
locate gdal.h returns: /usr/include/gdal/gdal.h
Added in configure options:
--with-includes=/usr/include/gdal
the configure find gdal-config
but fail to find gdal libraries
....
.....
......
checking for location of JPEG includes... /Library/Frameworks/
UnixImageIO.framework/unix/include
checking for jpeglib.h... yes
checking for location of JPEG library... /Library/Frameworks/
UnixImageIO.framework/unix/lib
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /Library/Frameworks/GDAL.framework/
Programs/gdal-config
configure: error: *** Unable to locate GDAL library.
Look in config.log for the command which fails and any error messages
which it generates.
Finally had a chance to try it myself. Looks like changes in r31909 broke it. The tests are now including gdal.h, yet the GDAL include path isn't added to the test compile:
configure:7677: gcc -o conftest -Os -arch ppc -arch i386 -arch ppc -arch i386 -arch ppc -arch i386 conftest.c -L/Library/Frameworks/GDAL.framework/Versions/1.5/unix/lib -lgdal 1>&5
configure:7671:18: error: gdal.h: No such file or directory
On Jul 4, 2008, at 12:28 PM, Glynn Clements wrote:
Massimo Di Stefano wrote:
i'm tring to update grass from svn, on osx .
the configure find gdal-config
but fail to find gdal libraries
....
.....
......
checking for location of JPEG includes... /Library/Frameworks/
UnixImageIO.framework/unix/include
checking for jpeglib.h... yes
checking for location of JPEG library... /Library/Frameworks/
UnixImageIO.framework/unix/lib
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /Library/Frameworks/GDAL.framework/
Programs/gdal-config
configure: error: *** Unable to locate GDAL library.
Look in config.log for the command which fails and any error messages
which it generates.
On Sun, Jul 6, 2008 at 7:29 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:
Finally had a chance to try it myself. Looks like changes in r31909 broke
it. The tests are now including gdal.h, yet the GDAL include path isn't
added to the test compile:
That r31909 change is the backport of http://trac.osgeo.org/grass/changeset/31861
Timestamp: 06/27/08 12:48:11 (1 week ago)
Author: glynn
Message:
Add LOC_CHECK_LINK to allow checking Windows (stdcall) libraries
Change GDAL ODBC checks to handle stdcall
[yes, I'll start to add the change rev into the backports]
configure:7677: gcc -o conftest -Os -arch ppc -arch i386 -arch ppc -arch
i386 -arch ppc -arch i386 conftest.c
-L/Library/Frameworks/GDAL.framework/Versions/1.5/unix/lib -lgdal 1>&5
configure:7671:18: error: gdal.h: No such file or directory
It was also broken on grass.osgeo.org (Fedora, builds snapshots
and prog-man), Yann's include trick is a work-around.
On Sun, Jul 6, 2008 at 7:29 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:
> Finally had a chance to try it myself. Looks like changes in r31909 broke
> it. The tests are now including gdal.h, yet the GDAL include path isn't
> added to the test compile:
That r31909 change is the backport of http://trac.osgeo.org/grass/changeset/31861
Timestamp: 06/27/08 12:48:11 (1 week ago)
Author: glynn
Message:
Add LOC_CHECK_LINK to allow checking Windows (stdcall) libraries
Change GDAL ODBC checks to handle stdcall
On Sun, Jul 6, 2008 at 8:33 PM, Glynn Clements <glynn@gclements.plus.com> wrote:
Markus Neteler wrote:
On Sun, Jul 6, 2008 at 7:29 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:
> Finally had a chance to try it myself. Looks like changes in r31909 broke
> it. The tests are now including gdal.h, yet the GDAL include path isn't
> added to the test compile:
On Sun, Jul 6, 2008 at 8:33 PM, Glynn Clements <glynn@gclements.plus.com> wrote:
Markus Neteler wrote:
On Sun, Jul 6, 2008 at 7:29 PM, William Kyngesburye
<woklist@kyngchaos.com> wrote:
Finally had a chance to try it myself. Looks like changes in r31909 broke
it. The tests are now including gdal.h, yet the GDAL include path isn't
added to the test compile:
"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."
"Don't you even hate 'em?"
"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."
<Ha, ha> "And it might give 'em all stomach ulcers."