Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 18:10:20 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Zbigniew Komarnicki <cblasius@gmail.com>, Anton Shterenlikht <mexas@bristol.ac.uk>, Jonathan Chen <jonc@chen.org.nz>
Subject:   Re: ghostscript8 - errors when compiling from ports
Message-ID:  <200905151810.21142.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <20090513190810.GA44978@osiris.chen.org.nz>
References:  <200905131028.38815.cblasius@gmail.com> <200905131754.09494.cblasius@gmail.com> <20090513190810.GA44978@osiris.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905151810.21142.mel.flynn%2Bfbsd.questions>