Date: Fri, 23 Jun 2006 10:36:11 -0800 From: Beech Rintoul <beech@alaskaparadise.com> To: freebsd-ports@freebsd.org Cc: ports@freebsd.org, Derrick Edwards <derrick@uniquestrength.net>, a.l.w.kuijper@rug.nl Subject: Re: cups-base with php extension Message-ID: <200606231036.29404.beech@alaskaparadise.com> In-Reply-To: <200606231412.52083.derrick@uniquestrength.net> References: <449C266B.8080905@rug.nl> <200606231412.52083.derrick@uniquestrength.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart10465951.SJA4I7n8Ct Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 23 June 2006 10:12, Derrick Edwards wrote: > 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 'inde= x' > 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 th= is > 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. > > =3D=3D=3D>>> make failed for print/cups-base > =3D=3D=3D>>> Aborting update > > =3D=3D=3D>>> Update for cups-base-1.1.23.0_9 failed > =3D=3D=3D>>> Aborting update I'm getting the same thing. I submitted a pr. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@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 =2D------------------------------------------------------------------------= =2D------------- --nextPart10465951.SJA4I7n8Ct Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEnDStp5D0B1NlT4URAnurAJ9+1AM93vLocnK83iFWwe6XUBNM2wCcDMbL aauHuOj/sbeh4Odf9dCinVY= =qEtx -----END PGP SIGNATURE----- --nextPart10465951.SJA4I7n8Ct--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606231036.29404.beech>