You seem to have mismatched bits of Makefiles and configure. To install, you should simply unpack a tar ball and run configure. It looks like you have regenerated some of these things on an inconsistent way.
HTH, Robert Boehne On Sep 20, 2013 10:35 AM, "Giuseppe Aprea" <giuseppe.ap...@gmail.com> wrote: > Hi all, > > I have a problem during mesalib installation which seems connected with > libtool. I guess the problem may be due to my environment since I have > automake and libtool installed in non-standard places. > > libtool is under ${GLOBAL_PREFIX}/libtool/${LIBTOOL_VERSION}/ > (version=2.4.2) > automake is under ${GLOBAL_PREFIX}/automake/${AUTOMAKE_VERSION} > (version=1.12.6) > pkg-config is under ${GLOBAL_PREFIX}/pkg-config/${PKGCONFIG_VERSION} > (version=0.28) > > trying to install mesalib under ${GLOBAL_PREFIX}/mesalib/${MESALIB_VERSION}, > during make I receive lots of errors like: > > src/mesa/drivers/dri/radeon/Makefile.am:42: The usual way to define > 'LIBTOOL' is to add 'LT_INIT' > src/mesa/drivers/dri/radeon/Makefile.am:42: to 'configure.ac' and run > 'aclocal' and 'autoconf' again. > src/mesa/drivers/dri/radeon/Makefile.am:42: If 'LT_INIT' is in ' > configure.ac', make sure > src/mesa/drivers/dri/radeon/Makefile.am:42: its definition is in > aclocal's search path. > src/mesa/drivers/dri/swrast/Makefile.am:39: error: Libtool library used > but 'LIBTOOL' is undefined > src/mesa/drivers/dri/swrast/Makefile.am:39: The usual way to define > 'LIBTOOL' is to add 'LT_INIT' > src/mesa/drivers/dri/swrast/Makefile.am:39: to 'configure.ac' and run > 'aclocal' and 'autoconf' again. > src/mesa/drivers/dri/swrast/Makefile.am:39: If 'LT_INIT' is in ' > configure.ac', make sure > src/mesa/drivers/dri/swrast/Makefile.am:39: its definition is in > aclocal's search path. > src/mesa/drivers/osmesa/Makefile.am:35: error: Libtool library used but > 'LIBTOOL' is undefined > src/mesa/drivers/osmesa/Makefile.am:35: The usual way to define > 'LIBTOOL' is to add 'LT_INIT' > src/mesa/drivers/osmesa/Makefile.am:35: to 'configure.ac' and run > 'aclocal' and 'autoconf' again. > src/mesa/drivers/osmesa/Makefile.am:35: If 'LT_INIT' is in 'configure.ac', > make sure > src/mesa/drivers/osmesa/Makefile.am:35: its definition is in > aclocal'ssearch path. > src/mesa/drivers/x11/Makefile.am:35: error: Libtool library used but > 'LIBTOOL' is undefined > src/mesa/drivers/x11/Makefile.am:35: The usual way to define 'LIBTOOL' > is to add 'LT_INIT' > src/mesa/drivers/x11/Makefile.am:35: to 'configure.ac' and run > 'aclocal' and 'autoconf' again. > src/mesa/drivers/x11/Makefile.am:35: If 'LT_INIT' is in 'configure.ac', > make sure > src/mesa/drivers/x11/Makefile.am:35: its definition is in aclocal'ssearch > path. > src/mesa/libdricore/Makefile.am:68: error: Libtool library used but > 'LIBTOOL' is undefined > src/mesa/libdricore/Makefile.am:68: The usual way to define 'LIBTOOL' > is to add 'LT_INIT' > src/mesa/libdricore/Makefile.am:68: to 'configure.ac' and run 'aclocal' > and 'autoconf' again. > src/mesa/libdricore/Makefile.am:68: If 'LT_INIT' is in 'configure.ac', > make sure > src/mesa/libdricore/Makefile.am:68: its definition is in aclocal'ssearch > path. > src/mesa/program/Makefile.am:41: error: Libtool library used but > 'LIBTOOL' is undefined > src/mesa/program/Makefile.am:41: The usual way to define 'LIBTOOL' is > to add 'LT_INIT' > src/mesa/program/Makefile.am:41: to 'configure.ac' and run 'aclocal' > and 'autoconf' again. > src/mesa/program/Makefile.am:41: If 'LT_INIT' is in 'configure.ac', > make sure > src/mesa/program/Makefile.am:41: its definition is in aclocal's search > path. > > I am working on a cluster where i am supposed to install my stuff as > non-root so I am forced to install in non-standard paths.I defined ACLOCAL > ="aclocal -I${GLOBAL_PREFIX}/pkg-config/${PKGCONFIG_VERSION}/share/aclocal" > and then run configure and make; complete output is in attachment. > > It seems I need to define LT_INIT in configure.ac but it is already > defined (from configure.ac in root meslib src folder): > > LT_PREREQ([2.2]) > LT_INIT([disable-static]) > > I also tried to set LIBTOOL=${GLOBAL_PREFIX}/libtool/${LIBTOOL > _VERSION}/bin/libtool but it didn't help. > I would like to ask if anyone can give me any help, please. > > Any suggestion is welcome! > > Thanks in advance. > > > > > > > > _______________________________________________ > https://lists.gnu.org/mailman/listinfo/libtool > >
_______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool