<!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>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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&nbsp;&nbsp;&nbsp; g++&nbsp; 
gdalinfo.o&nbsp; 
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
/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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
  <DIV>I run configure with:./configure 
  --with-pg=/usr/local/pgsql/bin/pg_config</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>My configure ouput is</DIV>
  <DIV>...</DIV>
  <DIV>GDAL is now configured for i386-unknown-freebsd6.2</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; Installation directory:&nbsp;&nbsp;&nbsp; /usr/local<BR>&nbsp; C 
  compiler:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  gcc -g -O2<BR>&nbsp; C++ 
  compiler:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  g++ -g -O2</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; LIBTOOL 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; LIBZ 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  external<BR>&nbsp; GRASS 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; CFITSIO 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; PCRaster 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  internal<BR>&nbsp; NetCDF 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; LIBPNG 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  internal<BR>&nbsp; LIBTIFF 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal 
  (BigTIFF=yes)<BR>&nbsp; LIBGEOTIFF 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal<BR>&nbsp; LIBJPEG 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  internal<BR>&nbsp; LIBGIF 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  internal<BR>&nbsp; OGDI 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; HDF4 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; HDF5 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; Kakadu 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; JasPer 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; ECW 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; MrSID 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; GRIB 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; cURL support (wms/wcs/...):yes<BR>&nbsp; PostgreSQL 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<BR>&nbsp; MySQL 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; Xerces-C 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; Expat 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  yes<BR>&nbsp; ODBC 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; PGeo 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; OCI 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; SDE 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; DODS 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; SQLite 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  no<BR>&nbsp; DWGdirect 
  support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<BR>&nbsp; 
  PANORAMA GIS support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<BR>&nbsp; INFORMIX 
  DataBlade support:no<BR>&nbsp; GEOS 
  support:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  yes</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><BR>&nbsp; Old-gen 
  python&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<BR>&nbsp; SWIG 
  Bindings:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; Statically link PROJ.4:&nbsp;&nbsp;&nbsp; no<BR>&nbsp; enable OGR 
  building:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<BR>&nbsp; enable pthread 
  support:&nbsp;&nbsp;&nbsp; no<BR>&nbsp; hide internal 
  symbols:&nbsp;&nbsp;&nbsp;&nbsp; no</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</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&nbsp;&nbsp;&nbsp; g++&nbsp; gdalinfo.o&nbsp; 
  \<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  /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++&nbsp; 
  /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>&nbsp;</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.&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I had libtool 1.5 installed and now have 2.2.6, but the error is the 
  same.</DIV>
  <DIV>&nbsp;</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></BODY></HTML>