Re: Libtool library used but 'LIBTOOL' is undefined

2013-09-23 Thread Giuseppe Aprea
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

Libtool library used but 'LIBTOOL' is undefined

2013-09-20 Thread Giuseppe Aprea
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'ssearch 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'ssearch 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'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.

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.


mylog.bz2
Description: BZip2 compressed data
___
https://lists.gnu.org/mailman/listinfo/libtool