cups support in print/xfce4-print

Cary cary at SDF.ORG
Tue Apr 22 01:10:03 UTC 2014


On Tue, Apr 22, 2014 at 10:30:37AM +1000, Robert Backhaus wrote:
> On 22 April 2014 09:41, Cary <cary at sdf.org> wrote:
> 
> > print/xfce4-print builds normally on 9.2-R with default config,
> > but build fails when port is configured with "--enable-cups" rather
> > than "--enable-bsdlpr".
> >
> > STDERR attached.
> >
> 
> Could we have a little more information? The command lines for that error
> would be good. Editing the makefile to add MAKE_JOBS_UNSAFE=yes would make
> them easier to read too.

Hi Robert,

Here is output from running make again with MAKE_JOBS_UNSAFE set 
to "YES" in /etc/make.conf .

thanks, 
Cary
-- 
cary at sdf.org
SDF Public Access UNIX System - http://sdf.org
-------------- next part --------------
Making all in cups
gmake[3]: Entering directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/printing-systems/cups'
/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -L/usr/local/lib -I../.. -I../../libxfprint 
-I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread  -I/usr/local/include/freetype2 
-I/usr/local/include/harfbuzz -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 
-I/usr/local/include -I/usr/local/include -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DCUPS_DATA_DIR=\"/usr/local/share/cups\" 
-DPRINTCAP_PATH=\"/usr/local/etc/printcap\" -O2 -pipe -fno-strict-aliasing -MT cups_plugin_la-cups.lo -MD -MP -MF .deps/cups_plugin_la-cups.Tpo -c -o 
cups_plugin_la-cups.lo `test -f 'cups.c' || echo './'`cups.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -L/usr/local/lib -I../.. -I../../libxfprint -I/usr/local/include/gtk-2.0 
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/freetype2 
-I/usr/local/include/harfbuzz -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 
-I/usr/local/include -I/usr/local/include -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DCUPS_DATA_DIR=\"/usr/local/share/cups\" 
-DPRINTCAP_PATH=\"/usr/local/etc/printcap\" -O2 -pipe -fno-strict-aliasing -MT cups_plugin_la-cups.lo -MD -MP -MF .deps/cups_plugin_la-cups.Tpo -c cups.c  -fPIC 
-DPIC -o .libs/cups_plugin_la-cups.o
cups.c: In function 'cups_request_new':
cups.c:136: error: dereferencing pointer to incomplete type
cups.c:137: error: dereferencing pointer to incomplete type
cups.c: In function 'get_printers':
cups.c:245: error: dereferencing pointer to incomplete type
cups.c:245: error: dereferencing pointer to incomplete type
cups.c:251: error: dereferencing pointer to incomplete type
cups.c:254: error: dereferencing pointer to incomplete type
cups.c:259: error: dereferencing pointer to incomplete type
cups.c:262: error: dereferencing pointer to incomplete type
cups.c: In function 'get_printer_state':
cups.c:312: error: dereferencing pointer to incomplete type
gmake[3]: *** [cups_plugin_la-cups.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/pri
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1/pri
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/print/xfce4-print/work/xfprint-4.6.1'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/print/xfce4-print.
*** [stage] Error code 1

Stop in /usr/ports/print/xfce4-print.



More information about the freebsd-ports mailing list