pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: print/ghostscript fails to build



PR pkg/41952.

Maybe, move -Ijpeg ahead of -I/usr/pkg/inclue, or need to switch ghostscript to 
use external jpeg?

On Sun, 30 Aug 2009 21:56:54 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> 
wrote:

>
> print/ghostscript is failing for me on NetBSD/i386 5, with the new jpeg
> library.
>
> cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2  -I/usr/pkg/include 
> -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/freetype2  -Wall 
> -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes 
> -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement 
> -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long 
> long" -O2 -fPIC -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include 
> -I/usr/pkg/include/freetype2 -DUSE_LIBPAPER  -I./obj/../soobj -Ijpeg  -o 
> ./obj/../soobj/jcinit.o -c ./obj/../soobj/jcinit.c
> ./obj/../soobj/jcinit.c: In function 'jinit_compress_master':
> ./obj/../soobj/jcinit.c:45: error: 'JERR_ARITH_NOTIMPL' undeclared (first use 
> in this function)
> ./obj/../soobj/jcinit.c:45: error: (Each undeclared identifier is reported 
> only once
> ./obj/../soobj/jcinit.c:45: error: for each function it appears in.)
> ./obj/../soobj/jcinit.c:45: warning: left-hand operand of comma expression 
> has no effect
> gmake[1]: *** [obj/../soobj/jcinit.o] Error 1
> gmake[1]: Leaving directory 
> `/n0/gdt/NetBSD-current/pkgsrc/print/ghostscript/work/ghostscript-8.64'
> gmake: *** [so] Error 2
> *** Error code 2
>
> Stop.
> make: stopped in /n0/gdt/NetBSD-current/pkgsrc/print/ghostscript
> *** Error code 1
>
> Stop.
> make: stopped in /n0/gdt/NetBSD-current/pkgsrc/print/ghostscript
> 

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index