Skip Menu |

This queue is for tickets about the Net-CUPS CPAN distribution.

Report information
The Basics
Id: 14309
Status: resolved
Priority: 0/
Queue: Net-CUPS

People
Owner: Nobody in particular
Requestors: girish [...] lifetreeindia.com
Cc:
AdminCc:

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



Subject: Error while installing Printer Module
Hi i have installed CUPS 1.1.23 and i am using linux as OS and perl 5.6 i try to install Net-CUPS-0.37 but it's giving following error. kindly help me to solve this problem Printer.c: In function `XS_Net__CUPS__Printer_cupsGetOption': Printer.c:417: warning: initialization makes pointer from integer without a cast Printer.xs:216: parse error before `int' Printer.xs:222: `num_options' undeclared (first use in this function) Printer.xs:224: `options' undeclared (first use in this function) Printer.xs:224: warning: unreachable code at beginning of switch statement Printer.xs:226: `loop' undeclared (first use in this function) Printer.xs:228: `ssv' undeclared (first use in this function) Printer.c: In function `XS_Net__CUPS__Printer_cupsGetPPD': Printer.c:457: warning: initialization makes pointer from integer without a cast Printer.c: In function `XS_Net__CUPS__Printer_cupsGetJobs': Printer.c:494: warning: initialization makes pointer from integer without a cast Printer.c: In function `XS_Net__CUPS__Printer_cupsPrintFile': Printer.c:596: warning: initialization makes pointer from integer without a cast Printer.c:597: warning: initialization makes pointer from integer without a cast Printer.c:598: warning: initialization makes pointer from integer without a cast Printer.c: In function `XS_Net__CUPS__Printer_cupsPrintFiles': Printer.c:632: warning: initialization makes pointer from integer without a cast Printer.c:634: warning: initialization makes pointer from integer without a cast Printer.xs: In function `XS_Net__CUPS__Printer_cupsSetDests': Printer.xs:426: parse error before `int' Printer.xs:431: `num_dests' undeclared (first use in this function) Printer.xs:433: `destinations' undeclared (first use in this function) Printer.xs:433: warning: unreachable code at beginning of switch statement Printer.xs:435: `loop' undeclared (first use in this function) Printer.xs:437: `ssv' undeclared (first use in this function) Printer.c: In function `XS_Net__CUPS__Printer_cupsSetServer': Printer.c:766: warning: initialization makes pointer from integer without a cast Printer.c: In function `XS_Net__CUPS__Printer_cupsSetUser': Printer.c:780: warning: initialization makes pointer from integer without a cast make[1]: *** [Printer.o] Error 1 make[1]: Leaving directory `/Application/Perl_Modules/Net-CUPS-0.37/Printer' regards Girish
A new version of Net::CUPS is out that should fix quite a few build issues. It also has a new OO API. On Thu Aug 25 07:02:47 2005, guest wrote: Show quoted text
> Hi > i have installed CUPS 1.1.23 and i am using linux as OS and perl > 5.6 > > i try to install Net-CUPS-0.37 but it's giving following error. > > kindly help me to solve this problem > > > Printer.c: In function `XS_Net__CUPS__Printer_cupsGetOption': > Printer.c:417: warning: initialization makes pointer from integer > without a cast > Printer.xs:216: parse error before `int' > Printer.xs:222: `num_options' undeclared (first use in this function) > Printer.xs:224: `options' undeclared (first use in this function) > Printer.xs:224: warning: unreachable code at beginning of switch > statement > Printer.xs:226: `loop' undeclared (first use in this function) > Printer.xs:228: `ssv' undeclared (first use in this function) > Printer.c: In function `XS_Net__CUPS__Printer_cupsGetPPD': > Printer.c:457: warning: initialization makes pointer from integer > without a cast > Printer.c: In function `XS_Net__CUPS__Printer_cupsGetJobs': > Printer.c:494: warning: initialization makes pointer from integer > without a cast > Printer.c: In function `XS_Net__CUPS__Printer_cupsPrintFile': > Printer.c:596: warning: initialization makes pointer from integer > without a cast > Printer.c:597: warning: initialization makes pointer from integer > without a cast > Printer.c:598: warning: initialization makes pointer from integer > without a cast > Printer.c: In function `XS_Net__CUPS__Printer_cupsPrintFiles': > Printer.c:632: warning: initialization makes pointer from integer > without a cast > Printer.c:634: warning: initialization makes pointer from integer > without a cast > Printer.xs: In function `XS_Net__CUPS__Printer_cupsSetDests': > Printer.xs:426: parse error before `int' > Printer.xs:431: `num_dests' undeclared (first use in this function) > Printer.xs:433: `destinations' undeclared (first use in this function) > Printer.xs:433: warning: unreachable code at beginning of switch > statement > Printer.xs:435: `loop' undeclared (first use in this function) > Printer.xs:437: `ssv' undeclared (first use in this function) > Printer.c: In function `XS_Net__CUPS__Printer_cupsSetServer': > Printer.c:766: warning: initialization makes pointer from integer > without a cast > Printer.c: In function `XS_Net__CUPS__Printer_cupsSetUser': > Printer.c:780: warning: initialization makes pointer from integer > without a cast > make[1]: *** [Printer.o] Error 1 > make[1]: Leaving directory `/Application/Perl_Modules/Net-CUPS- > 0.37/Printer' > > > regards > > Girish