Subject: libtool error building www/apache2 on Solaris 9
To: None <pkgsrc-users@NetBSD.org>
From: Nicholas Riley <njriley@uiuc.edu>
List: pkgsrc-users
Date: 06/04/2006 19:50:32
Hi,
I'm trying to build Apache 2 on Solaris 9, and am getting this error:
/usr/pkg/bin/bash /scratch/pkgsrc/www/apache2/work/httpd-2.0.58/libtool --s=
ilent --mode=3Dlink gcc -pthreads -O -I/usr/pkg/include -I/usr/include -=
DSOLARIS2=3D9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_=
INITIALIZER -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/apr-0 -I/=
usr/pkg/include -I. -I/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/os/unix=
-I/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/server/mpm/prefork -I/scra=
tch/pkgsrc/www/apache2/work/httpd-2.0.58/modules/http -I/scratch/pkgsrc/www=
/apache2/work/httpd-2.0.58/modules/filters -I/scratch/pkgsrc/www/apache2/wo=
rk/httpd-2.0.58/modules/proxy -I/scratch/pkgsrc/www/apache2/work/httpd-2.0.=
58/include -I/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/modules/generato=
rs -I/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/server -I/usr/pkg/includ=
e/openssl -I/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/modules/dav/main =
-export-dynamic -R/usr/pkg/lib -L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solar=
is2/3.3.5 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -L/usr/p=
kg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/us=
r/lib -Wl,-R/usr/lib -o htpasswd htpasswd.lo -lz -lssl -lcrypto -Wl,-R/u=
sr/pkg/lib -L/usr/pkg/lib -lsocket -lnsl -ldl /scratch/pkgsrc/www/apache2/w=
ork/httpd-2.0.58/srclib/pcre/libpcre.la /usr/pkg/lib/libaprutil-0.la -lexpa=
t /usr/pkg/lib/libapr-0.la -lsendfile -lrt -lm -lsocket -lresolv -lnsl -lpt=
hread -ldl
libtool: link: `/scratch/pkgsrc/www/apache2/work/.buildlink/lib/libaprutil-=
0.la' is not a valid libtool archive
/scratch/pkgsrc/www/apache2/work/.buildlink/lib contains empty
libapr-0.la and libaprutil-0.la files. If I try deleting them, I get:
libtool: link: cannot find the library `/scratch/pkgsrc/www/apache2/work/.b=
uildlink/lib/libaprutil-0.la' or unhandled argument `/scratch/pkgsrc/www/ap=
ache2/work/.buildlink/lib/libaprutil-0.la'
I'm confused as to why these files are created in the first place; the
equivalents in /usr/pkg/lib appear to be fine. Maybe some part of the
build process thinks it should use the built in APR instead of an
external one?
The work log is at <http://shrug.csl.uiuc.edu/~njriley/work.log.gz>.
Any ideas where I can go from here?
Thanks,
--=20
Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>