Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2006 14:12:50 -0400
From:      Derrick Edwards <derrick@uniquestrength.net>
To:        freebsd-ports@freebsd.org, a.l.w.kuijper@rug.nl
Cc:        ports@freebsd.org
Subject:   Re: cups-base with php extension
Message-ID:  <200606231412.52083.derrick@uniquestrength.net>
In-Reply-To: <449C266B.8080905@rug.nl>
References:  <449C266B.8080905@rug.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 23 June 2006 13:35, Bram Kuijper wrote:
> 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
>
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

	Hi, I am getting the same thing also.
v/r
Derrick
n file included from /usr/local/include/php/ext/php_config.h:18,
                 from /usr/local/include/php/main/../main/php_config.h:2777,
                 from /usr/local/include/php/Zend/zend_config.h:1,
                 from /usr/local/include/php/Zend/zend.h:53,
                 from /usr/local/include/php/main/php.h:34,
                 from phpcups.c:33:
/usr/local/include/php/ext/imap/config.h:9:1: warning: "HAVE_LIBPAM" redefined
In file included from ../../cups/string.h:40,
                 from phpcups.c:32:
../../config.h:131:1: warning: this is the location of the previous definition
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

Stop in /usr/ports/print/cups-base.

===>>> make failed for print/cups-base
===>>> Aborting update

===>>> Update for cups-base-1.1.23.0_9 failed
===>>> Aborting update




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