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