Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2006 19:35:39 +0200
From:      Bram Kuijper <a.l.w.kuijper@rug.nl>
To:        ports@freebsd.org
Subject:   cups-base with php extension
Message-ID:  <449C266B.8080905@rug.nl>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449C266B.8080905>