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

problem with ghostcript under 3.6



Hi :)

I sent this message to ports@ but I'm not sure this was the right list, so I 
re-post it here.

I found a problem with the ghostscript port under 3.6.
The search path for ghostscript is:

Search path:
   . :
   /usr/ports/print/ghostscript/gnu/w-ghostscript-7.05p2-a4-no_x11/fake-i386-a4-no_x11/usr/local/share/ghostscript/7.05/lib :
   /usr/ports/print/ghostscript/gnu/w-ghostscript-7.05p2-a4-no_x11/fake-i386-a4-no_x11/usr/local/share/ghostscript/fonts

Which of course is wrong. As a result, I get that kind of errors:
GNU Ghostscript 7.05: Can't find initialization file gs_init.ps.

I can of course use the "-I/usr/local/share/ghostscript/7.05/lib" switch, but 
it is really not easy when gs is embedded in large scripts (like foomatic and 
friends).
>From the documentation, setting GS_LIB_DEFAULT macro in the makefile 
with the correct directories should correct this problem.

>From w-ghostscript-7.05p2-a4-no_x11/ghostscript-7.05/Makefile.in:

# Define the default directory/ies for the runtime
# initialization and font files.  Separate multiple directories with a :.
GS_LIB_DEFAULT=$(gsdatadir)/lib:$(gsdir)/fonts

I'm no guru, so if anyone could take care of this problem, this would be nice.
Except of course if the problem comes from my setup and not from the port.

Thanks.

Antoine



Visit your host, monkey.org