Subject: Apache2 pkgsrc failure - help?
To: None <netbsd-users@netbsd.org>
From: J. Buck Caldwell <netbsd4@bitparts.org>
List: netbsd-users
Date: 02/13/2004 09:38:34
I'm getting the following error when compiling/installing Apache2
(actually, APR). Any ideas? This worked for me not THAT long ago. This
is a stock 1.6.1 system, pkgsrc-current supped about 15 minutes ago.
'make' runs fine, 'make install' does this, error at the bottom:
===> Checking for vulnerabilities in apr-0.9.5.2.0.48nb1
===> Installing for apr-0.9.5.2.0.48nb1
Making all in strings
Making all in passwd
Making all in tables
Making all in file_io/unix
Making all in network_io/unix
Making all in threadproc/unix
Making all in misc/unix
Making all in locks/unix
Making all in time/unix
Making all in mmap/unix
Making all in shmem/unix
Making all in user/unix
Making all in memory/unix
Making all in atomic/unix
Making all in poll/unix
Making all in support/unix
Making all in dso/unix
if [ ! -d /usr/pkg/include/apr-0 ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/include
/apr-0; fi;
cp -p /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/include/*.h
/usr/pkg/include/apr-0;
if test -n "/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr"; then
cp -p /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/
apr/include/*.h /usr/pkg/include/apr-0; fi;
if [ ! -d /usr/pkg/lib ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/lib; fi;
/bin/sh /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp libapr-0.la /usr/pkg/lib
cp .libs/libapr-0.so.9.5 /usr/pkg/lib/libapr-0.so.9.5
(cd /usr/pkg/lib && rm -f libapr-0.so.9 && ln -s libapr-0.so.9.5
libapr-0.so.9)
(cd /usr/pkg/lib && rm -f libapr-0.so && ln -s libapr-0.so.9.5 libapr-0.so)
cp .libs/libapr-0.lai /usr/pkg/lib/libapr-0.la
cp .libs/libapr-0.a /usr/pkg/lib/libapr-0.a
ranlib /usr/pkg/lib/libapr-0.a
chmod 644 /usr/pkg/lib/libapr-0.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/pkg/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp apr.exp /usr/pkg/lib
cp apr.exp /usr/pkg/lib/apr.exp
if [ ! -d /usr/pkg/libexec/apr ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/libexec/a
pr; fi;
if [ -f libtool ]; then /bin/sh
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp libtool /usr/p
kg/libexec/apr; fi;
cp libtool /usr/pkg/libexec/apr/libtool
if [ -f shlibtool ]; then /bin/sh
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp shlibtool /u
sr/pkg/libexec/apr; fi;
if [ -f build/apr_rules.mk ]; then cp build/apr_rules.mk
/usr/pkg/libexec/apr; fi;
if [ ! -d /usr/pkg/bin ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/bin; fi;
/bin/sh /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp apr-config /usr/pkg/bin
cp apr-config /usr/pkg/bin/apr-config
chmod 755 /usr/pkg/bin/apr-config
Making all in buckets
Making all in crypto
Making all in dbm
Making all in sdbm
Making all in .
Making all in encoding
Making all in hooks
Making all in ldap
Making all in uri
Making all in xml
Making all in misc
Making all in strmatch
Making all in xlate
if [ ! -d /usr/pkg/include/apr-0 ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/include
/apr-0; fi;
cp -p
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr-util/include/*.h
/usr/pkg/include/apr-0
if [ -n "/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr-util" ];
then cp -p /usr/pkgsrc/devel/apr/work/httpd-2.0.48/src
lib/apr-util/include/*.h /usr/pkg/include/apr-0; fi;
if [ ! -d /usr/pkg/lib ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/lib; fi;
list=''; for i in $list; do ( cd $i ; /usr/bin/make DESTDIR= install
); done
/bin/sh /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp libaprutil-0.la /usr/pkg/lib
cp .libs/libaprutil-0.so.9.5 /usr/pkg/lib/libaprutil-0.so.9.5
(cd /usr/pkg/lib && rm -f libaprutil-0.so.9 && ln -s libaprutil-0.so.9.5
libaprutil-0.so.9)
(cd /usr/pkg/lib && rm -f libaprutil-0.so && ln -s libaprutil-0.so.9.5
libaprutil-0.so)
cp .libs/libaprutil-0.lai /usr/pkg/lib/libaprutil-0.la
cp .libs/libaprutil-0.a /usr/pkg/lib/libaprutil-0.a
ranlib /usr/pkg/lib/libaprutil-0.a
chmod 644 /usr/pkg/lib/libaprutil-0.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/pkg/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp aprutil.exp /usr/pkg/lib
cp aprutil.exp /usr/pkg/lib/aprutil.exp
if [ ! -d /usr/pkg/bin ]; then
/usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/build/mkdir.sh
/usr/pkg/bin; fi;
/bin/sh /usr/pkgsrc/devel/apr/work/httpd-2.0.48/srclib/apr/libtool
--mode=install cp apu-config /usr/pkg/bin
cp apu-config /usr/pkg/bin/apu-config
chmod 755 /usr/pkg/bin/apu-config
/bin/rm /usr/pkg/libexec/apr/libtool
install -c -o root -g wheel -m 555 libtool /usr/pkg/libexec/apr/libtool
install: libtool: stat: No such file or directory
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/apr
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/apr
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/apr
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/apr