Hi,
I hope someone here can help with the errors I'm getting errors during
make. I was able to successfully compile/install fine on a
Solaris7/gcc-2.95/perl-5.005_3 system but am now trying to install on
another Solaris system with perl-5.004_1 (which itself wasn't compiled
locally but installed with Sun pkgadd).
Here's my system/environment setup:
cedar 132% uname -a
SunOS cedar 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-4
cedar 133% perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos tensor.vnet.net 5.6 beta_update sun4u sparc sunw,ultra-1 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio= d_sfio=
Compiler:
cc='gcc', optimize='-O', gccversion=2.7.2.3
cppflags=''
ccflags =''
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/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=, ccdlflags=' '
cccdlflags='-fpic', lddlflags='-G'
Characteristics of this binary (from libperl):
Built under solaris
Compiled at Sep 17 1997 00:15:24
@INC:
/usr/local/lib/perl5/sun4-solaris/5.00401
/usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-solaris
/usr/local/lib/perl5/site_perl
.
cedar 134% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
cedar 135% make -v
GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
I set these environment variables:
XERCES_INCLUDE=/usr/local/binary_installs/xerces-c1_5_0-SolCC/include
XERCES_LIB=/usr/local/binary_installs/xerces-c1_5_0-SolCC/lib
LD_LIBRARY_PATH=/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
XERCESCROOT=/usr/local/binary_installs/xerces-c1_5_0-SolCC
The error I'm getting is as follows:
cedar 127% perl Makefile.PL
Using XERCES_LIB = /usr/local/binary_installs/xerces-c1_5_0-SolCC/libUsing
XERCES_INCLUDE = /usr/local/binary_installs/xerces-c1_5_0-SolCC/includeChecking to see
if libxerces is in your library path...Use of uninitialized value at (eval 21) line 89.
Use of uninitialized value at (eval 31) line 74.
Use of uninitialized value at (eval 31) line 75.
Use of uninitialized value at (eval 31) line 76.
Use of uninitialized value at (eval 31) line 80.
Success!!
Using Xerces-C version: 1.5
Checking if your kit is complete...
Looks good
'ABSTRACT' is not a known MakeMaker parameter name.
'AUTHOR' is not a known MakeMaker parameter name.
Writing Makefile for XML::Xerces::DOMParse
Writing Makefile for Handler
Writing Makefile for XML::Xerces
cedar 128% 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
cp DOMParse/DOMParse.pm ./blib/lib/XML/Xerces/DOMParse.pm
cp Xerces.pm ./blib/lib/XML/Xerces.pm
make[1]: Entering directory `/usr/local/src/perl_modules/XML-Xerces-1.5.3/DOMParse'
mkdir .././blib/arch/auto/XML/Xerces/DOMParse
mkdir .././blib/lib/auto/XML/Xerces/DOMParse
Skip .././blib/lib/XML/Xerces/DOMParse.pm (unchanged)
Manifying .././blib/man3/XML::Xerces::DOMParse.3
make[1]: Leaving directory `/usr/local/src/perl_modules/XML-Xerces-1.5.3/DOMParse'
make[1]: Entering directory `/usr/local/src/perl_modules/XML-Xerces-1.5.3/Handler'
mkdir .././blib/arch/auto/Handler
mkdir .././blib/lib/auto/Handler
gcc -c -I. -IHandler -I/usr/local/include/g++-3/
-I/usr/local/binary_installs/xerces-c1_5_0-SolCC/include -O -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.00401/CORE
PerlContentCallbackHandler.cpp
gcc -c -I. -IHandler -I/usr/local/include/g++-3/
-I/usr/local/binary_installs/xerces-c1_5_0-SolCC/include -O -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.00401/CORE
PerlDocumentCallbackHandler.cpp
gcc -c -I. -IHandler -I/usr/local/include/g++-3/
-I/usr/local/binary_installs/xerces-c1_5_0-SolCC/include -O -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.00401/CORE
PerlErrorCallbackHandler.cpp
gcc -c -I. -IHandler -I/usr/local/include/g++-3/
-I/usr/local/binary_installs/xerces-c1_5_0-SolCC/include -O -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.00401/CORE
PerlExceptionHandler.cpp
PerlExceptionHandler.cpp: In method `struct SV *
PerlExceptionHandler::setXMLExceptionHandler(SV *)':
PerlExceptionHandler.cpp:57: `PL_sv_undef' undeclared (first use this function)
PerlExceptionHandler.cpp:57: (Each undeclared identifier is reported only once
PerlExceptionHandler.cpp:57: for each function it appears in.)
make[1]: *** [PerlExceptionHandler.o] Error 1
make[1]: Leaving directory `/usr/local/src/perl_modules/XML-Xerces-1.5.3/Handler'
make: *** [subdirs] Error 2
cedar 129%
I had to edit the Makefile.PL to include my /usr/local/include/g++-3
headers and also added -DHAS_BOOL to my cflags.
This is a web server running apache (which will be replaced in a few
months) with about 40 other perl modules which I'd hate to have to
re-install with an upgrade to perl. I know this is an ancient version of
perl but is there any way to get XML modules to work with 5.004 or a way
to upgrade perl without re-installing all the other modules?
Any insight would be greatly appreciated. If more info is needed please
let me know. Thanks!
George Jackson
Sun SysAdmin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]