Re: Cups upgrade compile failure

2007-09-29 Thread Marcin Wisnicki
On Fri, 28 Sep 2007 23:48:56 +0200, Christoph Moench-Tegeder wrote:

> Quoting myself,
> 
>> I'll hold my upgrade-request for cups 1.3.0->1.3.2 until this is fixed
>> :)
> 
> If anyone's bold enough to test, here's the port:
> http://www.burggraben.net/hacks/ports/cups_cups-base.tar.gz (containing
> print/cups and print/cups/base version 1.3.2).
> 
> Regards
> Christoph

I've submitted update to 1.3.3 so you may want to test that:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=116743

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


Re: Cups upgrade compile failure

2007-09-28 Thread Christoph Moench-Tegeder
Quoting myself,

> I'll hold my upgrade-request for cups 1.3.0->1.3.2 until this is fixed :)

If anyone's bold enough to test, here's the port:
http://www.burggraben.net/hacks/ports/cups_cups-base.tar.gz
(containing print/cups and print/cups/base version 1.3.2).

Regards
Christoph

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


Re: Cups upgrade compile failure

2007-09-28 Thread Christoph Moench-Tegeder
## Jeremy Messenger ([EMAIL PROTECTED]):

>  I think you should file a bug report 
> in CUPS's bugzilla or whatever what tool they have. Unless it has been solved 
> in CUPS 1.3.2.

Well, cups-1.3.2 usess the same Makedefs.in, resulting in the same
Makedefs and the same error. Whoops. See here:
http://www.cups.org/str.php?L2538+P0+S-2+C0+I0+E0+M10+Q
I'll hold my upgrade-request for cups 1.3.0->1.3.2 until this is fixed :)

Regards
Christoph

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


Re: Cups upgrade compile failure

2007-09-28 Thread Jeremy Messenger
On Fri, 28 Sep 2007 14:36:10 -0500, Christoph Moench-Tegeder  
<[EMAIL PROTECTED]> wrote:



## Jeremy Messenger ([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.


I just filed ports/116721 for that, patch included. See
http://www.freebsd.org/cgi/query-pr.cgi?pr=116721 or put this in
files/patch-Makedefs.in


Thanks! This is a better solution as I have pointed about that if that  
'-I/usr/local/include' do not come from -I${LOCALBASE}/include' in port  
Makefile's CPPFLAGS then it's a CUPS bug. I think you should file a bug  
report in CUPS's bugzilla or whatever what tool they have. Unless it has  
been solved in CUPS 1.3.2.


/me goes to fetch this patch for he can upgrade his system tonight or  
tomorrow.


Cheers,
Mezz


--- Makedefs.in.origFri Sep 28 21:13:27 2007
+++ Makedefs.in Fri Sep 28 21:13:48 2007
@@ -108,8 +108,8 @@
 #   for extra debug info)
 #
-ALL_CFLAGS =   $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
-   $(OPTIONS) $(CFLAGS)
+ALL_CFLAGS =   $(CFLAGS) $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
+   $(OPTIONS)
 ARCHFLAGS  =   @ARCHFLAGS@
 ARFLAGS=   @ARFLAGS@
 BACKLIBS   =   @BACKLIBS@


Regards
Christoph



--
[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]"


Re: Cups upgrade compile failure

2007-09-28 Thread Christoph Moench-Tegeder
## Jeremy Messenger ([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.

I just filed ports/116721 for that, patch included. See
http://www.freebsd.org/cgi/query-pr.cgi?pr=116721 or put this in
files/patch-Makedefs.in


--- Makedefs.in.origFri Sep 28 21:13:27 2007
+++ Makedefs.in Fri Sep 28 21:13:48 2007
@@ -108,8 +108,8 @@
 #   for extra debug info)
 #
 
-ALL_CFLAGS =   $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
-   $(OPTIONS) $(CFLAGS)
+ALL_CFLAGS =   $(CFLAGS) $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
+   $(OPTIONS)
 ARCHFLAGS  =   @ARCHFLAGS@
 ARFLAGS=   @ARFLAGS@
 BACKLIBS   =   @BACKLIBS@


Regards
Christoph

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


Re: Cups upgrade compile failure

2007-09-28 Thread Jeremy Messenger

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]"


Re: Cups upgrade compile failure

2007-09-28 Thread David Southwell
On Friday 28 September 2007 09:46:49 Manfred Antar 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
> Manfred
>
Thanks v. much that did it!!

:-)

david


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


Re: Cups upgrade compile failure

2007-09-28 Thread Manfred Antar
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
Manfred

==
||  [EMAIL PROTECTED]   ||
||  Ph. (415) 681-6235  ||
== 

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


Cups upgrade compile failure

2007-09-28 Thread David Southwell

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]"