[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ4i: [OT] Parsing XML / Perl / Expat



On 23 Apr 2003 at 10:45, Richard Abrams wrote:

> Having problems installing the XML::Parser (2.31) module onto a RaQ4i and
> thought someone here might be able to give some assistance.
> 
> Downloaded and ran Makefile for XML::Parser -> error that Expat not
> installed. Downloaded latest Expat rpm from Sourceforge and 
installed, no
> errors reported. Ran Makefile for XML::Parser again, no problems.
> Unfortunately, running the make/make test threw up the following:
> 
> *** No rule to make target
> `/usr/lib/perl5/5.00503/i386-linux/CORE/opnames.h', needed by 
`Expat.o'.
> Stop.
> 
> Any suggestions?

Hi, 

I have had this problem before installing other modules.  I think its 
something to do with the packages requiring ( or at least they have 
been tested on) later versions of perl.

I found this workaround:

	touch /usr/lib/perl5/5.00503/i386-linux/CORE/opnames.h
	touch /usr/lib/perl5/5.00503/i386-linux/CORE/perlapi.h
	touch /usr/lib/perl5/5.00503/i386-linux/CORE/utf8.h
	touch /usr/lib/perl5/5.00503/i386-linux/CORE/warnings.h

The above should get rid of most problems.


Regards

Ian
--