> -----Original Message-----
> From: Jason E. Stewart [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 1:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: can't install XML::XERCES
>
>
> "Tim Harsch" <[EMAIL PROTECTED]> writes:
>
> > I am trying to install XML::Xerces for Perl and I am getting the
> > following error, which I don't comprehend.  Any help would be great.
>
> > [123] humpty:/home/harsch/temp/XML-Xerces-1.4.1> perl Makefile.PL
> > Using XERCES_LIB = /home/harsch/temp/XML-Xerces-1.4.1/lib
> > Using XERCES_INCLUDE = /home/harsch/temp/XML-Xerces-1.4.1/include
> > sh: swig: not found
> > Using SWIG version: SWIG__
> > Using Xerces-C version: 1.4
> > Checking if your kit is complete...
> > Looks good
> > Note (probably harmless): No library found for -lxerces-c1_4
>
> This is not (as the message says) harmless. It indicates that the
> *required* library libxerces-c1_4 is not in your library path. You
> have to resolve this before it will work.

Maybe this is a naming conflict.
This is what I have:
[135] mrna:/home/harsch/temp/xerces-c-src1_5_0> l $XERCESCROOT/lib
total 2980
drwxr-xr-x   3 harsch   image        4096 Jun 25 15:35 ./
drwxr-xr-x  12 harsch   image        4096 Jun 25 15:26 ../
drwxr-xr-x   2 harsch   image        4096 Jun 25 15:35 SunWS_cache/
-rwxr-xr-x   1 harsch   image     3255388 Jun 25 15:35 libxerces-c1_5.so*

>
> > cc -c -I. -IHandler -I/home/harsch/temp/XML-Xerces-1.4.1/include
> > -D_REENTRANT -DDEBIAN -DHAS_BOOL -DSWIG__ -O -DVERSION=\"1.4.1\"
> > -DXS_VERSION=\"1.4.1\" -KPIC -I/usr/local/perl5.005/lib/CORE
> > Handler/PerlContentCallbackHandler.cpp cc: No input file specified,
> > no output generated
> > *** Error code 1
> > make: Fatal error: Command failed for target
> `Handler/PerlContentCallbackHandler.o'

Here's what I tried:

[140] mrna:/home/harsch/temp/XML-Xerces-1.4.1> cc -c
Handler/PerlContentCallbackHandler.cpp -I. -IHandler -D_REENTRANT -DDEBIAN -
DHAS_BOOL -DSWIG__ -O     -DVERSION=\"1.5.1\"  -DXS_VERSION=\"1.5.1\" -KPIC 
-I/usr/local/perl5.005/lib/CORE
cc: No input file specified, no output generated

>
> This is a more serious error. I don't understand it at all. Try
> copying the file name (Handler/PerlContentCallbackHandler.cpp)
> immediately after the -c and running the command again.
>
> jas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to