Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 18:31:54 -0800
From:      Micah <micahjon@ywave.com>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: ghostscript headaches
Message-ID:  <4365821A.4000904@ywave.com>
In-Reply-To: <4365667A.4090408@ywave.com>
References:  <4365667A.4090408@ywave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Micah wrote:
> Hi all,
> 
> I'm running FBSD 5.4-release-p7.  I've had gs-gnu 7.07 installed from 
> when I installed FBSD 5.3.  I just installed scribus and it needs a 
> newer gs.  I set WITH_GHOSTSCRIPT_AFPL=yes, deinstalled gs-gnu, 
> installed gs-afpl, and did a pkgdb -F.  Scribus now worked right but 
> cups didn't.  I tried portupgrade -f cups\* but it failed in 
> cups-pstoraster (see below).  I thought I'd try gs-gpl, but I can't find 
> a WITH_GHOSTSCRIPT_GPL flag.  A few messages on freebsd.org seems to 
> indicate that gs-gpl is the default, but then why am I stuck with 
> gs-gnu?  Anyone have any words of advice on how to get an 8.x gs running 
> on my machine with cups?
> 
> Thanks,
> Micah
> 
> trisha# pwd
> /usr/ports/print/cups-pstoraster
> trisha# make build
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for cups-pstoraster-8.15
> => Checksum OK for ghostscript/espgs-8.15rc3-source.tar.bz2.
> ===>  Patching for cups-pstoraster-8.15
> ===>   cups-pstoraster-8.15 depends on file: /nonexistent - not found
> ===>    Verifying patch for /nonexistent in 
> /usr/ports/print/ghostscript-afpl
> ===>   Returning to build of cups-pstoraster-8.15
> ===>  Applying FreeBSD patches for cups-pstoraster-8.15
> /bin/ln -sf 
> /usr/ports/print/cups-pstoraster/work/espgs-8.15rc3/pstoraster/gdevcups.c 
> $(/bin/realpath /usr/ports)/print/ghostscript-afpl/work/ghostscript/src
> ln: /usr/ports/print/ghostscript-afpl/work/ghostscript/src: No such file 
> or directory
> *** Error code 1
> 
> Stop in /usr/ports/print/cups-pstoraster.
> 

After digging through patches and problem reports, I was able to piece 
together something.  cups-pstoraster seems partially broken.  It works 
with gs-gpl only if GHOSTSCRIPT_PORT=print/ghostscript-gpl.  I don't 
know if it will work with gs-afpl.  I just don't want to recompile 
everything again just to see if it works.  I now have a working cups 
/and/ a working scribus and GHOSTSCRIPT_PORT set in my make.conf.

Later,
Micah



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