$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi-64int
uname='cygwin_nt-4.0 iokaste 1.3.22(0.7832) 2003-03-18 09:20 i686 unknown unknown cygwin '
config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O3 -Dman3ext=3pm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing'
ccversion='', gccversion='3.2.3 (home grown)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -lcrypt -lutil -lgdbm_compat
perllibs=-lcrypt -lutil -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under cygwin
Compiled at Jun 2 2003 13:55:45
%ENV:
CYGWIN=""
@INC:
/usr/lib/perl5/5.8.0/cygwin-multi-64int
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.
$ env | grep XER XERCES_INCLUDE=/usr/include/xercesc XERCES_LIB=/usr/lib
I modified MakeFile.PL as follows after the initial failure (the only xerces file in /usr/lib is libxerces-c23.dll.a):
line 123: my $XERCES_MAJOR_VERSION = '23'; # no underline or dot in libxerces-c23.dll.a
line 124: #my $XERCES_MINOR_VERSION = '0'; # no minor version
line 125: my $XERCES_LIB_VERSION = "$XERCES_MAJOR_VERSION"; # no minor version
line 130 : #$XERCES_LIB_VERSION =~ s/\./_/g; # not needed
I've attached the output. I'd appreciate any help.
I'm installint this Perl module in order to be able to validate XML files against a schema before using the XML files in test scripts. If there are any easier solutions, please let me know.
Thanks,
-- Stephen ------- Stephen Long Fusion Senior QA Analyst FedEx, IT Services 350 Spectrum Loop Colorado Springs, CO 80921 Office: (719) 484-2368 Fax: (719) 484-2419 Email: [EMAIL PROTECTED] Cube: EN332
$ perl MakeFile.pl Using XERCES_LIB = /usr/lib Using XERCES_INCLUDE = /usr/include/xercesc Checking to see if libxerces is in your library path...Warning: Guessing NAME [XML-Xerces] from current directory name. Writing Makefile for XML::Xerces::DOMParse WARNING: CFLAGS is not a known parameter. Writing Makefile for Handler Note (probably harmless): No library found for -lxerces-c23 Success!! Using Xerces-C version: 2.3 Note (probably harmless): No library found for -lxerces-c23 Writing Makefile for XML::Xerces::DOMParse Writing Makefile for XML::Xerces
[EMAIL PROTECTED] ~/.cpan/build/XML-Xerces-1.7.0-1
$ make
make -C Handler static
make[1]: Entering directory `/cygdrive/c/.cpan/build/XML-Xerces-1.7.0-1/Handler'
gcc -c -I. -IHandler -I/usr/include/xercesc -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -DUSEIMPORTLIB -O3 -DVERSION=
\"\" -DXS_VERSION=\"\" "-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE"
PerlCallbackHandler.cpp
In file included from PerlCallbackHandler.cpp:2:
PerlCallbackHandler.hpp:51:8: warning: extra tokens at end of #endif directive
gcc -c -I. -IHandler -I/usr/include/xercesc -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -DUSEIMPORTLIB -O3 -DVERSION=
\"\" -DXS_VERSION=\"\" "-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE"
PerlContentCallbackHandler.cpp
In file included from PerlContentCallbackHandler.hpp:4,
from PerlContentCallbackHandler.cpp:2:
PerlCallbackHandler.hpp:51:8: warning: extra tokens at end of #endif directive
In file included from PerlContentCallbackHandler.cpp:2:
PerlContentCallbackHandler.hpp:8: parse error before `,' token
PerlContentCallbackHandler.hpp:17: parse error before `*' token
PerlContentCallbackHandler.hpp:18: destructors must be member functions
PerlContentCallbackHandler.hpp:26: parse error before `&' token
PerlContentCallbackHandler.hpp:39: parse error before `*' token
PerlContentCallbackHandler.hpp:44: parse error before `}' token
PerlContentCallbackHandler.cpp:5: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `SV*
PerlContentCallbackHandler::set_callback_obj(SV*)':
PerlContentCallbackHandler.cpp:7: `callbackObj' undeclared (first use this
function)
PerlContentCallbackHandler.cpp:7: (Each undeclared identifier is reported only
once for each function it appears in.)
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:20: parse error before `&' token
PerlContentCallbackHandler.cpp:21: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::startElement(...)':
PerlContentCallbackHandler.cpp:34: `XMLString' undeclared (first use this
function)
PerlContentCallbackHandler.cpp:34: parse error before `::' token
PerlContentCallbackHandler.cpp:40: parse error before `::' token
PerlContentCallbackHandler.cpp:46: parse error before `::' token
PerlContentCallbackHandler.cpp:55: `attrs' undeclared (first use this function)
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:73: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::endElement(const XMLCh*, const XMLCh*, const
XMLCh*)':
PerlContentCallbackHandler.cpp:86: parse error before `::' token
PerlContentCallbackHandler.cpp:92: parse error before `::' token
PerlContentCallbackHandler.cpp:98: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:119: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::characters(const XMLCh*, unsigned int)':
PerlContentCallbackHandler.cpp:132: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:153: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::ignorableWhitespace(const XMLCh*, unsigned
int)':
PerlContentCallbackHandler.cpp:166: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:184: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp:207: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp:229: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp:253: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::processingInstruction(const XMLCh*, const
XMLCh*)':
PerlContentCallbackHandler.cpp:266: parse error before `::' token
PerlContentCallbackHandler.cpp:272: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:290: parse error before `*' token
PerlContentCallbackHandler.cpp:291: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::setDocumentLocator(...)':
PerlContentCallbackHandler.cpp:307: `locator' undeclared (first use this
function)
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:320: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::startPrefixMapping(const XMLCh*, const XMLCh*)':
PerlContentCallbackHandler.cpp:333: parse error before `::' token
PerlContentCallbackHandler.cpp:339: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:358: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::endPrefixMapping(const XMLCh*)':
PerlContentCallbackHandler.cpp:371: parse error before `::' token
PerlContentCallbackHandler.cpp: At global scope:
PerlContentCallbackHandler.cpp:389: invalid use of undefined type `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.hpp:7: forward declaration of `class
PerlContentCallbackHandler'
PerlContentCallbackHandler.cpp: In member function `void
PerlContentCallbackHandler::skippedEntity(const XMLCh*)':
PerlContentCallbackHandler.cpp:402: parse error before `::' token
make[1]: *** [PerlContentCallbackHandler.o] Error 1
make[1]: Leaving directory `/cygdrive/c/.cpan/build/XML-Xerces-1.7.0-1/Handler'
make: *** [blib/arch/auto/Handler/Handler.a] Error 2
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
