pkgsrc-Users archive

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

[LINUX][2012Q3] ghostscript doesn't build

Ghostscript build fails on Linux (i686). Tried with both distro-provided
gcc 4.2.3 and pkgsrc's own gcc 4.7.0. Ghostscript's build options are
'fontconfig x11' (the default). This with pkgsrc's xorg-modular-server

Last part of the build log attached.

-----BEGIN LOG-----
make[1]: Entering directory
cp jpeg/jcinit.c ./obj/../soobj/jcinit.c
-DHAVE_FONTCONFIG -O2  -I/usr/pkg/include -Ijpeg -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 -Wno-error -DA4 -fPIC -I/usr/pkg/include -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:5: error: 'JERR_ARITH_NOTIMPL' undeclared
(first use in this function)
./obj/../soobj/jcinit.c:45:5: note: each undeclared identifier is
reported only once for each function it appears in
./obj/../soobj/jcinit.c:45:5: warning: left-hand operand of comma
expression has no effect [-Wunused-value]
make[1]: *** [obj/../soobj/jcinit.o] Error 1
make[1]: Leaving directory
make: *** [so] Error 2
*** Error code 2

bmake: stopped in /usr/pkgsrc/print/ghostscript
*** Error code 1

bmake: stopped in /usr/pkgsrc/print/ghostscript
Exit 1
-----END LOG-----

> head -n1 /etc/*-{version,release} && uname -mprs
Slackware 12.1.0
Linux i686 AMD Turion(tm) 64 Mobile Technology MK-36

Home | Main Index | Thread Index | Old Index