--- Begin Message ---
Jason,

Just wondering If you see any flagrant errors in this setup, since I can't 
seem to compile XML::Xerces.
I have included perl version, gcc version, and make output.  Please let me 
know what you find....Also I wanted to mention that the Makefile.PL in the 
Handler directory complains about the CFLAG problem (CCFLAG).

Thanks in advance for all your help,

Regards,

Alex


>perl Makefile.PL
>Using XERCES_LIB = /usr/local/lib
>Using XERCES_INCLUDE = /usr/local/include/xerces
>Checking to see if libxerces is in your library path...Processing hints 
>file hints/linux.pl
>Warning: Guessing NAME [XML-Xerces] from current directory name.
>Writing Makefile for Handler
>Success!!
>Using Xerces-C version: 2.0.0
>Processing hints file hints/linux.pl
>Writing Makefile for Handler
>Writing Makefile for XML::Xerces



>make
>cp Xerces.pm blib/lib/XML/Xerces.pm
>make -C Handler static
>make[1]: Entering directory `/usr/src/XML-Xerces-2.0.0-3/Handler'
>gcc -c  -I. -IHandler -I/usr/local/include/xerces -fno-strict-aliasing 
>-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
>-I/usr/include/gdbm -O2   -DVERSION=\"\" -DXS_VERSION=\"\" -fpic 
>"-I/opt/perl-5.8.0/lib/5.8.0/i686-linux/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/local/include/xerces -fno-strict-aliasing 
>-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
>-I/usr/include/gdbm -O2   -DVERSION=\"\" -DXS_VERSION=\"\" -fpic 
>"-I/opt/perl-5.8.0/lib/5.8.0/i686-linux/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:10: base class `ContentHandler' has
>incomplete type
>PerlContentCallbackHandler.hpp:27: parse error before `&'
>PerlContentCallbackHandler.hpp:40: parse error before `*'
>PerlContentCallbackHandler.cpp:40: parse error before `&'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::startElement (...)':
>PerlContentCallbackHandler.cpp:54: `XMLString' undeclared (first use
>this function)
>PerlContentCallbackHandler.cpp:54: (Each undeclared identifier is
>reported only once for each function it appears in.)
>PerlContentCallbackHandler.cpp:54: parse error before `::'
>PerlContentCallbackHandler.cpp:60: parse error before `::'
>PerlContentCallbackHandler.cpp:66: parse error before `::'
>PerlContentCallbackHandler.cpp:73: `attrs' undeclared (first use this
>function)
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::endElement (const XMLCh *, const XMLCh *,
>const XMLCh *)':
>PerlContentCallbackHandler.cpp:106: parse error before `::'
>PerlContentCallbackHandler.cpp:112: parse error before `::'
>PerlContentCallbackHandler.cpp:118: parse error before `::'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::characters (const XMLCh *, unsigned int)':
>PerlContentCallbackHandler.cpp:152: parse error before `::'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::ignorableWhitespace (const XMLCh *,
>unsigned int)':
>PerlContentCallbackHandler.cpp:186: parse error before `::'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::processingInstruction (const XMLCh *, const
>XMLCh *)':
>PerlContentCallbackHandler.cpp:286: parse error before `::'
>PerlContentCallbackHandler.cpp:292: parse error before `::'
>PerlContentCallbackHandler.cpp: At top level:
>PerlContentCallbackHandler.cpp:310: parse error before `*'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::setDocumentLocator (...)':
>PerlContentCallbackHandler.cpp:325: `locator' undeclared (first use
>this function)
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::startPrefixMapping (const XMLCh *, const
>XMLCh *)':
>PerlContentCallbackHandler.cpp:353: parse error before `::'
>PerlContentCallbackHandler.cpp:359: parse error before `::'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::endPrefixMapping (const XMLCh *)':
>PerlContentCallbackHandler.cpp:391: parse error before `::'
>PerlContentCallbackHandler.cpp: In method `void
>PerlContentCallbackHandler::skippedEntity (const XMLCh *)':
>PerlContentCallbackHandler.cpp:422: parse error before `::'
>make[1]: *** [PerlContentCallbackHandler.o] Error 1
>make[1]: Leaving directory `/usr/src/XML-Xerces-2.0.0-3/Handler'
>make: *** [blib/arch/auto/Handler/Handler.a] Error 2
>
>-------------------------------------------------------------------------------------------
>
>  gcc -v
>Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
>gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)
>
>-------------------------------------------------------------------------------------------
>
>  perl -V
>Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
>   Platform:
>     osname=linux, osvers=2.4.7-10, archname=i686-linux
>     uname='linux tasmdev10 2.4.7-10 #1 thu sep 6 17:27:27 edt 2001 i686 
> unknown '
>     config_args=''
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef 
> usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
>     optimize='-O2',
>     cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
>     ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-98)', 
> gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
> lseeksize=8
>     alignbytes=4, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib
>     libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
>     perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
>     libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so
>     gnulibc_version='2.2.4'
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
> -Wl,-rpath,/opt/perl-5.8.0/lib/5.8.0/i686-linux/CORE'
>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>
>
>Characteristics of this binary (from libperl):
>   Compile-time options: USE_LARGE_FILES
>   Built under linux
>   Compiled at Jun  3 2003 15:39:58
>   @INC:
>     /opt/perl-5.8.0/lib/5.8.0/i686-linux
>     /opt/perl-5.8.0/lib/5.8.0
>     /opt/perl-5.8.0/lib/site_perl/5.8.0/i686-linux
>     /opt/perl-5.8.0/lib/site_perl/5.8.0
>     /opt/perl-5.8.0/lib/site_perl
>     .




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


--- End Message ---

Reply via email to