From owner-freebsd-questions@FreeBSD.ORG Fri May 15 16:10:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E73241065675 for ; Fri, 15 May 2009 16:10:24 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B27938FC16 for ; Fri, 15 May 2009 16:10:23 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 76E497E837; Fri, 15 May 2009 08:10:22 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Fri, 15 May 2009 18:10:20 +0200 User-Agent: KMail/1.11.2 (FreeBSD/8.0-CURRENT; KDE/4.2.3; i386; ; ) References: <200905131028.38815.cblasius@gmail.com> <200905131754.09494.cblasius@gmail.com> <20090513190810.GA44978@osiris.chen.org.nz> In-Reply-To: <20090513190810.GA44978@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905151810.21142.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Zbigniew Komarnicki , Anton Shterenlikht , Jonathan Chen Subject: Re: ghostscript8 - errors when compiling from ports 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: Fri, 15 May 2009 16:10:25 -0000 On Wednesday 13 May 2009 21:08:11 Jonathan Chen wrote: > On Wed, May 13, 2009 at 05:54:09PM +0200, Zbigniew Komarnicki wrote: > > On Wednesday 13 of May 2009 12:08:55 you wrote: > > > just a guess, looks like a problems with cups-base, try to update it > > > first. I recommend ports-mgmt/portmaster. > > > > Thank you for help :-) > > > > I upgraded all my installed ports, by > > # portmaster -a > > > > but this error still remain. I also reinstall the cups-base port by > > # portmaster -rf print/cups-base > > > > but still with no success. Here is the output: > > Here's the thing: Ghostscript has a hidden (and apparently broken) > dependency on cups (ie, it's not in the Makefile). It's called autotools magic. If cups.h is found, --disable-cups isn't set then the assumption is made that cups/raster.h also exists, but in FreeBSD ports cups/raster.h is not installed when only cups-client is installed. If you also want gs binary to be able to print to cups directly, then after you did this upgrade, reinstall ghostscript 8 again, so it will pick up the cups support automatically. Most people don't care about this last bit, since gs is used under the hood to transform document formats and printing is done via a higher level application. -- Mel