CPAN::Forum
XML-Parser - Expat make error
| Posted on Fri Oct 21 01:44:52 2005 by perldummy |
| Expat make error |
|
Hi,
I tried to install XML::Parser. So I started from installing expat. After I did "./configure --prefix=/var/tmp/XML/Expat", I next did the "make" commend and got the following error:
#make
/bin/bash ./libtool --silent --mode=link cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -I./lib -I. -no-undefined -version-info 5:0:5 -rpath /var/tmp/XML/Expat/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
Undefined first referenced
symbol in file
__eprintf lib/xmlparse.lo
ld: fatal: Symbol referencing errors. No output written to .libs/libexpat.so.0.5.0
make: *** [libexpat.la] Error 1
There was nothing generated in my /var/tmp/XML/Expat. I used prefix option since I don't have permission to write to /usr/local. And as I checked on our Solaris system, there are already /usr/local/lib/libexpat.a, libexpat.la, libexpat.so, libexpat.so.0, libexpat.so.0.1.0.
And there are /usr/local/include/expat.h. But I couldn't find expat.o. I tried to assume expat is already in the system and went ahead install XMP::Parser and it complained aout can't find expat.o. So I try to install expat myslef using prefix option.
Appreciate your input! Thanks!
|
| Direct Responses: 1590 | Write a response |
(6)
]