Subject: | Net::CUPS fails to build under fedora core 6 |
Date: | Fri, 22 Dec 2006 13:24:30 -0800 |
To: | bugs-Net-CUPS [...] rt.cpan.org |
From: | "Chris Weyl" <cweyl [...] alumni.drew.edu> |
FC6, x86_64, stock perl/etc, all updates applied.
[cweyl@zeus Net-CUPS-0.41]$ rpmquery cups
cups-1.2.7-1.3.fc6
[cweyl@zeus Net-CUPS-0.41]$ rpmquery cups-devel
cups-devel-1.2.7-1.3.fc6
perl Makefile.PL; make fails with:
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.41\"
-DXS_VERSION=\"0.41\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Protocol.c
In file included from Protocol.xs:5:
ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from Protocol.xs:2:
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:163:1:
warning: this is the location of the previous definition
In file included from Protocol.xs:10:
Protocol_constant_c.inc: In function 'constant_15':
Protocol_constant_c.inc:1102: error: 'CUPS_ADD_DEVICE' undeclared
(first use in this function)
Protocol_constant_c.inc:1102: error: (Each undeclared identifier is
reported only once
Protocol_constant_c.inc:1102: error: for each function it appears in.)
Protocol_constant_c.inc: In function 'constant_18':
Protocol_constant_c.inc:1712: error: 'CUPS_DELETE_DEVICE' undeclared
(first use in this function)
In file included from Protocol.xs:11:
../common/common.c: In function 'XS_unpack_cups_option_tPtr':
../common/common.c:58: warning: unused variable 'option'
../common/common.c: In function 'XS_unpack_ipp_tPtr':
../common/common.c:443: warning: unused variable 'option'
../common/common.c: In function 'XS_pack_ipp_request_tPtr':
../common/common.c:475: warning: unused variable 'loop'
../common/common.c: In function 'XS_unpack_ipp_request_tPtr':
../common/common.c:511: warning: unused variable 'option'
../common/common.c: In function 'XS_pack_ipp_attribute_tPtr':
../common/common.c:585: warning: unused variable 'av'
../common/common.c:583: warning: unused variable 'version'
../common/common.c:581: warning: unused variable 'loop'
../common/common.c: In function 'XS_unpack_ipp_attribute_tPtr':
../common/common.c:617: warning: unused variable 'asv'
../common/common.c:615: warning: unused variable 'option'
../common/common.c:614: warning: unused variable 'av'
../common/common.c: In function 'XS_pack_ipp_value_tPtr':
../common/common.c:671: warning: unused variable 'av'
../common/common.c:669: warning: unused variable 'version'
../common/common.c:667: warning: unused variable 'loop'
../common/common.c: In function 'XS_unpack_ipp_value_tPtr':
../common/common.c:700: warning: unused variable 'asv'
../common/common.c:699: warning: unused variable 'ssv'
../common/common.c:698: warning: unused variable 'option'
../common/common.c:697: warning: unused variable 'av'
Protocol.xs: In function 'XS_Net__CUPS__Protocol_ippTimeToDate':
Protocol.xs:53: warning: assignment discards qualifiers from pointer target type
make[1]: *** [Protocol.o] Error 1
make[1]: Leaving directory
`/home/cweyl/rpms/perl-Net-CUPS/Net-CUPS-0.41/Protocol'
make: *** [subdirs] Error 2
--
Chris Weyl
Ex astris, scientia