[geos-devel] automake problems

Paul Ramsey pramsey at refractions.net
Mon Aug 18 15:13:26 EDT 2003


For redhat, I ended up deleting the stock versions of automake and 
autoconf and compiling from source. Worked much better after that.
Paul

Todd Vollmer wrote:

> I have the most recent cvs update. I am having problems with the 
> compile. It starts upon running autogen.sh. Here is the error
> 
> Linux RH 7.2 (2.4.19)
> gcc 2.96
> 
> 
>  >Running aclocal
>  >Running automake
>  >source/geom/Makefile.am:6: Libtool library used but `LIBTOOL' is 
> undefined
>  >source/geom/Makefile.am:6:
>  >source/geom/Makefile.am:6: The usual way to define `LIBTOOL' is to add 
> `AC_PROG_LIBTOOL'
>  >source/geom/Makefile.am:6: to `configure.in' and run `aclocal' and 
> `autoconf' again.
>  >Running autoconf
>  >configure.in:16: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
>  >     If this token and others are legitimate, please use 
> m4_pattern_allow.
>  >     See the Autoconf documentation.
>  >configure.in:17: error: possibly undefined macro: AC_PROG_LIBTOOL
>  >======================================
>  >Now you are ready to run './configure'
>  >======================================
> 
> running automake by hand I get.
> aclocal (GNU automake) 1.7.6
> 
>  >automake: reading /usr/local/share/automake-1.7/am/configure.am
>  >automake: reading /usr/local/share/automake-1.7/am/ltlib.am
>  >source/geom/Makefile.am:6: Libtool library used but `LIBTOOL' is 
> undefined
>  >source/geom/Makefile.am:6:
>  >source/geom/Makefile.am:6: The usual way to define `LIBTOOL' is to add 
> `AC_PROG_LIBTOOL'
>  >source/geom/Makefile.am:6: to `configure.in' and run `aclocal' and 
> `autoconf' again.
>  >automake: reading /usr/local/share/automake-1.7/am/ltlibrary.am
> 
> 
> I see that AC_PROG_LIBTOOL is defined in configure.in. Any body have any 
> clues? My first post here so please forgive any transgressions. If I 
> ignore the errors and proceed to configure/build I get:
> 
>  >Making all in source
>  >make[1]: Entering directory `/home/tvollmer/Src/geos/source'
>  >Making all in geom
>  >make[2]: Entering directory `/home/tvollmer/Src/geos/source/geom'
>  >make[2]: *** No rule to make target `BasicCoordinateList.lo', needed 
> by `libgeos.la'.  Stop.
>  >make[2]: Leaving directory `/home/tvollmer/Src/geos/source/geom'
>  >make[1]: *** [all-recursive] Error 1
>  >make[1]: Leaving directory `/home/tvollmer/Src/geos/source'
>  >make: *** [all-recursive] Error 1
> 
> Todd Vollmer (tvollmer at digitalglobe.com)
> 


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the geos-devel mailing list