www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <phi...@sduwebship.student.umd.edu>
Subject Re: build/9955: libtool: link: `/usr/local/lib/libexpat.la' is not a valid libtool archive
Date Wed, 27 Feb 2002 01:23:59 GMT
given a default FreeBSD5.0-CURRENT install
[ttyp3]:philip@sduwebship.student.umd.edu /var/db/pkg 48 >uname -a
FreeBSD sduwebship.student.umd.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon
Jan 28 22:03:50 GMT 2002
philip@sduwebship.student.umd.edu:/usr/obj/usr/src/sys/WEBSHIP  i386
[ttyp3]:philip@sduwebship.student.umd.edu /var/db/pkg 49 >gcc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release)

/usr/local/lib contains
[ttyp3]:philip@sduwebship.student.umd.edu /var/db/pkg 46 >ls /usr/local/lib/libex*
-rw-r--r--  1 root  wheel  - 143752 Jan 28 16:58:27 2002 /usr/local/lib/libexpat.a
lrwxr-xr-x  1 root  wheel  -     13 Jan 28 16:58:26 2002 /usr/local/lib/libexpat.so@ ->
libexpat.so.2
-rwxr-xr-x  1 root  wheel  - 124397 Jan 28 16:58:26 2002 /usr/local/lib/libexpat.so.2*

which is actually the same as a default FreeBSD4.5-RELEASE install


gtar -xvzof httpd-2.0_20020226051219.tar.gz
cd httpd-2.0
cd srclib
[cvslogin]
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co apr-util
./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: libtool version 1.3.4 (ok)
./configure --prefix=/usr/home/philip/apache --enable-so --with-mpm=prefork --with-port=9595
make
[of course the same thing happens as this time I do _not_ have libexpat.la]
cd /usr/ports/textproc/expat [expat-1.2.tar.gz]
As you can see it didn't install the libexpat.la file. Well I guess you were
right... It wasn't compiled with libtool ? How did that happen ?  The port
version is identical to the one used on FreeBSD4.5, but it installed
libexpat.la.

Good grief... only more questsions.

I could try it on a different 4.5 box as well if your interested ?




COMPILE AND INSTALL OF EXPAT FOLLOW

[ttyp2]:root@sduwebship.student.umd.edu > make
>> expat-1.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from ftp://ftp.jclark.com/pub/xml/.
Receiving expat-1.2.tar.gz (64701 bytes): 100%
64701 bytes transferred in 4.0 seconds (15.69 kBps)
===>  Extracting for expat-1.2
>> Checksum OK for expat-1.2.tar.gz.
===>  Patching for expat-1.2
===>  Configuring for expat-1.2
===>  Building for expat-1.2
/bin/cp /usr/ports/textproc/expat/files/Makefile.lib
/usr/ports/textproc/expat/work/expat-1.2/
/bin/cp /usr/ports/textproc/expat/files/Makefile.prog
/usr/ports/textproc/expat/work/expat-1.2/
/bin/mv /usr/ports/textproc/expat/work/expat-1.2/xmlwf/*
/usr/ports/textproc/expat/work/expat-1.2/
/bin/rmdir /usr/ports/textproc/expat/work/expat-1.2/xmlwf
Warning: Object directory not changed from original
/usr/ports/textproc/expat/work/expat-1.2
cc -O2 -pipe -Wall -march=pentium -Wall
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/wor
expat-1.2/xmlparse -DXML_NS -DXML_DTD  -c xmltok/xmltok.c -o
xmltok/xmltok.o
cc -O2 -pipe -Wall -march=pentium -Wall
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/wor
expat-1.2/xmlparse -DXML_NS -DXML_DTD  -c xmltok/xmlrole.c -o
xmltok/xmlrole.o
cc -O2 -pipe -Wall -march=pentium -Wall
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/wor
expat-1.2/xmlparse -DXML_NS -DXML_DTD  -c xmlparse/xmlparse.c -o
xmlparse/xmlparse.o
building static expat library
ranlib libexpat.a
cc -fpic -DPIC -O2 -pipe -Wall -march=pentium -Wall
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok -I/usr/ports/textpr
/expat/work/expat-1.2/xmlparse -DXML_NS -DXML_DTD  -c xmltok/xmltok.c -o
xmltok/xmltok.So
cc -fpic -DPIC -O2 -pipe -Wall -march=pentium -Wall
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok -I/usr/ports/textpr
/expat/work/expat-1.2/xmlparse -DXML_NS -DXML_DTD  -c xmltok/xmlrole.c -o
xmltok/xmlrole.So
cc -fpic -DPIC -O2 -pipe -Wall -march=pentium -Wall
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok -I/usr/ports/textpr
/expat/work/expat-1.2/xmlparse -DXML_NS -DXML_DTD  -c xmlparse/xmlparse.c
-o xmlparse/xmlparse.So
building shared library libexpat.so.1
Warning: Object directory not changed from original
/usr/ports/textproc/expat/work/expat-1.2
cc -O2 -pipe -Wall -march=pentium
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/work/expa
1.2/xmlparse    -c xmlwf.c
cc -O2 -pipe -Wall -march=pentium
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/work/expa
1.2/xmlparse    -c xmlfile.c
xmlfile.c: In function `processStream':
xmlfile.c:149: warning: implicit declaration of function `close'
xmlfile.c:153: warning: implicit declaration of function `read'
cc -O2 -pipe -Wall -march=pentium
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/work/expa
1.2/xmlparse    -c codepage.c
cc -O2 -pipe -Wall -march=pentium
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/work/expa
1.2/xmlparse    -c unixfilemap.c
unixfilemap.c: In function `filemap':
unixfilemap.c:36: warning: implicit declaration of function `close'
cc -O2 -pipe -Wall -march=pentium
-I/usr/ports/textproc/expat/work/expat-1.2/xmltok
-I/usr/ports/textproc/expat/work/expa
1.2/xmlparse     -o xmlwf xmlwf.o xmlfile.o codepage.o unixfilemap.o
-L/usr/ports/textproc/expat/work/expat-1.2 -lexpat

[ttyp2]:root@sduwebship.student.umd.edu >  make install
===>  Installing for expat-1.2
mkdir -p /usr/local/include/xml
cd /usr/ports/textproc/expat/work/expat-1.2 &&  install -C -o root -g
wheel -m 444  xmlparse/xmlparse.h /usr/local/includ
xml
cd /usr/ports/textproc/expat/work/expat-1.2 &&  install -C -o root -g
wheel -m 444  xmltok/xmltok.h /usr/local/include/xm
install -c -o root -g wheel -m 444   libexpat.a /usr/local/lib
install -c -s -o root -g wheel -m 444     libexpat.so.1 /usr/local/lib
ln -sf libexpat.so.1 /usr/local/lib/libexpat.so
install -c -s -o root -g wheel -m 555   xmlwf /usr/local/bin
===>   Generating temporary packing list
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for expat-1.2




END
------------------------------------------------------------------------------
Philip M. Gollucci (p6m7g8) philip@p6m7g8.com 301.314.3118

Science, Discovery, & the Universe (UMCP)
        Webmaster & Webship Teacher
        URL: http://www.sdu.umd.edu

EJPress.com
        Database/PERL Programmer & System Admin
        URL : http://www.ejournalpress.com

Resume      : http://p6m7g8.com/Work/index.html


On Tue, 26 Feb 2002, Justin Erenkrantz wrote:

> On Tue, Feb 26, 2002 at 05:18:49AM +0000, Philip M. Gollucci wrote:
> > Sorry to bug you with that... I've been compiling beta for a while now and
> > it never happened till 2.0.32.
> >
> > As you can see, I just did a full reinstall of libexpat... Same error.
> > If you still think its a system problem... I'll look into it myself.
>
> This is very odd.  This looks like a libtool error perhaps.
>
> Can you reproduce this on any other machines?  I'm kind of
> doubtful we're doing anything wrong, but geesh.  -- justin
>
>


Mime
View raw message