Portupgrading cups-base gives compiler error

beni beni at brinckman.info
Fri Sep 28 12:11:11 PDT 2007


Hi all,

I'm running 6.2-STABLE and my ports are up to date. When trying to portupgrade 
print/cups-base from 1.2.12 to 1.3.0 I am getting a "compiler error". Any 
cure for this ?

Thanks !

...
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 -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.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.79030.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.2.12 
UPGRADE_PORT_VER=1.2.12 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! print/cups-base (cups-base-1.2.12)    (compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
bsdaddict#
-- 
Beni.


More information about the freebsd-questions mailing list