[CentOS] Bug in CentOS Autotools
Ljubomir Ljubojevic
office at plnet.rs
Fri Jul 8 18:52:32 UTC 2011
Lars Hecking wrote:
>
>> Thanks for trying this. Unfortunately, the error occurs after the
>> configure script complains about not finding liblouis. I have liblouis
>> compiled, of course, and I have adjusted the PKG_CONFIG_PATH Configure
>> then tries to make the Makefile and produces the wrird error message. I
>> think nobody will have the time to look into this, so i'll just move to
>> another distro for C development.
>
> I have found the problem, and liblouisutdml does actually build fine.
>
> The environment is not the problem, but the source files.
>
I tried to recompile it from Fedora 15 srpm (on CentOS 5.5 so far) and
it gave me following error:
Making install in liblouisutdml
make[1]: Entering directory
`/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml'
make[2]: Entering directory
`/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml'
test -z "/usr/lib" || mkdir -p -- "%{buildroot}/usr/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c
'liblouisutdml.la' '%{buildroot}/usr/lib/liblouisutdml.la'
libtool: install: `%{buildroot}/usr/lib' must be an absolute directory name
Try `libtool --help --mode=install' for more information.
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/usr/src/redhat/BUILD/liblouisutdml-1.9.0/liblouisutdml'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.29329 (%install)
Problem is in:
test -z "/usr/lib" || mkdir -p -- "%{buildroot}/usr/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c
'liblouisutdml.la' '%{buildroot}/usr/lib/liblouisutdml.la'
Where %{buildroot} is not replaced with absolute path
I do not know if this helps.
Ljubomir
More information about the CentOS
mailing list