<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
With Sandro's modification to autogen.sh, the configure step now works
without an error.<br>
<br>
Note that I am getting a similar configure error while building the
postgis trunk, maybe it needs the same modification?<br>
<br>
- Tyler<br>
<br>
<br>
taericks@latituded830b:postgis-trunk$ ./configure
--prefix=/usr/local/postgis/trunk --datadir=$PG_SHARE
--with-geosconfig=/usr/local/geos/3.0.0/bin/geos-config<br>
checking build system type... i686-pc-linux-gnu<br>
checking host system type... i686-pc-linux-gnu<br>
checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>
checking for suffix of executables... <br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking for a sed that does not truncate output... /bin/sed<br>
checking for grep that handles long lines and -e... /bin/grep<br>
checking for egrep... /bin/grep -E<br>
checking for fgrep... /bin/grep -F<br>
checking for ld used by gcc... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>
checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>
checking whether ln -s works... yes<br>
checking the maximum length of command line arguments... 1572864<br>
checking whether the shell understands some XSI constructs... yes<br>
checking whether the shell understands "+="... yes<br>
checking for /usr/bin/ld option to reload object files... -r<br>
checking how to recognize dependent libraries... pass_all<br>
checking for ar... ar<br>
checking for strip... strip<br>
checking for ranlib... ranlib<br>
checking command to parse /usr/bin/nm -B output from gcc object... ok<br>
checking how to run the C preprocessor... gcc -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking for dlfcn.h... yes<br>
checking for objdir... .libs<br>
checking if gcc supports -fno-rtti -fno-exceptions... no<br>
checking for gcc option to produce PIC... -fPIC -DPIC<br>
checking if gcc PIC flag -fPIC -DPIC works... yes<br>
checking if gcc static flag -static works... yes<br>
checking if gcc supports -c -o file.o... yes<br>
checking if gcc supports -c -o file.o... (cached) yes<br>
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes<br>
checking whether -lc should be explicitly linked in... no<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking whether stripping libraries is possible... yes<br>
checking if libtool supports shared libraries... yes<br>
checking whether to build shared libraries... yes<br>
checking whether to build static libraries... yes<br>
checking for gcc... (cached) gcc<br>
checking whether we are using the GNU C compiler... (cached) yes<br>
checking whether gcc accepts -g... (cached) yes<br>
checking for gcc option to accept ISO C89... (cached) none needed<br>
checking how to run the C preprocessor... gcc -E<br>
checking for g++... g++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>
checking whether we are using the GNU C++ compiler... (cached) yes<br>
checking whether g++ accepts -g... (cached) yes<br>
checking how to run the C++ preprocessor... g++ -E<br>
checking for ld used by g++... /usr/bin/ld<br>
checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes<br>
checking for g++ option to produce PIC... -fPIC -DPIC<br>
checking if g++ PIC flag -fPIC -DPIC works... yes<br>
checking if g++ static flag -static works... yes<br>
checking if g++ supports -c -o file.o... yes<br>
checking if g++ supports -c -o file.o... (cached) yes<br>
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>
checking how to hardcode library paths into programs... immediate<br>
checking if g++ supports -Wall... yes<br>
checking if g++ supports -Wmissing-prototypes... (cached) yes<br>
checking for flex... flex<br>
checking lex output file root... lex.yy<br>
checking lex library... -lfl<br>
checking whether yytext is a pointer... yes<br>
checking for bison... bison -y<br>
checking for xsltproc... /usr/bin/xsltproc<br>
checking for db2pdf... /usr/bin/db2pdf<br>
checking for dblatex... /usr/bin/dblatex<br>
configure: WARNING: could not locate Docbook stylesheets required to
build the documentation<br>
checking CUnit/CUnit.h usability... no<br>
checking CUnit/CUnit.h presence... no<br>
checking for CUnit/CUnit.h... no<br>
configure: WARNING: could not locate CUnit required for liblwgeom unit
tests<br>
checking iconv.h usability... yes<br>
checking iconv.h presence... yes<br>
checking for iconv.h... yes<br>
checking for libiconv_open in -liconv... no<br>
checking for iconv_open in -lc... yes<br>
checking for pg_config... /usr/bin/pg_config<br>
checking libpq-fe.h usability... yes<br>
checking libpq-fe.h presence... yes<br>
checking for libpq-fe.h... yes<br>
checking for PQserverVersion in -lpq... yes<br>
Using user-specified geos-config file:
/usr/local/geos/3.0.0/bin/geos-config<br>
checking geos_c.h usability... yes<br>
checking geos_c.h presence... yes<br>
checking for geos_c.h... yes<br>
checking for initGEOS in -lgeos_c... yes<br>
checking proj_api.h usability... yes<br>
checking proj_api.h presence... yes<br>
checking for proj_api.h... yes<br>
checking for pj_get_release in -lproj... yes<br>
configure: creating ./config.status<br>
config.status: creating liblwgeom/Makefile<br>
config.status: creating liblwgeom/cunit/Makefile<br>
config.status: creating postgis/Makefile<br>
config.status: creating postgis/sqldefines.h<br>
config.status: creating loader/Makefile<br>
config.status: creating topology/Makefile<br>
config.status: creating regress/Makefile<br>
config.status: creating doc/Makefile<br>
config.status: creating postgis_config.h<br>
config.status: executing libtool commands<br>
sed: can't read ./ltmain.sh: No such file or directory<br>
sed: can't read ./ltmain.sh: No such file or directory<br>
mv: cannot stat `libtoolT': No such file or directory<br>
cp: cannot stat `libtoolT': No such file or directory<br>
chmod: cannot access `libtool': No such file or directory<br>
taericks@latituded830b:postgis-trunk$ svn update<br>
At revision 3788.<br>
taericks@latituded830b:postgis-trunk$ <br>
<br>
<br>
<br>
Mateusz Loskot wrote:
<blockquote
 cite="mid:38D7001B29E62F469A4CB27B323584EF21DAFF@dev011_ex.Dev.cadcorp.net"
 type="cite">
  <pre wrap="">strk wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Tue, Mar 03, 2009 at 04:02:53PM -0000, Mateusz Loskot wrote:

    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">(1) Why would my build look for ltmain.sh (since strk indicated
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">that
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">the build script doesn't use libtool) ?
        </pre>
      </blockquote>
      <pre wrap="">Sandro, so what is the libtool stuff checked for, in configure.ac?
      </pre>
    </blockquote>
    <pre wrap="">Overlooked that, it seems libtool is used to figure PIC flags.
I committed a modified autogen.sh adding the final libtoolize call.
Works for me. ltmain.sh here (Ubuntu 8.10 too) is created by
the libtoolize call as a symlink.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Sandro, thanks. The fix works for me.

--
Mateusz Loskot
Senior Programmer, Cadcorp
<a class="moz-txt-link-freetext" href="http://www.cadcorp.com">http://www.cadcorp.com</a>
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
postgis-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Tyler A. Erickson, Ph.D.
Research Scientist, Michigan Tech Research Institute, and 
Adjunct Assistant Professor, Dept. of Civil & Environmental Engineering
Michigan Technological University
3600 Green Court, Suite 100
Ann Arbor, MI 48105
W 83.6889°, N 42.3021° (WGS84) 
<a class="moz-txt-link-abbreviated" href="mailto:tyler.erickson@mtu.edu">tyler.erickson@mtu.edu</a> 
(734) 913-6846
<a class="moz-txt-link-freetext" href="http://people.mtri.org/tyler+erickson">http://people.mtri.org/tyler+erickson</a>
<a class="moz-txt-link-freetext" href="http://www.mtri.org">http://www.mtri.org</a>
<a class="moz-txt-link-freetext" href="http://www.michiganview.org">http://www.michiganview.org</a>
</pre>
</body>
</html>