>I'd really like to see those of you using Solaris
>and RedHat tell me if you can compile without trouble.
Solaris 2.5.1
perl 5.005_03
gcc 2.95.2
I built and installed xerces-c-src1_5_1 mostly
without problem and the perl install was
very smooth.
I've included the output from the 3 steps if
your interested.
I've also included some trivial changes to
DOMParser.pm that 'use strict;' complained
about.
I tried all the programs in the samples
directory on the personal.xml file using
the installed XML::Xerces package and they
all worked fine.
Thanks,
-Carl Edwards
Using XERCES_LIB = /usr/local/libUsing XERCES_INCLUDE = /usr/local/include/xercescChecking to see if libxerces is in your library path...Use of uninitialized value at (eval 21) line 98.
Use of uninitialized value at (eval 33) line 74.
Use of uninitialized value at (eval 33) line 75.
Use of uninitialized value at (eval 33) line 76.
Use of uninitialized value at (eval 33) line 89.
Use of uninitialized value at (eval 64) line 14.
Use of uninitialized value at (eval 64) line 15.
Use of uninitialized value at (eval 64) line 16.
Use of uninitialized value at (eval 64) line 17.
Use of uninitialized value at (eval 64) line 19.
Use of uninitialized value at (eval 64) line 20.
Use of uninitialized value at (eval 64) line 21.
Use of uninitialized value at (eval 64) line 22.
Use of uninitialized value at (eval 64) line 34.
Use of uninitialized value at (eval 64) line 43.
Success!!
Using Xerces-C version: 1.5.1
'PREREQ_PM' is not a known MakeMaker parameter name.
Warning: Guessing NAME [XML-Xerces] from current directory name.
Writing Makefile for XML::Xerces::DOMParse
Writing Makefile for Handler
Writing Makefile for XML::Xerces::DOMParse
Writing Makefile for XML::Xerces
Manifying ../blib/man3/XML::Xerces::DOMParse.3
gcc -c -I. -IHandler -I/usr/local/include/xercesc -D_REENTRANT -DHAS_BOOL -O
-DVERSION=\"1.5.4\" -DXS_VERSION=\"1.5.4\" -fPIC
-I/usr/local/perl/lib/5.00503/sun4-solaris/CORE Xerces.C
Running Mkbootstrap for XML::Xerces ()
chmod 644 Xerces.bs
LD_RUN_PATH="/usr/local/lib" gcc -o blib/arch/auto/XML/Xerces/Xerces.so
-R/usr/local/lib -G -L/usr/local/lib Xerces.o blib/arch/auto/Handler/Handler.a
-L/usr/local/lib -lxerces-c1_5_1
chmod 755 blib/arch/auto/XML/Xerces/Xerces.so
cp Xerces.bs blib/arch/auto/XML/Xerces/Xerces.bs
chmod 644 blib/arch/auto/XML/Xerces/Xerces.bs
Manifying blib/man3/XML::DOMParse::DOMParse.3
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/perl/lib/5.00503/sun4-solaris -I/usr/local/perl/lib/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/DOMCount..........ok
t/DOMCreate.........ok
t/DOMException......ok
t/DOMParser.........Bareword "XML::Xerces::DOMParser" not allowed while "strict subs"
in use at (eval 1) line 1.
FAILED test 3
Failed 1/5 tests, 80.00% okay
t/DOMPrint..........ok
t/DOM_Entity........ Failed test 3 as expected, no worries
ok
t/DOM_NamedNodeMap..ok
t/DOM_NodeList......ok
t/EntityResolver....ok
t/IDOMParser........ok
t/IDOM_DOMException.ok
t/LocalFileInputSource.ok
t/MemBufInputSource.ok
t/PerlErrorHandler..ok
t/SAX2Count.........Use of uninitialized value at t/SAX2Count.t line 52.
Use of uninitialized value at t/SAX2Count.t line 53.
Use of uninitialized value at t/SAX2Count.t line 54.
Use of uninitialized value at t/SAX2Count.t line 55.
Use of uninitialized value at t/SAX2Count.t line 56.
Use of uninitialized value at t/SAX2Count.t line 57.
Use of uninitialized value at t/SAX2Count.t line 58.
Use of uninitialized value at t/SAX2Count.t line 59.
FAILED tests 2, 5
Failed 2/5 tests, 60.00% okay
t/SAXCount..........ok
t/SAXException......ok
t/SAXParser.........ok
t/Schema............ok
t/StdInInputSource..ok
t/URLInputSource....ok
t/XMLException......ok
t/actualCast........ok
t/domTest...........ok
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/DOMParser.t 5 1 20.00% 3
t/SAX2Count.t 5 2 40.00% 2, 5
Failed 2/24 test scripts, 91.67% okay. 3/85 subtests failed, 96.47% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
--- ./XML/Xerces/DOMParse.pm Tue Jul 31 07:30:05 2001
+++ /usr/local/perl/lib/site_perl/5.005/sun4-solaris/XML/Xerces/DOMParse.pm Thu
+Aug 2 11:34:32 2001
@@ -382,13 +382,13 @@
}
$string = $newstring . $string;
- while ( $string =~ s/^(.*?)<(.*)$/\1<\2/) {
+ while ( $string =~ s/^(.*?)<(.*)$/$1<$2/) {
}
;
- while ( $string =~ s/^(.*?)>(.*)$/\1>\2/) {
+ while ( $string =~ s/^(.*?)>(.*)$/$1>$2/) {
}
;
- while ( $string =~ s/^(.*?)\"(.*)$/\1"\2/) {
+ while ( $string =~ s/^(.*?)\"(.*)$/$1"$2/) {
}
;
}
@@ -410,7 +410,7 @@
if ( $node->getNodeType () == $XML::Xerces::DOM_Node::TEXT_NODE ) {
my $value = $node->getNodeValue ();
- $value =~ s/\s*(.*?)\s*/\1/;
+ $value =~ s/\s*(.*?)\s*/$1/;
if ( $value eq "" ) {
XML::Xerces::DOMParse::remove ($node);
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]