Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2012 18:03:19 -0200
From:      Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Update ghostscript compile error....
Message-ID:  <1329077000.61323.2.camel@z6000.lenzicasa>
In-Reply-To: <20120212095018.74a78cc8@scorpio>
References:  <20120212095018.74a78cc8@scorpio>

next in thread | previous in thread | raw e-mail | index | archive | help
Em Dom, 2012-02-12 às 09:50 -0500, Jerry escreveu:

> I was wondering if there are any plans to update ghostscript to the
> latest version -- Ghostscript 9.05
> 


it is already there .... portsnap fetch update,

But it does not compile, 
....
====================================
cc  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE
-DHAVE_SSE2 -DHAVE_DBUS   -O2 -pipe -fno-strict-aliasing -g -fPIC
-DUPD_SIGNAL=0 -I.
-I/usr/ports/print/ghostscript9/work/ghostscript-9.05/lcms/include
-I/usr/local/include/libpng  -I/usr/local/include
-I/usr/local/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=1 -DHAVE_SYS_TIME_H=1
-DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -pipe -fno-strict-aliasing
-DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/usr/local/include
-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/9.05
\"  -DA4 -Iopenjpeg/libopenjpeg/.. -Iopenjpeg/libopenjpeg -I./soobj
-I./base -DUSE_OPENJPEG_JP2  -o ./soobj/sjpx_openjpeg.o \
	-c -DOPJ_STATIC ./base/sjpx_openjpeg.c
./base/sjpx_openjpeg.c: In function 'decode_image':
./base/sjpx_openjpeg.c:169: error: too many arguments to function
'opj_decode'
./base/sjpx_openjpeg.c:205: error: 'opj_image_comp_t' has no member
named 'typ'
./base/sjpx_openjpeg.c:205: error: 'CTYPE_COLOR' undeclared (first use
in this function)
./base/sjpx_openjpeg.c:205: error: (Each undeclared identifier is
reported only once
./base/sjpx_openjpeg.c:205: error: for each function it appears in.)
./base/sjpx_openjpeg.c:207: error: 'opj_image_comp_t' has no member
named 'typ'
./base/sjpx_openjpeg.c:207: error: 'CTYPE_OPACITY' undeclared (first use
in this function)
./base/sjpx_openjpeg.c:217: error: 'CLRSPC_CMYK' undeclared (first use
in this function)
./base/sjpx_openjpeg.c:250: error: 'opj_image_t' has no member named
'has_palette'
./base/sjpx_openjpeg.c:257: error: 'CLRSPC_EYCC' undeclared (first use
in this function)
gmake[2]: ** [soobj/sjpx_openjpeg.o] Erro 1
===============================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1329077000.61323.2.camel>