cups-base with php extension
Bram Kuijper
a.l.w.kuijper at rug.nl
Fri Jun 23 17:35:10 UTC 2006
Hi,
I am trying to build the /usr/ports/print/cups-base port with the
included php extension on a FreeBSD 6.1-stable machine, but make
install results in an error:
/usr/include/string.h:90: warning: shadowed declaration is here
In file included from /usr/local/include/cups/ipp.h:35,
from /usr/local/include/cups/cups.h:34,
from phpcups.h:32,
from phpcups.c:36:
/usr/local/include/cups/http.h:308: warning: declaration of 'encrypt'
shadows a globa
l declaration
/usr/include/unistd.h:426: warning: shadowed declaration is here
phpcups.c: In function `zm_startup_phpcups':
phpcups.c:131: error: `CUPS_PRINTER_DELETE' undeclared (first use in
this function)
phpcups.c:131: error: (Each undeclared identifier is reported only once
phpcups.c:131: error: for each function it appears in.)
phpcups.c:132: error: `CUPS_PRINTER_NOT_SHARED' undeclared (first use in
this functio
n)
phpcups.c:133: error: `CUPS_PRINTER_AUTHENTICATED' undeclared (first use
in this func
tion)
phpcups.c:134: error: `CUPS_PRINTER_COMMANDS' undeclared (first use in
this function)
phpcups.c:144: error: `IPP_OK_EVENTS_COMPLETE' undeclared (first use in
this function
)
phpcups.c: In function `zif_cups_last_error_string':
phpcups.c:367: warning: implicit declaration of function
`cupsLastErrorString'
gmake[1]: *** [phpcups.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/cups-base/work/cups-1.2.0/scripting/php
'
gmake: *** [all] Error 1
*** Error code 2
Stop in /usr/ports/print/cups-base.
*** Error code 1
googling for the error or browsing through the ports mailinglist archive
didn't result in anything useful. Anyone any idea?
Bram
More information about the freebsd-ports
mailing list