<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>I have a problem during <span>mesalib</span> installation which seems connected with <span>libtool</span>. I guess the problem may be due to my environment since I have <span>automake</span> and <span>libtool</span> installed in non-standard places.<br>
<br></div><span>libtool</span> is under ${GLOBAL_PREFIX}/<span>libtool</span>/${<span>LIBTOOL</span>_VERSION}/ (version=2.4.2)<br></div><span>automake</span> is under ${GLOBAL_PREFIX}/<span>automake</span>/${<span>AUTOMAKE</span>_VERSION} (version=1.12.6)</div>
pkg-<span>config</span> is under ${GLOBAL_PREFIX}/pkg-<span>config</span>/${<span>PKGCONFIG</span>_VERSION} (version=0.28)<br><br></div>trying to install <span>mesalib</span> under ${GLOBAL_PREFIX}/<span>mesalib</span>/${<span>MESALIB</span>_VERSION}, during make (after successful configure) I receive lots of errors like:<br>
<br><span>src</span>/mesa/drivers/<span>dri</span>/<span>radeon</span>/<span>Makefile</span>.am:42: The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>radeon</span>/<span>Makefile</span>.am:42: to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>radeon</span>/<span>Makefile</span>.am:42: If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>radeon</span>/<span>Makefile</span>.am:42: its definition is in <span>aclocal's</span> search path.<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>swrast</span>/<span>Makefile</span>.am:39: error: <span>Libtool</span> library used but 'LIBTOOL' is undefined<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>swrast</span>/<span>Makefile</span>.am:39: The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>swrast</span>/<span>Makefile</span>.am:39: to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>swrast</span>/<span>Makefile</span>.am:39: If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br>
<span>src</span>/mesa/drivers/<span>dri</span>/<span>swrast</span>/<span>Makefile</span>.am:39: its definition is in <span>aclocal's</span> search path.<br>
<span>src</span>/mesa/drivers/<span>osmesa</span>/<span>Makefile</span>.am:35: error: <span>Libtool</span> library used but 'LIBTOOL' is undefined<br><span>src</span>/mesa/drivers/<span>osmesa</span>/<span>Makefile</span>.am:35: The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>
<span>src</span>/mesa/drivers/<span>osmesa</span>/<span>Makefile</span>.am:35: to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>
<span>src</span>/mesa/drivers/<span>osmesa</span>/<span>Makefile</span>.am:35: If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br>
<span>src</span>/mesa/drivers/<span>osmesa</span>/<span>Makefile</span>.am:35: its definition is in <span>aclocal's</span> search path.<br><span>src</span>/mesa/drivers/x11/<span>Makefile</span>.am:35: error: <span>Libtool</span> library used but 'LIBTOOL' is undefined<br>
<span>src</span>/mesa/drivers/x11/<span>Makefile</span>.am:35: The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br><span>src</span>/mesa/drivers/x11/<span>Makefile</span>.am:35: to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>
<span>src</span>/mesa/drivers/x11/<span>Makefile</span>.am:35: If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br><span>src</span>/mesa/drivers/x11/<span>Makefile</span>.am:35: its definition is in <span>aclocal's</span> search path.<br>
<span>src</span>/mesa/<span>libdricore</span>/<span>Makefile</span>.am:68: error: <span>Libtool</span> library used but 'LIBTOOL' is undefined<br><span>src</span>/mesa/<span>libdricore</span>/<span>Makefile</span>.am:68: The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>
<span>src</span>/mesa/<span>libdricore</span>/<span>Makefile</span>.am:68: to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br>
<span>src</span>/mesa/<span>libdricore</span>/<span>Makefile</span>.am:68: If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br><span>src</span>/mesa/<span>libdricore</span>/<span>Makefile</span>.am:68: its definition is in <span>aclocal's</span> search path.<br>
<span>src</span>/mesa/program/<span>Makefile</span>.am:41: error: <span>Libtool</span> library used but 'LIBTOOL' is undefined<br><span>src</span>/mesa/program/<span>Makefile</span>.am:41: The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br>
<span>src</span>/mesa/program/<span>Makefile</span>.am:41: to '<a href="http://configure.ac" target="_blank">configure.ac</a>' and run 'aclocal' and 'autoconf' again.<br><span>src</span>/mesa/program/<span>Makefile</span>.am:41: If 'LT_INIT' is in '<a href="http://configure.ac" target="_blank">configure.ac</a>', make sure<br>
<span>src</span>/mesa/program/<span>Makefile</span>.am:41: its definition is in <span>aclocal's</span> search path.<br><br></div>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 <span>ACLOCAL</span>="<span>aclocal</span> -I${GLOBAL_PREFIX}/pkg-<span>config</span>/${<span>PKGCONFIG</span>_VERSION}/share/<span>aclocal</span>" and then run configure and make; complete output is in attachment. <br>
<br></div>It seems I need to define LT_<span>INIT</span> in <a href="http://configure.ac" target="_blank">configure.ac</a> but it is already defined (from <a href="http://configure.ac" target="_blank">configure.ac</a> in root <span>meslib</span> <span>src</span> folder):<br>
<div><div><div><br>LT_<span>PREREQ</span>([2.2])<br>LT_<span>INIT</span>([disable-static])<br><br></div><div>I also tried to set <span>LIBTOOL</span>=${GLOBAL_PREFIX}/<span>libtool</span>/${<span>LIBTOOL</span>_VERSION}/bin/<span>libtool</span> but it didn't help.<br>
</div><div>I would like to ask if anyone can give me any help, please.<br><br>Any suggestion is welcome!<br><br></div><div>Thanks in advance.</div></div></div></div>