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 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 - warnings when installing GMP using DESTDIR

2013-09-23 Thread Michael Young

Thanks, Richard.

I realize that there are "off-the-shelf" build tools available - open 
source and

otherwise.  (There are also prebuilt toolchains available for many
architectures.)  Ultimately, I probably will move to using one, and I'll 
keep

Yocto/Poky in mind.  Right now, I'm doing things "the hard way", mainly as a
learning exercise.

Thanks again,
   Michael

___
https://lists.gnu.org/mailman/listinfo/libtool


Re: libtool - warnings when installing GMP using DESTDIR

2013-09-23 Thread Michael Young

Thanks for the reply, Robert.

On to a question about the second warning...

What does "libtool --finish" actually do?
I've looked at the libtool manual 
(http://www.gnu.org/software/libtool/manual/html_node/Finish-mode.html#Finish-mode).

Right now, I'm questioning the first usage mentioned, since that's what the
warning directs me to do (i.e., libtool --finish ). The manual says
the finish operation is to "help system administrators install libtool 
libraries
so that they can be located and linked into user programs".  That's a 
bit vague
 - I'm guessing that it's because libtool may do different things on 
different

platforms.

I'm running on libtool 2.4.2 on Ubuntu 12.04.

However... from what I can tell, "libtool --finish" doesn't really do 
anything

on this platform, even when running it as a superuser (via sudo).

Here's the items I've checked (and don't seem to change with the finish
operation):

LD_LIBRARY_PATH
/etc/ld.so.conf or its includes
/etc/ld.so.cache
the libraries themselves (DT_RPATH, DT_RUNPATH, or anything else)
libtool control (.la) files for the libraries

The output from "libtool --finish" suggests that "ldconfig -n" is run, 
but I see

no evidence of that.

Am I missing something?

Thanks,
   Michael

___
https://lists.gnu.org/mailman/listinfo/libtool


Re: libtool - warnings when installing GMP using DESTDIR

2013-09-23 Thread Michael Young

It just dawned on me... is it that the output from the finish operation the
"help" that the manual refers to?  And the ldconfig -n command in the 
output a
suggested command to be run by the SA in order to create the appropriate 
links?


If so, I apologize for being a bit slow on the uptake... just let me 
know and

chalk it up to SUE.

Thanks,
   Michael

___
https://lists.gnu.org/mailman/listinfo/libtool