Re: [Printing-architecture] PAPPL 1.2rc1 (Supply levels)
James Cloos <[email protected]>
| Newsgroups | dev.linux.lists.printing-architecture |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "MS" == Michael Sweet via Printing-architecture <[email protected]> writes: MS> The "testpappl" program provided with PAPPL can be used to test the SNMP stuff: MS> git clone https://github.com/michaelrsweet/pappl.git MS> cd pappl MS> ./configure MS> make MS> testsuite/testpappl --get-id socket://IP-ADDRESS MS> testsuite/testpappl --get-status socket://IP-ADDRESS MS> testsuite/testpappl --get-supplies socket://IP-ADDRESS i wanted to check that out with my printers. it worked well for socket: on one of my boxen, but on my main workstation i got: Compiling printer-webif.c... printer-webif.c: In function '_papplPrinterWebCancelAllJobs': printer-webif.c:64:42: error: 'HTTP_STATUS_FOUND' undeclared (first use in this function); did you mean 'HTTP_STATUS_GONE'? 64 | papplClientRespondRedirect(client, HTTP_STATUS_FOUND, path); | ^~~~~~~~~~~~~~~~~ | HTTP_STATUS_GONE printer-webif.c:64:42: note: each undeclared identifier is reported only once for each function it appears in printer-webif.c: In function '_papplPrinterWebCancelJob': printer-webif.c:169:44: error: 'HTTP_STATUS_FOUND' undeclared (first use in this function); did you mean 'HTTP_STATUS_GONE'? 169 | papplClientRespondRedirect(client, HTTP_STATUS_FOUND, path); | ^~~~~~~~~~~~~~~~~ | HTTP_STATUS_GONE printer-webif.c: In function '_papplPrinterWebDelete': printer-webif.c:784:42: error: 'HTTP_STATUS_FOUND' undeclared (first use in this function); did you mean 'HTTP_STATUS_GONE'? 784 | papplClientRespondRedirect(client, HTTP_STATUS_FOUND, "/"); | ^~~~~~~~~~~~~~~~~ | HTTP_STATUS_GONE printer-webif.c: In function '_papplPrinterWebReprintJob': printer-webif.c:1414:50: error: 'HTTP_STATUS_FOUND' undeclared (first use in this function); did you mean 'HTTP_STATUS_GONE'? 1414 | papplClientRespondRedirect(client, HTTP_STATUS_FOUND, path); | ^~~~~~~~~~~~~~~~~ | HTTP_STATUS_GONE make[1]: *** [../Makedefs:75: printer-webif.o] Error 1 make: *** [Makefile:28: all] Error 1 make -k showed a number of similar issues in other files. obviously some dependency is too old; where does HTTP_STATUS_FOUND come from? in any case it looks like configure fail to notice that said dep is too old. -JimC -- James Cloos <[email protected]> OpenPGP: 0x997A9F17ED7DAEA6