Date: Fri, 28 Sep 2007 14:28:15 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: "Manfred Antar" <null@pozo.com> Cc: David Southwell <david@vizion2000.net>, freebsd-ports@freebsd.org Subject: Re: Cups upgrade compile failure Message-ID: <op.tzdppdwv9aq2h7@mezz.mezzweb.com> In-Reply-To: <200709281646.l8SGknje086075@pozo.com> References: <200709280917.07844.david@vizion2000.net> <200709281646.l8SGknje086075@pozo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Sep 2007 11:46:49 -0500, Manfred Antar <null@pozo.com> wrote: > At 09:17 AM 9/28/2007, David Southwell wrote: > >> On Upgrade: >> Making all in cups... >> gmake[1]: Entering directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/cups' >> gmake[1]: Nothing to be done for `all'. >> gmake[1]: Leaving directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/cups' >> Making all in backend... >> gmake[1]: Entering directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/backend' >> gmake[1]: Nothing to be done for `all'. >> gmake[1]: Leaving directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/backend' >> Making all in berkeley... >> gmake[1]: Entering directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/berkeley' >> gmake[1]: Nothing to be done for `all'. >> gmake[1]: Leaving directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/berkeley' >> Making all in cgi-bin... >> gmake[1]: Entering directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/cgi-bin' >> echo Compiling admin.c... >> Compiling admin.c... >> cc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g >> -I/usr/local/include -I/usr/local/include -I/usr/local/include >> -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE >> -D_THREAD_SAFE -D_REENTRANT -I.. -I/usr/local/include -O2 >> -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE >> -D_THREAD_SAFE -D_REENTRANT -c >> admin.c >> admin.c: In function `do_config_server': >> admin.c:1364: warning: implicit declaration of function >> `cupsAdminGetServerSettings' >> admin.c:1383: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in >> this >> function) >> admin.c:1383: error: (Each undeclared identifier is reported only once >> admin.c:1383: error: for each function it appears in.) >> admin.c:1421: warning: implicit declaration of function >> `cupsAdminSetServerSettings' >> admin.c: In function `do_menu': >> admin.c:2278: error: `CUPS_SERVER_REMOTE_ANY' undeclared (first use in >> this >> function) >> gmake[1]: *** [admin.o] Error 1 >> gmake[1]: Leaving directory >> `/usr/ports/print/cups-base/work/cups-1.3.0/cgi-bin' >> gmake: *** [all] Error 1 >> *** Error code 2 >> >> Stop in /usr/ports/print/cups-base. >> *** Error code 1 >> >> Stop in /usr/ports/print/cups-base. >> _______________________________________________ >> 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" > > If you get rid of /usr/local/include/cups directory , it works > Somehow it picks up those includes instead of the ones in the port > diectory Above shows that it has four of '-I/usr/local/include' before that '-I..'. I had to solve problem in libsndfile by using '-isystem ${LOCALBASE}/include' instead '-I${LOCALBASE}/include' in CPPFLAGS, so it may works for CUPS too. If that '-I/usr/local/include' don't come from CPPFLAGS in port's Makefile then it's a bug in CUPS. I have taken a look at CUPS website and there has 1.3.2 released back in Sept 18th. In the 1.3.1 release notes said that it fixes some build issues. It might be has to do with this or not. Cheers, Mezz > Manfred -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tzdppdwv9aq2h7>