cups-base build error

Beech Rintoul beech at alaskaparadise.com
Fri Jun 23 10:55:49 UTC 2006


Looks like cups-base is bailing on php:

echo Compiling phpcups.c...
Compiling phpcups.c...
cc  -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I.. -I/usr/local/include -I.. 
-I/usr/local/include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. 
`/usr/local/bin/php-config --includes` -c phpcups.c
In file included from /usr/local/include/php/main/php.h:38,
                 from phpcups.c:33:
/usr/local/include/php/Zend/zend_API.h:315: warning: declaration of 'index' 
shadows a global declaration
/usr/include/strings.h:50: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:404,
                 from phpcups.c:33:
/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:178: warning: declaration 
of 'link' shadows a global declaration
/usr/include/unistd.h:348: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:406,
                 from phpcups.c:33:
/usr/local/include/php/Zend/zend_constants.h:62: warning: declaration 
of 'strlen' shadows a global declaration
/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 global 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 
function)
phpcups.c:133: error: `CUPS_PRINTER_AUTHENTICATED' undeclared (first use in 
this function)
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

Anyone else seeing this?

Beech

-- 

---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech at alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060623/bf9e1b42/attachment.pgp


More information about the freebsd-ports mailing list