Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: Beyerj [...] students.uni-marburg.de
Cc:
AdminCc:

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



Subject: Bug: XML::LibXML::Common v0.13 does not build under Mac OS X 10.4 w/ default compiler
Specs: PowerMac G4/400 PCI (Oct. 1999) Mac OS X 10.4.5 (latest) w/ libxml2 v2.6.16 Apple DevTools 2.2.1 (latest) compiler gcc 4.0.1 and gcc 3.3 Perl 5.8.6 (factory/preinstalled) The default compiler in Mac OS X 10.4.x is gcc 4.0.1. Trying to install XML::LibXML::Common v0.13 with gcc 4.0.1 results in a bunch of "signedness warnings" during the 'make'-Phase. After switching to gcc 3.3, I managed to built XML::LibXML::Common v0.13 (which is one of the prerequisites for XML::LibXML). Just for the record -- this problem is not only Apple/OS X related, there are some general problems with XML::LibXML and rleated modules in their current states. Perl modules are expected to be platform independent, and these ones aren't. I contacted the author of XML::LibXML and related, Christian Glahn, a week ago and still hope to get an answer. Cheers Joerg
From: Petr Pajas <pajas [...] matfyz.cz>
On ne 02.dub.2006 16:06:53, guest wrote: Show quoted text
> The default compiler in Mac OS X 10.4.x is gcc 4.0.1. > Trying to install XML::LibXML::Common v0.13 with gcc 4.0.1 results
in Show quoted text
> a bunch of > "signedness warnings" during the 'make'-Phase.
You speak about warnings, but there must be an error for a compiler to fail building a module. Could you please post full log of the compilation process?
From: Beyerj [...] students.uni-marburg.de
On So. 02. Apr. 2006, 16:13:13, PAJAS wrote: Show quoted text
> On ne 02.dub.2006 16:06:53, guest wrote:
> > The default compiler in Mac OS X 10.4.x is gcc 4.0.1. > > Trying to install XML::LibXML::Common v0.13 with gcc 4.0.1 results
> in
> > a bunch of > > "signedness warnings" during the 'make'-Phase.
> > You speak about warnings, but there must be an error for a compiler to > fail building a module. Could you please post full log of the > compilation process?
Sure -- the full process until I skipped it -- after 'make'.
Last login: Sat Mar 25 01:32:54 on ttyp1 Welcome to Darwin! Nachtblauer-Tower:~ beyerjoerg$ gcc_select Current default compiler: gcc version 4.0.1 (Apple Computer, Inc. build 5250) Nachtblauer-Tower:~ beyerjoerg$ cd /Volumes/PerlStuff/XML-LibXML-Common-0.13/ Nachtblauer-Tower:/Volumes/PerlStuff/XML-LibXML-Common-0.13 beyerjoerg$ ls Changes Common.xs MANIFEST README test.pl Common.pm LICENSE Makefile.PL ppport.h typemap Nachtblauer-Tower:/Volumes/PerlStuff/XML-LibXML-Common-0.13 beyerjoerg$ perl Makefile.PL enable native perl UTF8 running xml2-config... ok looking for -lxml2... yes Checking if your kit is complete... Looks good Writing Makefile for XML::LibXML::Common Nachtblauer-Tower:/Volumes/PerlStuff/XML-LibXML-Common-0.13 beyerjoerg$ make cp Common.pm blib/lib/XML/LibXML/Common.pm /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.6/ExtUtils/typemap -typemap typemap Common.xs > Common.xsc && mv Common.xsc Common.c cc -c -I/usr/include/libxml2 -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" -DHAVE_UTF8 -DHAVE_BLANK Common.c Common.xs: In function 'XS_XML__LibXML__Common_encodeToUTF8': Common.xs:58: warning: pointer targets in assignment differ in signedness Common.xs:100: warning: pointer targets in passing argument 2 of 'xmlBufferCCat' differ in signedness Common.xs: In function 'XS_XML__LibXML__Common_decodeFromUTF8': Common.xs:155: warning: pointer targets in assignment differ in signedness Common.xs:193: warning: pointer targets in passing argument 2 of 'xmlBufferCCat' differ in signedness Common.xs:196: warning: pointer targets in passing argument 1 of 'xmlCharStrndup' differ in signedness Running Mkbootstrap for XML::LibXML::Common () chmod 644 Common.bs rm -f blib/arch/auto/XML/LibXML/Common/Common.bundle LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Common.o -o blib/arch/auto/XML/LibXML/Common/Common.bundle -L/usr/lib -lxml2 -lz -lpthread -liconv -lm chmod 755 blib/arch/auto/XML/LibXML/Common/Common.bundle cp Common.bs blib/arch/auto/XML/LibXML/Common/Common.bs chmod 644 blib/arch/auto/XML/LibXML/Common/Common.bs Manifying blib/man3/XML::LibXML::Common.3pm Nachtblauer-Tower:/Volumes/PerlStuff/XML-LibXML-Common-0.13 beyerjoerg$
Compilation warnings reported in this ticket were no bugs per se; nevertheless, they should be all addressed in the CVS at http://perl-xml.cvs.sourceforge.net/perl-xml/XML-LibXML-Common/. -- Petr