cups-1.3.3 not compiling anymore in FreeBSD 7.0

2007-10-02 Thread O. Hartmann

Hello,

Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of 
upgrading cups-base port with the follwoing error. Can anyone help?


Thanks a lot,

Regards,
Oliver


Making all in scripting/php...
gmake[1]: Entering directory 
`/usr/ports/print/cups-base/work/cups-1.3.3/scripting/php'

echo Compiling phpcups.c...
Compiling phpcups.c...
cc  -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I.. 
-I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium4 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT 
-I../.. `/usr/local/bin/php-config --includes` -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. 
`/usr/local/bin/php-config --includes` -c phpcups.c

phpcups.c: In function 'zm_startup_phpcups':
phpcups.c:163: error: 'CUPS_PRINTER_DISCOVERED' undeclared (first use in 
this function)

phpcups.c:163: error: (Each undeclared identifier is reported only once
phpcups.c:163: error: for each function it appears in.)
gmake[1]: *** [phpcups.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/print/cups-base/work/cups-1.3.3/scripting/php'

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.53922.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.
---  Build of print/cups-base ended at: Tue, 02 Oct 2007 13:15:20 + 
(consumed 00:05:54)
---  Upgrade of print/cups-base ended at: Tue, 02 Oct 2007 13:15:20 
+ (consumed 00:05:54)

---  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! print/cups-base (cups-base-1.2.12)(compiler error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
---  Session ended at: Tue, 02 Oct 2007 13:15:20 + (consumed 00:05:58)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0

2007-10-02 Thread Doug Barton

On Tue, 2 Oct 2007, O. Hartmann wrote:


Hello,

Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of 
upgrading cups-base port with the follwoing error. Can anyone help?


There was some sort of issue with stale headers IIRC. Make sure your ports 
tree is up to date, pkg_delete the old cups before installing the new one 
and you should be ok.


hth,

Doug

--

This .signature sanitized for your protection

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0

2007-10-02 Thread John Murphy
On Tue, 02 Oct 2007 13:32:33 +
O. Hartmann [EMAIL PROTECTED] wrote:

 Hello,
 
 Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of 
 upgrading cups-base port with the follwoing error. Can anyone help?
 
 Thanks a lot,
 
 Regards,
 Oliver

I get a similar error while trying to upgrade kdelibs on 6.2-RELEASE:

gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
/lpdunix'
Making all in cups
gmake[3]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprin
t/cups'
Making all in cupsdconf2
gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprin
t/cups/cupsdconf2'
echo '#include kdemacros.h'  cupsdconf_dummy.cpp; \
echo 'extern C int kdemain(int argc, char* argv[]);'  cupsdconf_dumm
y.cpp; \
echo 'extern C KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { re
turn kdemain(argc,argv); }'  cupsdconf_dummy.cpp
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_C
ONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kss
l -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I..
/../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../..
/kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../k
io/kfile -I../../..  -I/usr/local/include -I/usr/local/include -I/usr/local/incl
ude  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/l
ocal/include  -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -
Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing
 -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CL
EAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
 -MT cupsdconf_dummy.lo -MD -MP -MF .deps/cupsdconf_dummy.Tpo -c -o cupsdconf_
dummy.lo cupsdconf_dummy.cpp; \
then mv -f .deps/cupsdconf_dummy.Tpo .deps/cupsdconf_dummy.Plo; else
 rm -f .deps/cupsdconf_dummy.Tpo; exit 1; fi

[snip]

if /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile cc -DHAVE_CON
FIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl
-I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../.
./../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../k
decore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio
/kfile -I../../..  -I/usr/local/include -I/usr/local/include -I/usr/local/includ
e  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/loc
al/include  -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -DNDEBUG -O2  -O2
-fno-strict-aliasing -pipe  -MT cups-util.lo -MD -MP -MF .deps/cups-util.Tpo -
c -o cups-util.lo cups-util.c; \
then mv -f .deps/cups-util.Tpo .deps/cups-util.Plo; else rm -f .dep
s/cups-util.Tpo; exit 1; fi
cups-util.c: In function `cupsGetConf':
cups-util.c:111: error: dereferencing pointer to incomplete type
cups-util.c:119: error: dereferencing pointer to incomplete type
cups-util.c:138: error: dereferencing pointer to incomplete type
cups-util.c:213: warning: `httpRead' is deprecated (declared at /usr/local/inclu
de/cups/http.h:361)
cups-util.c: In function `cupsPutConf':
cups-util.c:308: warning: `httpWrite' is deprecated (declared at /usr/local/incl
ude/cups/http.h:371)
cups-util.c:312: warning: `httpWrite' is deprecated (declared at /usr/local/incl
ude/cups/http.h:371)
cups-util.c:337: error: dereferencing pointer to incomplete type
cups-util.c:345: error: dereferencing pointer to incomplete type
cups-util.c:364: error: dereferencing pointer to incomplete type
cups-util.c: In function `cups_local_auth':
cups-util.c:454: warning: passing arg 1 of `httpAddrLocalhost' from incompatible
 pointer type
gmake[4]: *** [cups-util.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
/cups/cupsdconf2'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
/cups'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint
'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdelibs3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.35894.0 en
v UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdelibs-3.5.7_1 UPGRADE_PORT_VER=3.5.7_1
 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/kdelibs3 (kdelibs-3.5.7_1)(unknown build error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

-- 
Thanks, john.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 

Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0

2007-10-02 Thread Jeffrey Goldberg

On Oct 2, 2007, at 8:32 AM, O. Hartmann wrote:


Hello,

Since several days all my FreeBSD 7.0-CURRENT boxes are incapable  
of upgrading cups-base port


I was getting the same error on 6.2 RELENG when trying to upgrade  
using portupgrade, but the error went away by magic when I did a


   make deinstall
   make clean
   make reinstall

in the cups-base port directory.

I don't know if this will work for others.  I don't know why it  
worked for me.


-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0

2007-10-02 Thread Robert Huff

Jeffrey Goldberg writes:

   Since several days all my FreeBSD 7.0-CURRENT boxes are incapable  
   of upgrading cups-base port
  
  I was getting the same error on 6.2 RELENG when trying to upgrade  
  using portupgrade, but the error went away by magic when I did a
  
  make deinstall
  make clean
  make reinstall
  
  in the cups-base port directory.
  
  I don't know if this will work for others.

Worked for me.


Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]