bad port - ghostscript

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

bad port - ghostscript

Roman Gorodeckij
Hello)

I can't compile ghostscript in any way. All dependencies are installed ok but I have still jpeglib.h error..

===>  Building for ghostscript-8.63p11
mkdir -p /usr/ports/pobj/ghostscript-8.63p11/ghostscript-8.63/obj
gmake LDFLAGS='-L/usr/local/lib -shared' GS_XE=./obj/../obj/libgs.so.11.0 STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../obj/display.dev BINDIR=./obj/../obj GLGENDIR=./obj/../obj GLOBJDIR=./obj/../obj PSGENDIR=./obj/../obj PSOBJDIR=./obj/../obj CFLAGS='-O2 -fno-reorder-blocks -fno-reorder-functions -fomit-frame-pointer -march=i386 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.63\"' prefix=/usr/local ./obj/../obj/gsc
gmake[1]: Entering directory `/usr/ports/pobj/ghostscript-8.63p11/ghostscript-8.63'
cc -I./obj/../obj -I./src   -DHAVE_MKSTEMP -O2 -fno-reorder-blocks -fno-reorder-functions -fomit-frame-pointer -march=i386 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.63\" -DGX_COLOR_INDEX_TYPE='unsigned long long' -o ./obj/../obj/sdctc.o -c ./src/sdctc.c
In file included from src/sdctc.c:17:
obj/jpeglib_.h:1:21: jpeglib.h: No such file or directory
In file included from src/sdctc.c:19:
src/sdct.h:58: error: field `err' has incomplete type
src/sdct.h:70: error: field `err' has incomplete type
src/sdct.h:72: error: field `cinfo' has incomplete type
src/sdct.h:73: error: field `destination' has incomplete type
src/sdct.h:84: error: field `err' has incomplete type
src/sdct.h:87: error: field `dinfo' has incomplete type
src/sdct.h:88: error: field `source' has incomplete type
gmake[1]: *** [obj/../obj/sdctc.o] Error 1
gmake[1]: Leaving directory `/usr/ports/pobj/ghostscript-8.63p11/ghostscript-8.63'
gmake: *** [so] Error 2
*** Error code 2

Stop in /usr/ports/print/ghostscript/gnu (line 2225 of /usr/ports/infrastructure/mk/bsd.port.mk).

AS I mentioned jpeg is installed, I tried to add CFLAG to Makefile "-I/usr/local" but still nothing
Can you address this mail where it should be addressed..?
Reply | Threaded
Open this post in threaded view
|

Re: bad port - ghostscript

J.C. Roberts-3
On Thu, 13 May 2010 01:17:01 +0300 Roman Gorodeckij <[hidden email]>
wrote:

> Hello)
>
> I can't compile ghostscript in any way. All dependencies are
> installed ok but I have still jpeglib.h error..
>
> ===>  Building for ghostscript-8.63p11
> mkdir -p /usr/ports/pobj/ghostscript-8.63p11/ghostscript-8.63/obj
>
> AS I mentioned jpeg is installed, I tried to add CFLAG to Makefile
> "-I/usr/local" but still nothing Can you address this mail where it
> should be addressed..?

This is the right mailing list for problems with ports.

You're ports tree is a very stale -current checkout from between Feb 6
and Mar 31. The -current tree has been at p12 since March 31, 2010.

You provided no information about your system. --Are you trying to mix
a 4.6 STABLE or 4.6 RELEASE system with a -current ports tree?
http://www.openbsd.org/faq/faq15.html#NoFun

If your system is following -current properly, did you notice the
important info (including very recent stuff about ports) listed on the
current.html page?
http://www.openbsd.org/faq/current.html

        jcr

--
The OpenBSD Journal - http://www.undeadly.org

Reply | Threaded
Open this post in threaded view
|

Re: bad port - ghostscript

Matthias Kilian
In reply to this post by Roman Gorodeckij
On Thu, May 13, 2010 at 01:17:01AM +0300, Roman Gorodeckij wrote:
> ===>  Building for ghostscript-8.63p11
> mkdir -p /usr/ports/pobj/ghostscript-8.63p11/ghostscript-8.63/obj
> gmake LDFLAGS='-L/usr/local/lib -shared' GS_XE=./obj/../obj/libgs.so.11.0 STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../obj/display.dev BINDIR=./obj/../obj GLGENDIR=./obj/../obj GLOBJDIR=./obj/../obj PSGENDIR=./obj/../obj PSOBJDIR=./obj/../obj CFLAGS='-O2 -fno-reorder-blocks -fno-reorder-functions -fomit-frame-pointer -march=i386 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.63\"' prefix=/usr/local ./obj/../obj/gsc

Stop fiddling with CFLAGS in your /etc/mk.conf. This isn't Gentoo Linux.