From owner-freebsd-ports@FreeBSD.ORG Fri Jun 23 18:37:11 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 272AC16A49E; Fri, 23 Jun 2006 18:37:11 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 517C643D4C; Fri, 23 Jun 2006 18:36:51 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id E310E4155; Fri, 23 Jun 2006 10:36:30 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-ports@freebsd.org Date: Fri, 23 Jun 2006 10:36:11 -0800 User-Agent: KMail/1.9.3 References: <449C266B.8080905@rug.nl> <200606231412.52083.derrick@uniquestrength.net> In-Reply-To: <200606231412.52083.derrick@uniquestrength.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10465951.SJA4I7n8Ct"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606231036.29404.beech@alaskaparadise.com> Cc: ports@freebsd.org, Derrick Edwards , a.l.w.kuijper@rug.nl Subject: Re: cups-base with php extension X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 18:37:11 -0000 --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--