Thread

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
Posted on Fri Jan 6 17:19:43 2006 by jabrthehut in response to 1205
Re: Expat make error
I had something similar. I installed expat version 1.95.5, from www.sunfreeware.com, specifically for Solaris 9. After that the installation of XML::Parser went smoothly.
Direct Responses: 2702 | Write a response
Posted on Wed Jul 26 04:29:08 2006 by gmangesh in response to 1590
Re: Expat make error
I had the exact same problem reported by the original poster. XML::Parser install failed. Tried to install expat 2.0 by downloading source from sourceforge and got the error reported above. The I followed your suggestion and got the 1.95.5 binary from www.sunfreeware.com and was able to install XML::Parser Thanks!
Write a response