Re: Libtool library used but 'LIBTOOL' is undefined
I am not sure I understand you; Here http://www.mesa3d.org/install.htmlthey say to install in the standard way: configure-make-make install. In the attachment you can find all stderr and stdout from configure and make. configure step is ok while I receive errors during make step. On Sat, Sep 21, 2013 at 5:15 PM, Robert Boehne wrote: > Mesa > On Sep 21, 2013 1:21 AM, "Giuseppe Aprea" > wrote: > >> Thanks for your answer but I am not sure I understand it. Are you talking >> about libtool, automake or mesalib installation? >> >> The file I attached is given by configure+make. More in detail, the >> configure works fine while the make steps gives an error. >> >> g >> >> >> On Fri, Sep 20, 2013 at 6:50 PM, Robert Boehne wrote: >> >>> 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" >>> 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's search 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'ssearch 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 see
Re: Libtool library used but 'LIBTOOL' is undefined
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" 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
Re: Libtool library used but `LIBTOOL' is undefined??
Dear Bob, It works! Yes I reinstalled automake and libtool with command './configure --prefix=/usr/local' to the same directory, then the problem is solved. Thanks a lot! Cheers, Oliver Bob Friesenhahn wrote: > > On Tue, 4 Jan 2011, kknd1233 wrote: >> >> And then when I run the command 'autoreconf --install', it said an error >> message like >> " >> lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined >> lib/Makefile.am:1: The usual way to define `LIBTOOL' is to add >> `AC_PROG_LIBTOOL' >> lib/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' >> again. >> lib/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure >> lib/Makefile.am:1: its definition is in aclocal's search path. >> " >> Could anybody please advise me how to fix the problem and run my little >> toy >> code?? Thank you! > > It seems that the error message has provided instructions for exactly > what to do. I suggest that you do it. It is very rare that error > messages tell you what to do. > > Bob > -- > Bob Friesenhahn > bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ > > ___ > http://lists.gnu.org/mailman/listinfo/libtool > > -- View this message in context: http://old.nabble.com/Libtool-library-used-but-%60LIBTOOL%27-is-undefined---tp30591521p30640633.html Sent from the Gnu - Libtool - Discuss mailing list archive at Nabble.com. ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Libtool library used but `LIBTOOL' is undefined??
Hello, * kknd1233 wrote on Wed, Jan 05, 2011 at 12:14:20AM CET: > And then when I run the command 'autoreconf --install', it said an error > message like > " > lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined > lib/Makefile.am:1: The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' > lib/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' > again. > lib/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure > lib/Makefile.am:1: its definition is in aclocal's search path. > " (LT_INIT is a synonym of AC_PROG_LIBTOOL.) I presume your Automake and your Libtool are not installed below the same prefix, thus aclocal doesn't find the Libtool macros to install. One solution is to install both below the same prefix; or write a dirlist file in $automake_prefix/share/aclocal with a line containing $libtool_prefix/share/aclocal. Or the error has a different reason, in which case please post output of autoreconf --verbose --install Hope that helps. Cheers, Ralf ___ http://lists.gnu.org/mailman/listinfo/libtool
Re: Libtool library used but `LIBTOOL' is undefined??
On Tue, 4 Jan 2011, kknd1233 wrote: And then when I run the command 'autoreconf --install', it said an error message like " lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined lib/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' lib/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. lib/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure lib/Makefile.am:1: its definition is in aclocal's search path. " Could anybody please advise me how to fix the problem and run my little toy code?? Thank you! It seems that the error message has provided instructions for exactly what to do. I suggest that you do it. It is very rare that error messages tell you what to do. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ http://lists.gnu.org/mailman/listinfo/libtool