|
From: | Giuseppe Aprea |
Subject: | Re: Libtool library used but 'LIBTOOL' is undefined |
Date: | Mon, 23 Sep 2013 10:26:04 +0200 |
Mesa
On Sep 21, 2013 1:21 AM, "Giuseppe Aprea" <address@hidden> wrote:gThanks 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.
On Fri, Sep 20, 2013 at 6:50 PM, Robert Boehne <address@hidden> 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" <address@hidden> wrote:
_______________________________________________It seems I need to define LT_INIT in configure.ac but it is already defined (from configure.ac in root meslib src folder):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.trying to install mesalib under ${GLOBAL_PREFIX}/mesalib/${MESALIB_VERSION}, during make I receive lots of errors like:pkg-config is under ${GLOBAL_PREFIX}/pkg-config/${PKGCONFIG_VERSION} (version=0.28)automake is under ${GLOBAL_PREFIX}/automake/${AUTOMAKE_VERSION} (version=1.12.6)libtool is under ${GLOBAL_PREFIX}/libtool/${LIBTOOL_VERSION}/ (version=2.4.2)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.
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's search 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's search 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.
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
mylog.bz2
Description: BZip2 compressed data
[Prev in Thread] | Current Thread | [Next in Thread] |