On Fri, 28 Sep 2007 11:46:49 -0500, Manfred Antar <[EMAIL PROTECTED]> 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 "[EMAIL PROTECTED]"

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


--
[EMAIL PROTECTED]  -  [EMAIL PROTECTED]
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  [EMAIL PROTECTED]
http://wiki.freebsd.org/multimedia  -  [EMAIL PROTECTED]
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to