Opened 15 years ago
Closed 13 years ago
#3074 closed defect (fixed)
GDAL compilation woes on FreeBSD
Reported by: | kiorky | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | kiorky@… |
Description
Weither the autotools you have on your freebsd, gdal may not compile at all. See on : http://www.mail-archive.com/gdal-dev@lists.osgeo.org/msg01186.html and useless to say that i reproduced it on a freebsd7 stable. I think it's an autotools issue but i do not understand why $(SHELL)fails toi expand afterall. I made some crappy patch to allow compilation with minitage as i know the target env. will have bash. Here is the patch: http://git.minitage.org/git/minitage/buildouts/dependencies/gdal-1.6.0/tree/sh.patch
Change History (8)
comment:1 by , 15 years ago
Summary: | SVN main trunk compilation woes on FreeBSD → GDAL compilation woes on FreeBSD |
---|
comment:2 by , 15 years ago
comment:3 by , 15 years ago
oups wiki formating:
chmod a+x gdal-config /bin/sh /usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/libtool --mode=compile --tag=CC gcc -I/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/include -I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/include -I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/include -Wall -Wdeclaration-after-statement -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/port -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/gcore -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/alg -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/ogr -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/ogr/ogrsf_frmts -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/frmts -DOGR_ENABLED -I/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/include -I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/include -I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/port -I -I/include -c -o gdalinfo.lo gdalinfo.c libtool: compile: gcc -I/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/include -I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/include -I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/include -Wall -Wdeclaration-after-statement -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/port -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/gcore -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/alg -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/ogr -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/ogr/ogrsf_frmts -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/frmts -DOGR_ENABLED -I/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/include -I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/include -I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/port -I -I/include -c gdalinfo.c -fPIC -DPIC -o .libs/gdalinfo.o libtool: compile: gcc -I/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/include -I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/include -I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/include -Wall -Wdeclaration-after-statement -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/port -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/gcore -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/alg -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/ogr -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/ogr/ogrsf_frmts -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/frmts -DOGR_ENABLED -I/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/include -I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/include -I/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/include -I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -I/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/include -I/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/include -I/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/include -I/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/port -I -I/include -c gdalinfo.c -fPIC -DPIC -o gdalinfo.o >/dev/null 2>&1 /bin/sh /usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/libtool --mode=link g++ -L/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/gdal-1.6/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/gdal-1.6/parts/part/lib gdalinfo.lo /usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/libgdal.la /usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/libgdal.la -o gdalinfo libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libobjs+=: not found non_pic_objects+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found libtool_args+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool_args+=: not found compile_command+=: not found finalize_command+=: not found libtool: link: g++ -L/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/postgis-1.3/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/postgresql-8.3/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/proj-4.6/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/geotiff-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/doxygen-1.5/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/gdal-1.6/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/gdal-1.6/../../dependencies/expat-2.0/parts/part/lib/lib -L/usr/home/kiorky/minitage/dependencies/libidn-1.8/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/ncurses-5.6/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/libssh2-1.0/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/openssl-0.9/../zlib-1.2/parts/part/lib -L/usr/home/kiorky/minitage/dependencies/openssl-0.9/../ncurses-5.6/parts/part/lib /usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/.libs/libgdal.so /usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/lib/libgeos_c.so /usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/lib/libgeos.so /usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/lib/libsqlite3.so -lpthread /usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/lib/libexpat.so /usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/lib/libjasper.so /usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/lib/libgif.so -lgeotiff /usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/lib/libtiff.so /usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/lib/libjpeg.so /usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/lib/libpng12.so -lm -lpq -lrt /usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/lib/libcurl.so /usr/home/kiorky/minitage/dependencies/libidn-1.8/parts/part/lib/libidn.so /usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/lib/libiconv.so /usr/home/kiorky/minitage/dependencies/libssh2-1.0/parts/part/lib/libssh2.so -lssl -lcrypto -lz -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/gdal-1.6/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/geos-3.0/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/sqlite-3.5/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/jasper-1.900/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libgif-1.4/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libtiff-3.8/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libjpeg-7/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libpng-1.2/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/curl-7.19/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libidn-1.8/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libiconv-1.12/parts/part/lib -Wl,-rpath -Wl,/usr/home/kiorky/minitage/dependencies/libssh2-1.0/parts/part/lib /usr/lib/crt1.o(.text+0x81): In function `_start': : undefined reference to `main' gmake[1]: *** [gdalinfo] Error 1 gmake[1]: Leaving directory `/usr/home/kiorky/minitage/dependencies/gdal-1.6/__minitage__part__tmp/gdal-1.6.1/apps' gmake: *** [apps-target] Error 2 While:
comment:4 by , 15 years ago
Priority: | high → normal |
---|---|
Severity: | blocker → normal |
libtool buidling works for me with unpatched GDAL trunk on a PC-BSD 7.1 virtual machine image, which is a slight variation of standard FreeBSD I believe
$ uname -a FreeBSD pcbsd 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #10: Wed Apr 1 10:14:22 EDT 2009 root@pcbsdx32-7:/usr/obj/pcbsd-build71/cvs/7.1-src/sys/PCBSD i386
$ echo $SHELL /PCBSD/local/bin/bash
Anyway, libtool is a pain, you should avoid using it unless you really need it. You could try --without-libtool.
comment:5 by , 15 years ago
OK, so your problem is to reproduce the bug, isn't it? The bug can be easyly fix i think with a more portable version of the given configure diff. The problem occurs when building gdal inside 'minitage' which is a package manager which allows you to build isolated environments. So, You can reproduce it with minitage, i can help you to reproduce the bug with it. You ll just have to remove the workarond i put to make the compilation pass :).
Maybe are you on irc, somewhere, it will be easier to speak.
comment:6 by , 15 years ago
To be honest, I've no strong interest/knowledge in that platform. If you could find the reason why it fails and come with a better patch, we could apply it of course. Perhaps it is a bug in that minitage environment that doesn't define the SHELL variable ? Perhaps minitage mainteners would have a clue. You shouldn't patch 'configure' directly, but 'configure.in' instead, as configure is regenerated from configure.in with autoconf. And I think testing only for 'FreeBSD' is not specific enough if it is just happening in minitage.
comment:7 by , 15 years ago
I am the minitage creator/maintener.
The bug only occurs on freebsd. It didnt occur on macosx leopard and on linux.
The shell variable is defined and the target is /usr/local/bin/bash, and this is where i don't understand the bug :).
Of course for the configure.in, but there, i am in the context of the execution, so i don't regenerate it. That's why the patched file is directly the "configure" script.
comment:8 by , 13 years ago
Milestone: | 1.6.4 → 1.9.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I think this should be fixed by ticket #4102 : the $SHELL variable should now be substituated at ./configure time
I ve forgotten to post the useful trace output:
gdalinfo.o \
-L/usr/local/lib /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so /usr/local/lib/libexpat.so /usr/local/lib/libcurl.so -lssl -lcrypto -lz -Wl,-rpath -Wl,/usr/local/lib