If he is the correct person please let me know as well. I have built
XML::xerces on AIX5.2 and 5.1 for a couple of different versions of
PERL, through 5.8.8, but I used g++ instead of xlc and was wondering who
to send the updates to install it automatically from the configure
script to.

Thanks,
ed

-----Original Message-----
From: Jason Stewart [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 01, 2006 4:32 AM
To: [email protected]
Subject: Fwd: An XML::Xerces Support Question

---------- Forwarded message ----------
From: Incley, Noel <[EMAIL PROTECTED]>
Date: Aug 1, 2006 5:48 AM
Subject: An XML::Xerces Support Question
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]


Jason,

Are you still the guiding light and driving force behind XML::Xerces at
apache.org or have you moved on to another project?   I sent an e-mail
to [email protected] on 6/15/06 about problems trying to build
XML::Xerces using perl V5.8.2 under AIX V5.3 and I re-sent the same
e-mail 7/27/06, but, as yet, have not received a reply.   Admittedly,
I'm an open-source neophyte, and may, by accident, not have followed the
correct procedure.

Can you tell me if  [email protected]  is the correct e-mail
account to which to send requests for assistance with XML::Xerces and
whether support is still available for this software -- specific
software versions and other details are listed below.

Please let me know.

Many thanks,

Noel

------------------------------------------------------------------------
---------------------

6/15/06

Hello,

I am having problems compiling XML::Xerces under AIX V5.3 and would
welcome any assistance you can offer.  However, Xerces-C compiles
successfully in this environment and I've successfully tested the
DOMCount and SAXCount Xerces-C samples.

Under AIX V5.2 there were a couple of issues to address (see end of
e-mail), but after some trial and error, I was able to compile, link and
test XML::Xerces successfully.  The versions of GNU make, Xerces-C,
XML::Xerces, VisualAge C/C++ are the same, but the version of perl on
the AIX V5.2 box is 5.8.0, whereas it is 5.8.2 on the AIX V5.3 box.

Please advise.

Many thanks ... Noel

Downloaded sources:
xerces-c-src_2_7_0.tar.gz
XML-Xerces-2.7.0-0.tar.gz
make-3.81.tar.gz

O/S:
$ uname
AIX
$ oslevel -r
5300-00

Perl version:
This is perl, v5.8.2 built for aix-thread-multi Copyright 1987-2003,
Larry Wall

AIX Compiler Version:
$ xlC_r  VisualAge C++ Professional / C for AIX Compiler, Version 6

GNU make version:
$ gmake -v
GNU Make 3.81
Copyright (C) 2006  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. This
program built for powerpc-ibm-aix5.3.0.0

AIX V5.3 environment Xerces-C successfully compiled and smoke-tested.
$ DOMCount /tmp/mytest.xml
/tmp/mytest.xml: 10 ms (1205 elems).
$ SAXCount /tmp/mytest.xml
/tmp/mytest.xml: 6 ms (1205 elems, 1205 attrs, 0 spaces, 33324 chars)

AIX V5.3 environment XML::Xerces build attempt:
$ perl Makefile.PL
Using XERCES_LIB = /mystuff/Xerces/xerces-c-src_2_7_0/lib
Using XERCES_INCLUDE = /mystuff/Xerces/xerces-c-src_2_7_0/include
using XERCES_CONFIG:
/mystuff/Xerces/xerces-c-src_2_7_0/src/xercesc/config.status
Found CXX      = xlC_r
Found CXXFLAGS =  -w -DNDEBUG -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET Found LDFLAGS  = Using Xerces-C version
info from
/mystuff/Xerces/xerces-c-src_2_7_0/include/xercesc/util/XercesVersion.hp
p
Checking to see if libxerces is in your library path...Success!!
Using Xerces-C version: 2.7.0
Processing hints file hints/aix.pl
Writing Makefile for Handler
Writing Makefile for XML::Xerces

$ gmake
gmake -C Handler static
gmake[1]: Entering directory
`/workarea/mystuff/Xerces/XML-Xerces-2.7.0-0/Handler'
xlC_r -c  -I. -IHandler -I/mystuff/Xerces/xerces-c-src_2_7_0/include
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlonglong -O2   -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE"
PerlCallbackHandler.cpp
"PerlCallbackHandler.cpp", line 55.18: 1540-1102 (W) "callbackObj" might
be used before it is set.
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
201.28: 1540-0258 (S) A return value of type "group *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
368.28: 1540-0258 (S) A return value of type "hostent *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
549.28: 1540-0258 (S) A return value of type "char *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
629.28: 1540-0258 (S) A return value of type "netent *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
845.28: 1540-0258 (S) A return value of type "protoent *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
884.28: 1540-0258 (S) A return value of type "protoent *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
1013.52: 1540-0274 (S) The name lookup for "getpwent_r" did not find a
declaration.
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
1049.28: 1540-0258 (S) A return value of type "passwd *" cannot be
initialized with an expression of type "void *".
"/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/reentr.inc", line
1162.28: 1540-0258 (S) A return value of type "servent *" cannot be
initialized with an expression of type "void *".
gmake[1]: *** [PerlCallbackHandler.o] Error 1
gmake[1]: Leaving directory
`/workarea/mystuff/Xerces/XML-Xerces-2.7.0-0/Handler'
gmake: *** [blib/arch/auto/Handler/Handler.a] Error 2


------------------------------------------------------------------------
--------
AIX V5.2  Work-arounds used: (probably not elegant solutions but
worked!):
"Xerces.cpp", line 1901.79: 1540-0256 (S) A parameter of type "int *"
cannot be initialized with an expression of type "bool *".
Changing line 1901 from "bool*" to "int*" allowed the compilation to
continue.
Used LD=xlC_r in the Makefile (created by running perl Makefile.PL) to
get successful link.

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


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

Reply via email to