pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libtool error building www/apache2 on Solaris 9



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 
--silent --mode=link gcc  -pthreads  -O -I/usr/pkg/include -I/usr/include  
-DSOLARIS2=9 -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/scratch/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/work/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/generators 
-I/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/server 
-I/usr/pkg/include/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-solaris2/3.3.5 
-Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -L/usr/pkg/gcc3/lib 
-Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -o htpasswd  htpasswd.lo   -lz -lssl -lcrypto -Wl,-R/usr/pkg/lib 
-L/usr/pkg/lib -lsocket -lnsl -ldl 
/scratch/pkgsrc/www/apache2/work/httpd-2.0.58/srclib/pcre/libpcre.la 
/usr/pkg/lib/libaprutil-0.la -lexpat /usr/pkg/lib/libapr-0.la -lsendfile -lrt 
-lm -lsocket -lresolv -lnsl -lpthread -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/.buildlink/lib/libaprutil-0.la' or unhandled 
argument `/scratch/pkgsrc/www/apache2/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,

-- 
Nicholas Riley <njriley%uiuc.edu@localhost> | 
<http://www.uiuc.edu/ph/www/njriley>



Home | Main Index | Thread Index | Old Index