From owner-freebsd-questions@FreeBSD.ORG Mon Oct 31 02:31:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3C8D16A41F for ; Mon, 31 Oct 2005 02:31:56 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from smtpout1.ywave.com (ycomradius.yelmtel.com [216.227.100.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B52443D45 for ; Mon, 31 Oct 2005 02:31:56 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: (qmail 25273 invoked by uid 502); 31 Oct 2005 02:31:55 -0000 Received: from dsl28217.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.217) by 0 with SMTP; 31 Oct 2005 02:31:55 -0000 X-CLIENT-IP: 216.227.115.217 X-CLIENT-HOST: dsl28217.ywave.com Message-ID: <4365821A.4000904@ywave.com> Date: Sun, 30 Oct 2005 18:31:54 -0800 From: Micah User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: freeBSD References: <4365667A.4090408@ywave.com> In-Reply-To: <4365667A.4090408@ywave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ghostscript headaches X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 02:31:57 -0000 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