Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 41230
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: Eric.AVRILLON [...] caille.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Wed, 26 Nov 2008 11:14:27 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Hello, I'm trying to install the last XML ::LibXML on an IBM AIX system V 5.3 (booted 64 bits, compiler Xlc 8): Installed libxml2 : 2.7.2 I've tried XML::LibXML versions : 1.69,1.68,1.67 à same bug ( see below, same compilation bug for the 3 ones ) 1.66 seems to install with warnings As I'm not a "C" programmer, hoping you'll "clear" theses bugs... Regards Eric perl Makefile.PL enable native perl UTF8 running xml2-config...ok (2.7.2) looking for -lxml2... yes Checking if your kit is complete... Looks good Writing Makefile for XML::LibXML root@srv-db-coda:/home/root/PERL_LibXML/XML-LibXML-1.67#make cp lib/XML/LibXML/DOM.pod blib/lib/XML/LibXML/DOM.pod cp lib/XML/LibXML/ErrNo.pod blib/lib/XML/LibXML/ErrNo.pod cp lib/XML/LibXML/SAX/Builder.pm blib/lib/XML/LibXML/SAX/Builder.pm cp lib/XML/LibXML/DocumentFragment.pod blib/lib/XML/LibXML/DocumentFragment.pod cp lib/XML/LibXML/Reader.pm blib/lib/XML/LibXML/Reader.pm cp lib/XML/LibXML/XPathContext.pod blib/lib/XML/LibXML/XPathContext.pod cp lib/XML/LibXML/InputCallback.pod blib/lib/XML/LibXML/InputCallback.pod cp lib/XML/LibXML/Namespace.pod blib/lib/XML/LibXML/Namespace.pod cp lib/XML/LibXML/SAX/Builder.pod blib/lib/XML/LibXML/SAX/Builder.pod cp lib/XML/LibXML/Document.pod blib/lib/XML/LibXML/Document.pod cp lib/XML/LibXML/Attr.pod blib/lib/XML/LibXML/Attr.pod cp lib/XML/LibXML/SAX/Generator.pm blib/lib/XML/LibXML/SAX/Generator.pm cp lib/XML/LibXML/CDATASection.pod blib/lib/XML/LibXML/CDATASection.pod cp LibXML.pod blib/lib/XML/LibXML.pod cp lib/XML/LibXML/Reader.pod blib/lib/XML/LibXML/Reader.pod cp lib/XML/LibXML/RelaxNG.pod blib/lib/XML/LibXML/RelaxNG.pod cp lib/XML/LibXML/ErrNo.pm blib/lib/XML/LibXML/ErrNo.pm cp lib/XML/LibXML/PI.pod blib/lib/XML/LibXML/PI.pod cp lib/XML/LibXML/Error.pod blib/lib/XML/LibXML/Error.pod cp lib/XML/LibXML/Comment.pod blib/lib/XML/LibXML/Comment.pod cp lib/XML/LibXML/Dtd.pod blib/lib/XML/LibXML/Dtd.pod cp lib/XML/LibXML/Number.pm blib/lib/XML/LibXML/Number.pm cp lib/XML/LibXML/SAX.pm blib/lib/XML/LibXML/SAX.pm cp lib/XML/LibXML/Node.pod blib/lib/XML/LibXML/Node.pod cp lib/XML/LibXML/Literal.pm blib/lib/XML/LibXML/Literal.pm cp LibXML.pm blib/lib/XML/LibXML.pm cp lib/XML/LibXML/XPathExpression.pod blib/lib/XML/LibXML/XPathExpression.pod cp lib/XML/LibXML/Parser.pod blib/lib/XML/LibXML/Parser.pod cp lib/XML/LibXML/SAX/Parser.pm blib/lib/XML/LibXML/SAX/Parser.pm cp lib/XML/LibXML/Element.pod blib/lib/XML/LibXML/Element.pod cp lib/XML/LibXML/SAX.pod blib/lib/XML/LibXML/SAX.pod cp lib/XML/LibXML/XPathContext.pm blib/lib/XML/LibXML/XPathContext.pm cp lib/XML/LibXML/Error.pm blib/lib/XML/LibXML/Error.pm cp lib/XML/LibXML/Text.pod blib/lib/XML/LibXML/Text.pod cp lib/XML/LibXML/Boolean.pm blib/lib/XML/LibXML/Boolean.pm cp lib/XML/LibXML/Schema.pod blib/lib/XML/LibXML/Schema.pod cp lib/XML/LibXML/NodeList.pm blib/lib/XML/LibXML/NodeList.pm cp lib/XML/LibXML/Pattern.pod blib/lib/XML/LibXML/Pattern.pod /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "XML::LibXML", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.67\" -DXS_VERSION=\"1.67\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK Av_CharPtrPtr.c /usr/bin/perl /usr/opt/perl5/lib/5.8.2/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib/5.8.2/ExtUtils/typemap -typemap typemap LibXML.xs > LibXML.xsc && mv LibXML.xsc LibXML.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.67\" -DXS_VERSION=\"1.67\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK LibXML.c "perl-libxml-mm.h", line 106.4: 1506-191 (E) The character # is not a valid C source character. "perl-libxml-mm.h", line 106.1: 1506-046 (S) Syntax error. make: The error code from the last command is 1. Stop.
Please open the file "perl-libxml-mm.h" on line 106 and remove the line starting with // #.... and try compiling again. The problem is in use of wrong comment characters (C++ syntax). I missed these when applying a contributed patch. This is also fixed in the SVN version. -- Petr
Subject: RE: [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Thu, 27 Nov 2008 14:54:40 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Hello Petr, Thanks for your quick reply..! I've deleted line 106, then perl Makefile.PL, then make : root@srv-db-coda:/home/root/.cpan/build/XML-LibXML-1.69#make cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATI VE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5 .8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK Av_CharPtrPtr.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATI VE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5 .8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK LibXML.c "LibXML.xs", line 1570.52: 1506-046 (S) Syntax error. make: The error code from the last command is 1. Stop. Seems to have other troubles.... Best regards Eric -----Message d'origine----- De : Petr Pajas via RT [mailto:bug-XML-LibXML@rt.cpan.org] Envoyé : mercredi 26 novembre 2008 13:26 À : Eric AVRILLON Objet : [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69 <URL: http://rt.cpan.org/Ticket/Display.html?id=41230 > Please open the file "perl-libxml-mm.h" on line 106 and remove the line starting with // #.... and try compiling again. The problem is in use of wrong comment characters (C++ syntax). I missed these when applying a contributed patch. This is also fixed in the SVN version. -- Petr
Show quoted text
> "LibXML.xs", line 1570.52: 1506-046 (S) Syntax error. > make: The > error code from the last command is 1.
The same problem, I have fixed this in the SVN previously, sorry I forget to mention this. Simply replace // no create on the respective line with /* no create */ -- Petr
Subject: RE: [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Thu, 27 Nov 2008 16:54:30 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Hello Petr, Still some more troubles : root@srv-db-coda:/home/root/.cpan/build/XML-LibXML-1.69#make /usr/bin/perl /usr/opt/perl5/lib/5.8.2/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib/5.8.2/ExtUtils/typemap -typemap typemap LibXML.xs > LibXML.xsc && mv LibXML.xsc LibXML.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK LibXML.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK dom.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK perl-libxml-mm.c "perl-libxml-mm.c", line 207.1: 1506-277 (S) Syntax error: possible missing ';' or ','? "perl-libxml-mm.c", line 205.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline. "perl-libxml-mm.c", line 219.43: 1506-045 (S) Undeclared identifier proxy. "perl-libxml-mm.c", line 222.51: 1506-045 (S) Undeclared identifier PmmRegistryHashDeallocator. make: The error code from the last command is 1. Stop. Best regards Eric -----Message d'origine----- De : Petr Pajas via RT [mailto:bug-XML-LibXML@rt.cpan.org] Envoyé : jeudi 27 novembre 2008 15:46 À : Eric AVRILLON Objet : [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69 <URL: http://rt.cpan.org/Ticket/Display.html?id=41230 > Show quoted text
> "LibXML.xs", line 1570.52: 1506-046 (S) Syntax error. > make: The > error code from the last command is 1.
The same problem, I have fixed this in the SVN previously, sorry I forget to mention this. Simply replace // no create on the respective line with /* no create */ -- Petr
Show quoted text
> "perl- > libxml-mm.c", line 207.1: 1506-277 (S) Syntax error: possible > missing ';' or ','? > "perl-libxml-mm.c", line 205.8: 1506-485 (S) > Parameter declaration list is incompatible with declarator for > inline.
Hm, I don't know what is this error message supposed to mean, but removing the word inline from the declaration on line 205 in perl-libxml-mm.c should silence your compiler. -- Petr
Subject: RE: [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Thu, 27 Nov 2008 17:47:20 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Hello Petr, Still some bug around : root@srv-db-coda:/home/root/.cpan/build/XML-LibXML-1.69#make cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK perl-libxml-mm.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK perl-libxml-sax.c cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.69\" -DXS_VERSION=\"1.69\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" -DHAVE_UTF8 -DHAVE_BLANK xpath.c Running Mkbootstrap for XML::LibXML () chmod 644 LibXML.bs rm -f blib/arch/auto/XML/LibXML/LibXML.so ld -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:LibXML.exp -bnoentry -lpthreads -lc_r Av_CharPtrPtr.o LibXML.o dom.o perl-libxml-mm.o perl-libxml-sax.o xpath.o -o blib/arch/auto/XML/LibXML/LibXML.so -L/usr/local/lib -lxml2 -lpthread -liconv -lm chmod 755 blib/arch/auto/XML/LibXML/LibXML.so cp LibXML.bs blib/arch/auto/XML/LibXML/LibXML.bs chmod 644 blib/arch/auto/XML/LibXML/LibXML.bs Manifying blib/man3/XML::LibXML::ErrNo.3 Manifying blib/man3/XML::LibXML::DOM.3 Manifying blib/man3/XML::LibXML::Number.3 Manifying blib/man3/XML::LibXML::Literal.3 Manifying blib/man3/XML::LibXML::Node.3 Manifying blib/man3/XML::LibXML::XPathExpression.3 Manifying blib/man3/XML::LibXML::Parser.3 Manifying blib/man3/XML::LibXML::DocumentFragment.3 Manifying blib/man3/XML::LibXML::XPathContext.3 Manifying blib/man3/XML::LibXML::InputCallback.3 Manifying blib/man3/XML::LibXML::Element.3 Manifying blib/man3/XML::LibXML::Namespace.3 Manifying blib/man3/XML::LibXML::SAX::Builder.3 Manifying blib/man3/XML::LibXML::Document.3 Manifying blib/man3/XML::LibXML::Attr.3 Manifying blib/man3/XML::LibXML::SAX::Generator.3 Manifying blib/man3/XML::LibXML::CDATASection.3 Manifying blib/man3/XML::LibXML.3 Manifying blib/man3/XML::LibXML::Reader.3 Manifying blib/man3/XML::LibXML::SAX.3 Manifying blib/man3/XML::LibXML::RelaxNG.3 Manifying blib/man3/XML::LibXML::Text.3 Manifying blib/man3/XML::LibXML::Boolean.3 Manifying blib/man3/XML::LibXML::PI.3 Manifying blib/man3/XML::LibXML::Schema.3 Manifying blib/man3/XML::LibXML::Error.3 Manifying blib/man3/XML::LibXML::NodeList.3 Manifying blib/man3/XML::LibXML::Pattern.3 Manifying blib/man3/XML::LibXML::Comment.3 Manifying blib/man3/XML::LibXML::Dtd.3 root@srv-db-coda:/home/root/.cpan/build/XML-LibXML-1.69#make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/LibXML/LibXML.so Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/DOM.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Reader.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/XPathContext.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/InputCallback.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Namespace.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Document.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Attr.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/CDATASection.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Reader.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/RelaxNG.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/PI.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Comment.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Dtd.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Number.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Literal.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Node.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Parser.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Element.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/XPathContext.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Text.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Boolean.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/Schema.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/NodeList.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX/Builder.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX/Builder.pod Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX/Generator.pm Installing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX/Parser.pm Installing /usr/share/man/man3/XML::LibXML::DOM.3 Installing /usr/share/man/man3/XML::LibXML::Number.3 Installing /usr/share/man/man3/XML::LibXML::Literal.3 Installing /usr/share/man/man3/XML::LibXML::Node.3 Installing /usr/share/man/man3/XML::LibXML::Parser.3 Installing /usr/share/man/man3/XML::LibXML::DocumentFragment.3 Installing /usr/share/man/man3/XML::LibXML::XPathContext.3 Installing /usr/share/man/man3/XML::LibXML::InputCallback.3 Installing /usr/share/man/man3/XML::LibXML::Element.3 Installing /usr/share/man/man3/XML::LibXML::Namespace.3 Installing /usr/share/man/man3/XML::LibXML::SAX::Builder.3 Installing /usr/share/man/man3/XML::LibXML::Document.3 Installing /usr/share/man/man3/XML::LibXML::Attr.3 Installing /usr/share/man/man3/XML::LibXML::SAX::Generator.3 Installing /usr/share/man/man3/XML::LibXML::CDATASection.3 Installing /usr/share/man/man3/XML::LibXML.3 Installing /usr/share/man/man3/XML::LibXML::Reader.3 Installing /usr/share/man/man3/XML::LibXML::SAX.3 Installing /usr/share/man/man3/XML::LibXML::RelaxNG.3 Installing /usr/share/man/man3/XML::LibXML::Text.3 Installing /usr/share/man/man3/XML::LibXML::Boolean.3 Installing /usr/share/man/man3/XML::LibXML::PI.3 Installing /usr/share/man/man3/XML::LibXML::Schema.3 Installing /usr/share/man/man3/XML::LibXML::NodeList.3 Installing /usr/share/man/man3/XML::LibXML::Comment.3 Installing /usr/share/man/man3/XML::LibXML::Dtd.3 Writing /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/LibXML/.packlist Appending installation info to /usr/opt/perl5/lib/5.8.2/aix-thread-multi/perllocal.pod Can't load '/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/LibXML/LibXML.so' for module XML::LibXML: Symbol resolution failed for /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/LibXML/LibXML.so because: Symbol xmlXPathCompiledEvalToBoolean (number 282) is not exported from dependent module /usr/lib/libxml2.a(libxml2.so.2). Could not load module /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/auto/XML/LibXML/LibXML.so. System error: Exec format error Examine .loader section symbols with the 'dump -Tv' command. at /usr/opt/perl5/lib/5.8.2/aix-thread-multi/DynaLoader.pm line 229. at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML.pm line 127 BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML.pm line 127. Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX/Parser.pm line 8. BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi/XML/LibXML/SAX/Parser.pm line 8. Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.2/XML/SAX.pm line 147. make: The error code from the last command is 255. Stop. -----Message d'origine----- De : Petr Pajas via RT [mailto:bug-XML-LibXML@rt.cpan.org] Envoyé : jeudi 27 novembre 2008 17:43 À : Eric AVRILLON Objet : [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69 <URL: http://rt.cpan.org/Ticket/Display.html?id=41230 > Show quoted text
> "perl- > libxml-mm.c", line 207.1: 1506-277 (S) Syntax error: possible > missing ';' or ','? > "perl-libxml-mm.c", line 205.8: 1506-485 (S) > Parameter declaration list is incompatible with declarator for > inline.
Hm, I don't know what is this error message supposed to mean, but removing the word inline from the declaration on line 205 in perl-libxml-mm.c should silence your compiler. -- Petr
That's odd, what version of libxml2 do you have? As a temporary fix, edit the file xpath.c and find all occurrences of xmlXPathCompiledEvalToBoolean. These are typically preceded by #if LIBXML_VERSION >= 20627 Replace this with #if 0 -- Petr
Subject: RE: [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Fri, 28 Nov 2008 08:56:32 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Hello Petr, Thanks for your (as usual ) quick replies. I'm using libxml2 2.7.2 Best regards Eric -----Message d'origine----- De : Petr Pajas via RT [mailto:bug-XML-LibXML@rt.cpan.org] Envoyé : jeudi 27 novembre 2008 17:56 À : Eric AVRILLON Objet : [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69 <URL: http://rt.cpan.org/Ticket/Display.html?id=41230 > That's odd, what version of libxml2 do you have? As a temporary fix, edit the file xpath.c and find all occurrences of xmlXPathCompiledEvalToBoolean. These are typically preceded by #if LIBXML_VERSION >= 20627 Replace this with #if 0 -- Petr
Subject: RE: [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Fri, 28 Nov 2008 09:21:22 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>

Message body is not shown because it is too large.

Show quoted text
> Warning: XML::LibXML compiled against libxml2 20702, but runtime
libxml2 is older 20622 Ok, so your problem is that you have two versions of the libxml2 library installed on your system. XML::LibXML gets compiled against 2.7.2 (probably because the bin/xml2-config for this version precedes in your PATH the one for 2.6.22), but when you actually load the library, the dynamic linker attempts to link it against 2.6.22. On systems I know this problem is solvable by e.g. setting the LD_LIBRARY_PATH variable accordingly or by modifying the order of paths in /etc/ld.so.conf. The previous problem is also caused by this, so once your library setup is correct, you don't have to use the #if 0 hack. I don't know AIX, so have a look at your system manuals on how to configure library paths, this has nothing to do with XML::LibXML as such.
Subject: RE: [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Fri, 28 Nov 2008 12:42:57 +0400
To: <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Hello Petr, Thanks for your help. I've manually remove libxml2 file from usr/lib and usr/ccs/lib Re-install XML::LibXML::Common Re-install XML::LibXML Seems to be working now ! Best regards Eric PS : By the way, have you updated the CPAN with the correction ? (in case I have to do another full install ) ? -----Message d'origine----- De : Petr Pajas via RT [mailto:bug-XML-LibXML@rt.cpan.org] Envoyé : vendredi 28 novembre 2008 12:03 À : Eric AVRILLON Objet : [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69 <URL: http://rt.cpan.org/Ticket/Display.html?id=41230 > Show quoted text
> Warning: XML::LibXML compiled against libxml2 20702, but runtime
libxml2 is older 20622 Ok, so your problem is that you have two versions of the libxml2 library installed on your system. XML::LibXML gets compiled against 2.7.2 (probably because the bin/xml2-config for this version precedes in your PATH the one for 2.6.22), but when you actually load the library, the dynamic linker attempts to link it against 2.6.22. On systems I know this problem is solvable by e.g. setting the LD_LIBRARY_PATH variable accordingly or by modifying the order of paths in /etc/ld.so.conf. The previous problem is also caused by this, so once your library setup is correct, you don't have to use the #if 0 hack. I don't know AIX, so have a look at your system manuals on how to configure library paths, this has nothing to do with XML::LibXML as such.
closing this already resolved ticket.
Subject: Réponse automatique d'absence du bureau : [rt.cpan.org #41230] compilation pb on AIX 5.3 for LibXML starting from version 1.67 of libxml to 1.69
Date: Sat, 3 Oct 2009 01:24:34 +0400
To: "Petr Pajas via RT" <bug-XML-LibXML [...] rt.cpan.org>
From: "Eric AVRILLON" <Eric.AVRILLON [...] caille.com>
Bonjour, je serais de retour le 12/10/2009. Merci de me re-contacter à cette date...
Closing as already resolved.