On 01.08.01 at 23:29, Jason E. Stewart <[EMAIL PROTECTED]> wrote:

>I'd really like to see those of you using Solaris and RedHat tell me
>if you can compile without trouble.

Nope, it's still broken. You need to compile Xerces-C from source (this is
nothing new, but not really obvious from docs) and apply the attached patch
against Xerces-P "Makefile.PL". You set $LIBS to "-lpthread", but then
immediately overwrite it if Xerces-C isn't in the default linker path (i.e.
$XERCESCROOT is set).

With those caveats it works like a charm on Red Hat 7.1 with GCC 2.96-RH
(not 2.95.2 as PORTING sez). One DOM_Entity test fails "as expected" and
there are no tests for XML::Xerces::DOMParse.
--- XML-Xerces-1.5.4-org/Makefile.PL    Thu Aug  2 04:40:04 2001
+++ XML-Xerces-1.5.4/Makefile.PL        Fri Aug  3 08:59:08 2001
@@ -15,7 +15,7 @@
 $INCLUDES = '-I. -IHandler';
 if (defined $XERCES_LIB) {
   print STDERR "Using XERCES_LIB = $XERCES_LIB";
-  $LIBS = "-L$XERCES_LIB ";
+  $LIBS .= " -L$XERCES_LIB ";
 }
 
 if (defined $XERCES_INCLUDE) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to