build failed (make install doesn't create usr/lib)
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu
--program-prefix= --disable-dependency-tracking --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking
2. make
3. make install DESTDIR=/tmp/apache
What is the expected output? What do you see instead?
It should install without a problem. Instead make install reports:
...
/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -o
mod_authn_otp.la -lcrypto -rpath /usr/lib64/apache2 -module -avoid-version
mod_authn_otp.lo
/usr/bin/apxs2 -S LIBEXECDIR="/tmp/apache/`/usr/bin/apxs2 -q LIBEXECDIR`" -i
mod_authn_otp.la
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool'
mod_authn_otp.la /tmp/apache//usr/lib64/apache2
/usr/lib64/apr-1/build/libtool --mode=install install mod_authn_otp.la
/tmp/apache//usr/lib64/apache2/
libtool: install: install .libs/mod_authn_otp.so
/tmp/apache//usr/lib64/mod_authn_otp.so
install: cannot create regular file '/tmp/apache//usr/lib64/mod_authn_otp.so':
No such file or directory
apxs:Error: Command failed with rc=65536
.
Makefile:850: recipe for target 'install-exec-local' failed
make[1]: *** [install-exec-local] Error 1
make[1]: Leaving directory '/root/mod_authn_otp-1.1.7'
Makefile:722: recipe for target 'install-am' failed
make: *** [install-am] Error 2
Calling "mkdir -p /tmp/apache/usr/lib64/apache2; ln -s
/tmp/apache/usr/lib64/mod_authn_otp.so
/tmp/apache/usr/lib64/apache2/mod_authn_otp.so" before running "make install"
fixes the problem.
What version of the module are you using? On what operating system?
version 1.1.7 on openSUSE
The error is that usr/lib64 (or usr/lib on i586) will not be created.
Original issue reported on code.google.com by stef.jak...@googlemail.com
on 27 Feb 2015 at 12:28
GoogleCodeExporter commented
Thanks for the report. Fixed in r151.
Original comment by archie.c...@gmail.com
on 27 Feb 2015 at 3:58
- Changed state: Fixed