hi paul

i could install it on the same environment.

i think it was necessary to  give  the exact path for
expat.h and  libexpat.a  into the compilation/configuration.
see the readme file that comes with expat  and  XML::Parser

hope this helps you along

cannot remember every exact step now...

but it works!

cheers
christian


ps: i suppose you have the os x developer kit installed
otherwise 'make' doesn't work. you also  need the original
'head' file, i guess.  (not the one u get from an eventual LWP
install...)  


on 22.08.01 06.50, Paul McCann at [EMAIL PROTECTED] wrote:

> Hi,
> 
> in a fit of XML fever I tried to install XML::Parser on my OSX machine
> (running 10.0.4 with the standard 5.6.0 perl that came with the original
> OS). To install XML::Parser you first need to install expat, and here's
> where my trouble arose. I downloaded 1.95.2 from
> 
> http://sourceforge.net/projects/expat/
> 
> Using the naïve "./configure", "make", and hopefully "sudo make install"
> mantra we get the following results:
> 
> "./configure" seems happy, and knows who we are...
> 
> [checking host system type... powerpc-apple-darwin1.3.7]
> 
> But "make" ends with something of a bang: its mercifully short death throes
> are pasted below. Anyone care to suggest some switches that might be used to
> caress/flog the Makefile into submission? Thanks in advance for any help, as
> searching for hints via google has left me utterly clueless.
> 
> Cheers,
>       Paul
> --------------------------------------------------------------------------
> 
> % make
> cd lib && make
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"'
> -DVERSION='"expat_1.95.2"' -I. -I. -I..  -g -O2 -Wall -Wmissing-prototypes
> -Wstrict-prototypes -fexceptions -c xmlparse.c
> gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I.
> -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -c
> xmlparse.c -o xmlparse.o
> echo timestamp > xmlparse.lo
> /bin/sh ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2 -Wall
> -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -o libexpat.la -rpath
> /usr/local/lib  xmlparse.lo xmltok.lo xmlrole.lo
> rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
> ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o
> ranlib .libs/libexpat.a
> creating libexpat.la
> (cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la)
> ~/src/expat-1.95.2/lib/.libs
> cd xmlwf && make
> gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o
> -L../lib/.libs -lexpat
> /usr/bin/ld: can't locate file for: -lcrt0.o
> make[1]: *** [xmlwf] Error 1
> make: *** [xmlwf] Error 2
> 

Reply via email to