problem wih getting Net-CUPS perl module to install
- From: Neil Dugan <debain_programer butterflystitches com au>
- To: gtk-perl-list gnome org
- Subject: problem wih getting Net-CUPS perl module to install
- Date: Thu, 19 Oct 2006 10:18:47 +1000
Hi I am new to getting perl modules to install. I don't know if this
is the correct place to ask, but here goes.
I am using Ubuntu linux 2.6.15-27-686
I downloaded Net-CUPS-0.41.tar.gz
/tmp/Net-CUPS.0.41$ make Makefile.PL
Net::CUPS Configuration
Running cups-config ... 1.2.2
Checking if your kit is complete...
Looks good
Warning: prerequisite Exporter::Cluster 0 not found.
Writing Makefile for Net::CUPS::PPD
Writing Makefile for Net::CUPS::Printer
Writing Makefile for Net::CUPS::Protocol
Writing Makefile for Net::CUPS
I then installed Exporter-Cluster-0.31.tar.gz
neil linux:/tmp/Net-CUPS-0.41$ perl Makefile.PL
Net::CUPS Configuration
Running cups-config ... 1.2.2
Writing Makefile for Net::CUPS::PPD
Writing Makefile for Net::CUPS::Printer
Writing Makefile for Net::CUPS::Protocol
Writing Makefile for Net::CUPS
As no problem was indicated I tried to make the module, but this gave
the errors below.
neil linux:/tmp/Net-CUPS-0.41$ make
cp CUPS.pm blib/lib/Net/CUPS.pm
make[1]: Entering directory `/tmp/Net-CUPS-0.41/PPD'
cp PPD.pm ../blib/lib/Net/CUPS/PPD.pm
/usr/bin/perl /usr/share/perl/5.8.7/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap PPD.xs > PPD.xsc && mv PPD.xsc PPD.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\"
-fPIC "-I/usr/lib/perl/5.8/CORE" PPD.c
Running Mkbootstrap for Net::CUPS::PPD ()
chmod 644 PPD.bs
rm -f ../blib/arch/auto/Net/CUPS/PPD/PPD.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib PPD.o -o
../blib/arch/auto/Net/CUPS/PPD/PPD.so -lcups -L/usr/lib -lgnutls -lz
-lpthread -lm -lcrypt
chmod 755 ../blib/arch/auto/Net/CUPS/PPD/PPD.so
cp PPD.bs ../blib/arch/auto/Net/CUPS/PPD/PPD.bs
chmod 644 ../blib/arch/auto/Net/CUPS/PPD/PPD.bs
Manifying ../blib/man3/Net::CUPS::PPD.3pm
make[1]: Leaving directory `/tmp/Net-CUPS-0.41/PPD'
make[1]: Entering directory `/tmp/Net-CUPS-0.41/Printer'
cp Printer.pm ../blib/lib/Net/CUPS/Printer.pm
/usr/bin/perl /usr/share/perl/5.8.7/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap Printer.xs > Printer.xsc && mv
Printer.xsc Printer.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\"
-fPIC "-I/usr/lib/perl/5.8/CORE" Printer.c
Printer.xs: In function ‘XS_Net__CUPS__Printer_cupsGetClasses’:
Printer.xs:149: warning: ‘cupsGetClasses’ is deprecated (declared at
/usr/include/cups/cups.h:152)
Printer.xs: In function ‘XS_Net__CUPS__Printer_cupsGetPrinters’:
Printer.xs:329: warning: ‘cupsGetPrinters’ is deprecated (declared at
/usr/include/cups/cups.h:157)
Running Mkbootstrap for Net::CUPS::Printer ()
chmod 644 Printer.bs
rm -f ../blib/arch/auto/Net/CUPS/Printer/Printer.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib Printer.o -o
../blib/arch/auto/Net/CUPS/Printer/Printer.so -lcups -L/usr/lib
-lgnutls -lz -lpthread -lm -lcrypt
chmod 755 ../blib/arch/auto/Net/CUPS/Printer/Printer.so
cp Printer.bs ../blib/arch/auto/Net/CUPS/Printer/Printer.bs
chmod 644 ../blib/arch/auto/Net/CUPS/Printer/Printer.bs
Manifying ../blib/man3/Net::CUPS::Printer.3pm
make[1]: Leaving directory `/tmp/Net-CUPS-0.41/Printer'
make[1]: Entering directory `/tmp/Net-CUPS-0.41/Protocol'
cp Protocol.pm ../blib/lib/Net/CUPS/Protocol.pm
/usr/bin/perl /usr/share/perl/5.8.7/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap Protocol.xs > Protocol.xsc && mv
Protocol.xsc Protocol.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.41\" -DXS_VERSION=\"0.41\"
-fPIC "-I/usr/lib/perl/5.8/CORE" Protocol.c
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)
Protocol.xs: In function ‘XS_Net__CUPS__Protocol_ippTimeToDate’:
Protocol.xs:53: warning: assignment discards qualifiers from pointer
target typemake[1]: *** [Protocol.o] Error 1
make[1]: Leaving directory `/tmp/Net-CUPS-0.41/Protocol'
make: *** [subdirs] Error 2
What can I do to fix this ?
Regards Neil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]