Setting up CUPS on FreeBSD-arm using Raspberry Pi 2

Tijl Coosemans tijl at FreeBSD.org
Mon Dec 5 09:41:55 UTC 2016


On Sun, 4 Dec 2016 15:05:09 -0800 bob prohaska <fbsd at www.zefox.net> wrote:
> On Sun, Dec 04, 2016 at 11:14:00PM +0100, Tijl Coosemans wrote:
>> You need cups-filters yes.  Please post the last couple of build commands
>> and error messages you are seeing.  
> 
> The build command is just 
> make -DBATCH
> 
> There's much intermediate output and lots of warnings, ending with
> 
> ................snippage..............
> 
> xicc/xicc.h:86:23: note: expanded from macro 'icxSigJabData'
> #define icxSigJabData ((icColorSpaceSignature) icmMakeTag('J','a','b',' '))
>                       ^
> Archive gamut/libgammap.a 
> Cc_ xicc/xspect.o 
> Cc_ xicc/xcolorants.o 
> Cc_ xicc/xutils.o 
> 45 warnings generated.
> Archive icc/libicc.a 
> Cc_ xicc/iccjpeg.o 
> Cc_ xicc/xdevlin.o 
> Cc_ xicc/xcam.o 
> Cc_ xicc/cam97s3.o 
> Cc_ xicc/cam02.o 
> Cc_ xicc/mpp.o 
> Cc_ xicc/ccmx.o 
> Cc_ xicc/ccss.o 
> Cc_ xicc/xfit.o 
> Cc_ xicc/xdgb.o 
> Cc_ xicc/moncurve.o 
> Cc_ xicc/xcal.o 
> Cc_ xicc/bt1886.o 
> xicc/bt1886.c:111:2: warning: array index 2 is past the end of the array (which
>       contains 2 elements) [-Warray-bounds]
>         p->tab[2] = 0.0;
>         ^      ~
> xicc/bt1886.h:27:2: note: array 'tab' declared here
>         double tab[2];                          /* Target ab offset valu...
>         ^
> 1 warning generated.
> Cc_ xicc/xcolorants2.o 
> 5 warnings generated.
> Cc_ xicc/xutils2.o 
> Archive xicc/libxcolorants.a 
> Cc_ xicc/iccjpeg2.o 
> Link_ imdi/imdi_make 
> /usr/bin/ld: cannot find -lXss
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> 	cc -o imdi/imdi_make  imdi/imdi_make.o imdi/imdi_gen.o imdi/cgen.o    -L/usr/local/lib -g -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -lusb -ltiff -ljpeg -lpng -lz -lm -lpthread  
> 
> ...failed Link_ imdi/imdi_make ...
> ...skipped <imdi>imdi_k.h for lack of <imdi>imdi_make...
> ...skipped <imdi>imdi.o for lack of <imdi>imdi.c...
> ...skipped <imdi>libimdi.a for lack of <imdi>libimdi.a(imdi.o)...
> Archive xicc/libxutils.a 
> Archive xicc/libxicc.a 
> ...failed updating 1 target(s)...
> ...skipped 3 target(s)...
> ...updated 77 target(s)...
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/graphics/argyllcms
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/graphics/colord
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/print/cups-filters
> root at www:/usr/ports/print/cups-filters # 
> 
> Restarting make in /usr/ports/graphics/argyllcms has the same effect.

Check that you have the following files and if not install x11/libXScrnSaver

/usr/local/lib/libXss.a
/usr/local/lib/libXss.so
/usr/local/lib/libXss.so.1
/usr/local/lib/libXss.so.1.0.0


More information about the freebsd-ports mailing list