Hi all,
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.
[114] humpty:/home/harsch/temp/XML-Xerces-1.4.1> uname -a
SunOS
humpty 5.7 Generic_106541-10 sun4u sparc SUNW,Ultra-Enterprise
[115]
humpty:/home/harsch/temp/XML-Xerces-1.4.1> perl -V
Summary of my perl5
(5.0 patchlevel 5 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.5.1,
archname=sun4-solaris
uname='sunos meilu 5.5.1 generic
sun4m sparc sunw,sparcstation-4 '
hint=recommended,
useposix=true, d_sigaction=define
usethreads=undef
useperlio=undef d_sfio=undef
Compiler:
cc='cc',
optimize='-O', gccversion=
cppflags='-Drand=random
-Dsrand=srandom -I/usr/local/include'
ccflags
='-Drand=random -Dsrand=srandom -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
alignbytes=8, usemymalloc=y,
prototype=define
Linker and Libraries:
ld='cc',
ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib
/usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
-lcrypt
libc=/lib/libc.so, so=so, useshrplib=false,
libperl=libperl.a
Dynamic Linking:
dlsrc="dl_dlopen.xs," dlext=so, d_dlsymun=undef, ccdlflags='
'
cccdlflags='-KPIC', lddlflags='-G
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Built under
solaris
Compiled at Aug 17 1998 12:48:15
@INC:
/usr/local/perl5.005/lib
/usr/local/perl5.005/lib/site_perl
/usr/local/perl5.005/lib/site_perl
.
[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
Writing Makefile for XML::Xerces::DOMParse
Writing Makefile
for Handler
Writing Makefile for XML::Xerces
[124]
humpty:/home/harsch/temp/XML-Xerces-1.4.1> make
mkdir blib
mkdir
blib/lib
mkdir blib/lib/XML
mkdir blib/arch
mkdir
blib/arch/auto
mkdir blib/arch/auto/XML
mkdir
blib/arch/auto/XML/Xerces
mkdir blib/lib/auto
mkdir
blib/lib/auto/XML
mkdir blib/lib/auto/XML/Xerces
mkdir blib/man3
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'