[Expat-bugs] [Bug #117044] expat 1.95 will not build on FreeBSD 4.0

noreply@sourceforge.net noreply@sourceforge.net
Mon, 23 Oct 2000 14:51:03 -0700


Bug #117044, was updated on 2000-Oct-16 17:49
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 5
Summary: expat 1.95 will not build on FreeBSD 4.0

Details: when I try and make expat I get the following errors

sphinx# /bin/sh ../libtool --mode=link gcc -version-info 0:0:0 -g -O2 -o libexpat.la -rpath /usr/local/lib xmlparse.lo xmltok.lo xmlrole.lo
mkdir .libs
(cd . && ln -s xmlparse.lo xmlparse.o)
(cd . && ln -s xmltok.lo xmltok.o)
(cd . && ln -s xmlrole.lo xmlrole.o)
gcc -shared  xmlparse.lo xmltok.lo xmlrole.lo  -lc  -Wl,-soname -Wl,libexpat.so.0 -o .libs/libexpat.so.0
gcc: xmlparse.lo: No such file or directory
gcc: xmltok.lo: No such file or directory
gcc: xmlrole.lo: No such file or directory



Follow-Ups:

Date: 2000-Oct-17 21:51
By: jowaxman

Comment:
Try installing the package distribution from ftp.freebsd.org (using sysinstall).

-------------------------------------------------------

Date: 2000-Oct-18 11:15
By: none

Comment:
I get the same problem on HP-UX version 10.20

-------------------------------------------------------

Date: 2000-Oct-18 23:34
By: davidb54

Comment:
I got it to build on FreeBSD 4.1 by doing the following
from the expat-1.95. 0 directory:

cd lib
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=\"1.95.0\" -I. -I..  -g -O2 -c xmlparse.c
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=\"1.95.0\" -I. -I..  -g -O2 -c xmltok.c
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=\"1.95.0\" -I. -I..  -g -O2 -c xmlrole.c
cd ..
make

for some reason libtool never compiles the source files;
it just tries to link the object files, which haven't been
built.  i have no idea why that is.  gcc also complains 
about VERSION when building xmlparse.c unless you put it
in the escaped quotation marks as above.  

-dave

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=117044&group_id=10127