Horne, Bill | 3 Jan 2004 04:34
Picon

AIX compilation error

Hi,

Apologies in advance if this is not the appropriate forum ....

I hit the following error when attempting to compile xerces-p on AIX 5.2
with VisualAge compiler v5 any ideas? (Ignore the informational message
about compiler license - the system simply pauses for an annoyingly long
time, then goes ahead and tries to run the compile anyhow - I WILL get a
license one day ...)

############################################################################
################################
acc218:/backup/Xerces/XML/XML-Xerces-2.3.0-4 > perl Makefile.PL

Using XERCES_LIB = /backup/Xerces/c/xerces-c_2_3_0-AIX51_6.00/lib

Using XERCES_INCLUDE = /backup/Xerces/c/xerces-c_2_3_0-AIX51_6.00/include

Using Xerces-C version info from
/backup/Xerces/c/xerces-c_2_3_0-AIX51_6.00/incl
ude/xercesc/util/XercesVersion.hpp

Checking to see if libxerces is in your library path...Success!!

Using Xerces-C version: 2.3.0

Processing hints file hints/aix.pl

Note (probably harmless): No library found for -lxerces-c

(Continue reading)

bugzilla | 4 Jan 2004 16:22
Picon
Favicon

Bug report for Xerces-P [2004/01/04]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker     CRI=Critical    MAJ=Major             |
|     |   |           MIN=Minor       NOR=Normal      ENH=Enhancement       |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
| 4611|New|Enh|2001-11-02|Convert Xerces-C documentation to POD             |
|20611|New|Nor|2003-06-09|overloaded Attributes::get{Type,Value} and Attribu|
|24604|New|Maj|2003-11-11|Handler/Makefile.PL blocks the effects of the hint|
|24605|New|Maj|2003-11-11|make -C Handler only works for GNU make           |
|24675|New|Nor|2003-11-13|XMLCatalogResolver should support the real standar|
|25675|New|Nor|2003-12-20|Makefile.PL does not use CONFIG_STATUS            |
|25686|New|Nor|2003-12-22|Memory access bug in XMLString2Perl()             |
|25788|New|Maj|2003-12-28|Using UNIVERSAL breaks XML::Xerces;               |
+-----+---+---+----------+--------------------------------------------------+
| Total    8 bugs                                                           |
+---------------------------------------------------------------------------+
Bin Yan | 5 Jan 2004 16:06
Picon

deployment problem

Hi, all:

We got this problem when deploying xerces-P to Solaris.

Using XERCES_LIB = /export/home/jeo01/Downloads/xerces-c-src2_4_0/lib
Using XERCES_INCLUDE
= /export/home/jeo01/Downloads/xerces-c-src2_4_0/include
using config file:
/export/home/jeo01/Downloads/xerces-c-src2_4_0/src/xercesc/co
nfig.status

Found CXX      = c++
Found CXXFLAGS =  -w -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -
DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET
Found LDFLAGS  =
Using Xerces-C version info from
/export/home/jeo01/Downloads/xerces-c-src2_4_0/
include/xercesc/util/XercesVersion.hpp
      *** Version Mismatch ***

You are attempt to build XML::Xerces-2.3.0 using Xerces-C-2.4.0,
this will most likely fail, so I am aborting.

You must use Xerces-C-2.4.0

Looking further into this We found the C modules were released on Dec. 2nd
and went to version 2.4.0. The Perl XML routines were release in early
November with a revision version of 2.3.0. The Makefile.PL in the perl
modules is looking for C modules with the same version as the Perl XML
(Continue reading)

Scott | 7 Jan 2004 15:00
Picon
Picon
Favicon

persistent undefined symbols with xerces-p

Hi there.  I've been trying to get xml::xerces going, with no love...

It's perl 5.8.0, i686-linux-thread-multi-ld, with a rebuilt binary 
with the export-dynamic whole-archive stuff as specified in the FAQ.

Redhat 7.3, but with GCC 3.0.4, libc 2.2.5

I built xerces-c 2.3.0 from source, and that went just fine.

I've got xerces-p 2.3.0 and it builds ok, but the test gives me

PERL_DL_NONLAZY=1 /cluster/lsfpool/perl/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/actualCast..............Can't load
'/root/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so' for module XML::Xerces:
/root/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so: undefined symbol:
__ti19PerlCallbackHandler at
/cluster/lsfpool/perl/lib/perl5/5.8.0/i686-linux-thread-multi-ld/DynaLoader.pm line 229.
 at /root/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 7
Compilation failed in require at t/actualCast.t line 11.
BEGIN failed--compilation aborted at t/actualCast.t line 11.
Undefined subroutine &XML::Xerces::XMLPlatformUtils::Terminate called at
/root/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 24.
END failed--call queue aborted at t/actualCast.t line 11.
Undefined subroutine &main::fail called at t/actualCast.t line 7.
END failed--call queue aborted at t/actualCast.t line 11.
t/actualCast..............dubious                                            
	Test returned status 255 (wstat 65280, 0xff00)

Can anybody save me?
(Continue reading)

Jason E. Stewart | 7 Jan 2004 20:09

Re: persistent undefined symbols with xerces-p

Scott <skm <at> wi.mit.edu> writes:

> Hi there.  I've been trying to get xml::xerces going, with no love...
> 
> It's perl 5.8.0, i686-linux-thread-multi-ld, with a rebuilt binary 
> with the export-dynamic whole-archive stuff as specified in the FAQ.
> 
> Redhat 7.3, but with GCC 3.0.4, libc 2.2.5
> 
> I built xerces-c 2.3.0 from source, and that went just fine.
> 
> I've got xerces-p 2.3.0 and it builds ok, but the test gives me
> 
> PERL_DL_NONLAZY=1 /cluster/lsfpool/perl/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/actualCast..............Can't load
'/root/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so' for module XML::Xerces:
/root/XML-Xerces-2.3.0-4/blib/arch/auto/XML/Xerces/Xerces.so: undefined symbol:
__ti19PerlCallbackHandler at
/cluster/lsfpool/perl/lib/perl5/5.8.0/i686-linux-thread-multi-ld/DynaLoader.pm line 229.
>  at /root/XML-Xerces-2.3.0-4/blib/lib/XML/Xerces.pm line 7

Hi Scott,

I would search the archives for this. I remember someone else on
RedHat complaining about a very similar problem a few months back. I
think we eventually found a solution.

http://nagoya.apache.org/eyebrowse/SearchList?listName=xerces-p-dev <at> xml.apache.org

(Continue reading)

bugzilla | 11 Jan 2004 16:21
Picon
Favicon

Bug report for Xerces-P [2004/01/11]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker     CRI=Critical    MAJ=Major             |
|     |   |           MIN=Minor       NOR=Normal      ENH=Enhancement       |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
| 4611|New|Enh|2001-11-02|Convert Xerces-C documentation to POD             |
|20611|New|Nor|2003-06-09|overloaded Attributes::get{Type,Value} and Attribu|
|24604|New|Maj|2003-11-11|Handler/Makefile.PL blocks the effects of the hint|
|24605|New|Maj|2003-11-11|make -C Handler only works for GNU make           |
|24675|New|Nor|2003-11-13|XMLCatalogResolver should support the real standar|
|25675|New|Nor|2003-12-20|Makefile.PL does not use CONFIG_STATUS            |
|25686|New|Nor|2003-12-22|Memory access bug in XMLString2Perl()             |
|25788|New|Maj|2003-12-28|Using UNIVERSAL breaks XML::Xerces;               |
+-----+---+---+----------+--------------------------------------------------+
| Total    8 bugs                                                           |
+---------------------------------------------------------------------------+
Bassenge Hans-Joachim | 12 Jan 2004 15:19
Picon

Got an error when trying XML:Xerces under Windows

Hello,

When trying the 1st steps with XML::Xerces in Perl I got an error which I could not solve
by myself:

Enviroment:
  Windows XP
  Perl v5.8.1

After installing the  Xerces binaries:

  d:\Data\Downloads\Xerces>ppm install ./XML-Xerces.ppd
  ====================
  Install 'XML-Xerces' version 2.3.0-4 in ActivePerl 5.8.1.807.
  ====================
  Installing C:\Perl\site\lib\auto\Handler\extralibs.ld
  Installing C:\Perl\site\lib\auto\Handler\Handler.lib
  Installing C:\Perl\site\lib\auto\XML\Xerces\Xerces.bs
  Installing C:\Perl\site\lib\auto\XML\Xerces\Xerces.dll
  Installing C:\Perl\site\lib\auto\XML\Xerces\Xerces.exp
  Installing C:\Perl\site\lib\auto\XML\Xerces\Xerces.lib
  Installing C:\Perl\bin\xerces-c_2_3_0.dll
  Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
  Installing C:\Perl\site\lib\XML\Xerces.pm
  Successfully installed XML-Xerces version 2.3.0-4 in ActivePerl 5.8.1.807.

I tried the start the sample file

  perl -w SAX2Count.pl

and got the message:

  Can't load 'C:/Perl/site/lib/auto/XML/Xerces/Xerces.dll' for module XML::Xerces:
  load_file:Das angegebene Modul wurde nicht gefunden at C:/Perl/lib/DynaLoader.pm line 229.
   at C:/Perl/site/lib/XML/Xerces.pm line 7
  Compilation failed in require at SAX2Count.pl line 3.
  BEGIN failed--compilation aborted at SAX2Count.pl line 3. 
 
Searching the directory 'C:/Perl/site/lib/auto/XML/Xerces' I can see the Xerces.dll.

My PATH starts with the 'Perl\bin' directory.

Humm, what to do?

Best regards

Hans-Joachim Bassenge
__________________________________________________________
P       S         
        Hans-Joachim Bassenge
        ICM N PG SI TE 9, Geb. 15 / A6032
        Siemensdamm 62 
        13627 Berlin
(       +49-30-386-29312
Fax     +49-30-386-25528
o       hans-joachim.bassenge <at> siemens.com
__________________________________________________________

Jason E. Stewart | 13 Jan 2004 02:26

Re: Got an error when trying XML:Xerces under Windows

Bassenge Hans-Joachim <hans-joachim.bassenge <at> siemens.com> writes:

>   Can't load 'C:/Perl/site/lib/auto/XML/Xerces/Xerces.dll' for module XML::Xerces: 
>   load_file:Das angegebene Modul wurde nicht gefunden at C:/Perl/lib/DynaLoader.pm line 229.
>    at C:/Perl/site/lib/XML/Xerces.pm line 7
>   Compilation failed in require at SAX2Count.pl line 3.
>   BEGIN failed--compilation aborted at SAX2Count.pl line 3.  
>   
> Searching the directory 'C:/Perl/site/lib/auto/XML/Xerces' I can see the Xerces.dll.

Hi Hans,

I hope Martin Raspe or one of the more windows-able folks on the list
can explain this.

Does anyone know if the PPM package is completely independent of
libxerces.so?

Cheers,
jas.
Jason E. Stewart | 13 Jan 2004 02:38

Re: deployment problem

"Bin Yan" <bxy02 <at> health.state.ny.us> writes:

>       *** Version Mismatch ***
> 
> You are attempt to build XML::Xerces-2.3.0 using Xerces-C-2.4.0,
> this will most likely fail, so I am aborting.
> 
> You must use Xerces-C-2.4.0

Hi Tony,

Sorry about the bad error message, this is fixed in the lates version
of the code. It should say: "You must use Xerces-C-2.3.0". Because the
Xerces-C team changes the API with every release, minor version number
changes are often incompatible, so if you want to compile
XML-Xerces-2.3.0-x you must use Xerces-C-2.3.0 and not 2.4.0.

> Looking further into this We found the C modules were released on Dec. 2nd
> and went to version 2.4.0. The Perl XML routines were release in early
> November with a revision version of 2.3.0. The Makefile.PL in the perl
> modules is looking for C modules with the same version as the Perl XML
> modules.

Yes, I haven't yet made an official release of XML-Xerces-2.4.0, there
are some important outstanding issues that I have not taken the time
to fix. 

You can either:
1) grab Xerces-C-2.3.0 from:

  http://archive.apache.org/dist/xml/xerces-c/

2) grab the development snapshot of XML-Xerces-2.4.0 from:

  http://xml.apache.org/dist/xerces-p/nightly/2003-11-21/

3) wait until I can make an official release of XML-Xerces-2.4.0.

Cheers,
jas.
Jason E. Stewart | 13 Jan 2004 06:02

Re: AIX compilation error

"Horne, Bill" <bill.horne <at> eds.com> writes:

> Apologies in advance if this is not the appropriate forum ....

Nope, you got it right. This is the place for both user- and dev-
questions.

> I hit the following error when attempting to compile xerces-p on AIX 5.2
> with VisualAge compiler v5 any ideas? 

Hmmmm.... You are the first person I know of who has attempted this
OS/compiler combination, so we may need different flags for the AIX
hints file.

> Note (probably harmless): No library found for -lxerces-c

Nope, not harmless (damn Perl) - libxerces is not in you library
path. Even if you do get it to compile it won't link.

> cc -c -I. -IHandler
> -I/backup/Xerces/c/xerces-c_2_3_0-AIX51_6.00/include -D_REENTRANT -O
> -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -I/usr/opt/perl5/lib/5.6.
> 0/aix/CORE PerlCallbackHandler.cpp
> 
> "/usr/vacpp/include/stdlib.h", line 123.13: 1540-0040 (S) The text "llabs"
> is unexpected.  "undef" may be undeclared or ambiguous.

Looks like there is a #define conflict between Perl and the system
header files.

> "PerlCallbackHandler.cpp", line 23.18: 1540-1102 (W) "callbackObj" might be
> used  before it is set.

???

This might be a consequence of the first problem. Otherwise I'm
confused.

Cheers,
jas.

Gmane