<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I will reply myself once more (and the last time).
I solved the problem with setting the direct path to the bash instead of
$(SHELL) in the line </FONT></DIV>
<DIV><FONT face=Arial size=2>LIBTOOL =
$(SHELL) $(top_builddir)/libtool</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This may help someone else too.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sorry for reposting on the list,</FONT></DIV>
<DIV><FONT face=Arial size=2>Matej</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:matej@matnet.net">matej@matnet.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=matej@matnet.net href="mailto:matej@matnet.net">Matej</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=gdal-dev@lists.osgeo.org
href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, November 13, 2008 1:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [gdal-dev] Problem with
gdal-1.5.3 and FreeBSD 6.2</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have just realized that there is a problem with
shell - I don't know why /bin/sh is used instead of /bin/bash:</FONT></DIV>
<DIV><FONT face=Arial size=2>gmake[1]: Entering directory
`/usr/home/matej/mapserver/gdal-1.5.3/apps'<BR>/bin/sh
/home/matej/mapserver/gdal-1.5.3/libtool --mode=link
g++ gdalinfo.o
\<BR>
/home/matej/mapserver/gdal-1.5.3/libgdal.la -o gdalinfo<BR>libtool_args+=: not
found<BR>compile_command+=: not found<BR>finalize_command+=: not
found<BR>libtool_args+=: not found<BR>libtool_args+=: not
found<BR>compile_command+=: not found<BR>finalize_command+=: not
found<BR>libtool_args+=: not found<BR>compile_command+=: not
found<BR>finalize_command+=: not found<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>If I run it with /bin/bash, it works. Now where
can I set the default shell used in this and other cases?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks, Matej</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:matej@matnet.net">matej@matnet.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=matej@matnet.net href="mailto:matej@matnet.net">Matej</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=gdal-dev@lists.osgeo.org
href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 12, 2008 2:49
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [gdal-dev] Problem with
gdal-1.5.3 and FreeBSD 6.2</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a problem with getting gdal to compile
on FreeBSD 6.2. My problem is exactly the same as the one described here <A
href="http://lists.osgeo.org/pipermail/gdal-dev/2007-November/014763.html">http://lists.osgeo.org/pipermail/gdal-dev/2007-November/014763.html</A>.</FONT></DIV>
<DIV> </DIV>
<DIV>I run configure with:./configure
--with-pg=/usr/local/pgsql/bin/pg_config</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>My configure ouput is</DIV>
<DIV>...</DIV>
<DIV>GDAL is now configured for i386-unknown-freebsd6.2</DIV>
<DIV> </DIV>
<DIV> Installation directory: /usr/local<BR> C
compiler:
gcc -g -O2<BR> C++
compiler:
g++ -g -O2</DIV>
<DIV> </DIV>
<DIV> LIBTOOL
support:
yes</DIV>
<DIV> </DIV>
<DIV> LIBZ
support:
external<BR> GRASS
support:
no<BR> CFITSIO
support:
no<BR> PCRaster
support:
internal<BR> NetCDF
support:
no<BR> LIBPNG
support:
internal<BR> LIBTIFF
support:
internal (BigTIFF=yes)<BR> LIBGEOTIFF
support: internal<BR>
LIBJPEG support:
internal<BR> LIBGIF
support:
internal<BR> OGDI
support:
no<BR> HDF4
support:
no<BR> HDF5
support:
no<BR> Kakadu
support:
no<BR> JasPer
support:
no<BR> ECW
support:
no<BR> MrSID
support:
no<BR> GRIB
support:
no<BR> cURL support (wms/wcs/...):yes<BR> PostgreSQL
support: no<BR> MySQL
support:
no<BR> Xerces-C
support:
no<BR> Expat
support:
yes<BR> ODBC
support:
no<BR> PGeo
support:
no<BR> OCI
support:
no<BR> SDE
support:
no<BR> DODS
support:
no<BR> SQLite
support:
no<BR> DWGdirect
support no<BR>
PANORAMA GIS support: no<BR> INFORMIX
DataBlade support:no<BR> GEOS
support:
yes</DIV>
<DIV> </DIV>
<DIV><BR> Old-gen
python no<BR>
SWIG Bindings:
no</DIV>
<DIV> </DIV>
<DIV> Statically link PROJ.4: no<BR> enable
OGR building: yes<BR> enable
pthread support: no<BR> hide internal
symbols: no</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>When building I get a couple of :not found errors, which look like
these:</DIV>
<DIV>/bin/sh /home/matej/mapserver/gdal-1.5.3/libtool
--mode=link g++ gdalinfo.o
\<BR>
/home/matej/mapserver/gdal-1.5.3/libgdal.la -o gdalinfo<BR>libtool_args+=:
not found<BR>compile_command+=: not found<BR>finalize_command+=: not
found<BR>libtool_args+=: not found<BR>libtool_args+=: not
found<BR>compile_command+=: not found<BR>finalize_command+=: not
found<BR>libtool_args+=: not found<BR>compile_command+=: not
found<BR>finalize_command+=: not found<BR>libtool: link: g++
/home/matej/mapserver/gdal-1.5.3/.libs/libgdal.so -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<BR>/usr/lib/crt1.o(.text+0x72): In function
`_start':<BR>: undefined reference to `main'<BR>gmake[1]: *** [gdalinfo]
Error 1<BR></DIV>
<DIV> </DIV>
<DIV>I can't find any useful idea, I need libtool but I was able to get it
to work long time ago on a FreeBSD 6.2 machine. </DIV>
<DIV> </DIV>
<DIV>I had libtool 1.5 installed and now have 2.2.6, but the error is the
same.</DIV>
<DIV> </DIV>
<DIV>I would be very glad for any help whatsoever,</DIV>
<DIV>thank you in advance, Matej Serc</DIV>
<DIV><A
href="mailto:matej@matnet.net">matej@matnet.net</A></DIV></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>gdal-dev mailing
list<BR>gdal-dev@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/gdal-dev</BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>gdal-dev mailing
list<BR>gdal-dev@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/gdal-dev</BLOCKQUOTE></BODY></HTML>