Skip Menu |

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

Report information
The Basics
Id: 18508
Status: resolved
Priority: 0/
Queue: XML-LibXSLT

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

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



Subject: Bug: Building XML::LibXSLT v1.58 w/ gcc 4.0.1 under Mac OS X 10.4 throws warnings
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 build XML::LibXSLT v1.58 with gcc 4.0.1 failed, there are various signedness warnings during 'make' (see attached log). I switched to gcc 3.3 (with gcc_select 3.3). This let the "signedness warnings" in gcc 4.0.1 disappear, it seems as if the module has been build properly. Well, we will see... Cheers Joerg
Subject: XML-LibXSLT-1.58_gcc401.txt
Last login: Sun Apr 2 16:41:17 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/Perl-Stuff/XML-LibXSLT-1.58/ Nachtblauer-Tower:/Volumes/Perl-Stuff/XML-LibXSLT-1.58 beyerjoerg$ ls Changes Makefile.PL perl-libxml-mm.h Driver README ppport.h LibXSLT.pm benchmark.pl t LibXSLT.xs example testcases MANIFEST perl-libxml-mm.c typemap Nachtblauer-Tower:/Volumes/Perl-Stuff/XML-LibXSLT-1.58 beyerjoerg$ gcc_select Current default compiler: gcc version 4.0.1 (Apple Computer, Inc. build 5250) Nachtblauer-Tower:/Volumes/Perl-Stuff/XML-LibXSLT-1.58 beyerjoerg$ perl Makefile.PL running xslt-config... ok looking for -lxslt... yes looking for -lexslt... yes Checking if your kit is complete... Looks good Writing Makefile for XML::LibXSLT Nachtblauer-Tower:/Volumes/Perl-Stuff/XML-LibXSLT-1.58 beyerjoerg$ make cp benchmark.pl blib/lib/XML/benchmark.pl cp LibXSLT.pm blib/lib/XML/LibXSLT.pm /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.6/ExtUtils/typemap -typemap typemap LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.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=\"1.58\" -DXS_VERSION=\"1.58\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c LibXSLT.xs: In function 'LibXSLT_generic_function': LibXSLT.xs:423: warning: pointer targets in assignment differ in signedness LibXSLT.xs:424: warning: pointer targets in assignment differ in signedness LibXSLT.xs:492: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness LibXSLT.xs: In function 'XS_XML__LibXSLT__parse_stylesheet_file': LibXSLT.xs:729: warning: pointer targets in passing argument 1 of 'xsltParseStylesheetFile' differ in signedness LibXSLT.xs: In function 'XS_XML__LibXSLT__Stylesheet_transform': LibXSLT.xs:808: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness LibXSLT.xs: In function 'XS_XML__LibXSLT__Stylesheet_transform_file': LibXSLT.xs:858: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness LibXSLT.xs: In function 'XS_XML__LibXSLT__Stylesheet_media_type': LibXSLT.xs:979: warning: pointer targets in passing argument 1 of 'xmlStrcmp' differ in signedness LibXSLT.xs:981: warning: pointer targets in passing argument 1 of 'xmlStrcmp' differ in signedness LibXSLT.xs:989: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness LibXSLT.xs:989: warning: pointer targets in assignment differ in signedness LibXSLT.xs:996: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness LibXSLT.xs:999: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness cc -c -I/usr/include/libxml2 -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"1.58\" -DXS_VERSION=\"1.58\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT perl-libxml-mm.c Running Mkbootstrap for XML::LibXSLT () chmod 644 LibXSLT.bs rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.bundle LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib LibXSLT.o perl-libxml-mm.o -o blib/arch/auto/XML/LibXSLT/LibXSLT.bundle -L/usr/lib -lxslt -lexslt -lxml2 -lz -lpthread -liconv -lm chmod 755 blib/arch/auto/XML/LibXSLT/LibXSLT.bundle cp LibXSLT.bs blib/arch/auto/XML/LibXSLT/LibXSLT.bs chmod 644 blib/arch/auto/XML/LibXSLT/LibXSLT.bs Manifying blib/man3/XML::LibXSLT.3pm Nachtblauer-Tower:/Volumes/Perl-Stuff/XML-LibXSLT-1.58 beyerjoerg$
fixed in my working copy, the patch should soon appear in the SVN.