[racket-dev] Racket doesn't compile without cairo

From: Marijn (hkBst at gentoo.org)
Date: Mon Nov 12 04:44:42 EST 2012

Hash: SHA1

On 09-11-12 16:33, Eli Barzilay wrote:
> Four hours ago, Sam Tobin-Hochstadt wrote:
>> On Fri, Nov 9, 2012 at 4:57 AM, Marijn <hkBst at gentoo.org> wrote:
>>> I've had a report that building racket without X doesn't work
>>> if cairo is not installed. Presumably in this mode it should
>>> not need cairo, right?
>> Libraries like `racket/draw` and `slideshow/pict` don't need X
>> -- they can produce PDFs or PNGs or other formats, but they do
>> rely on cairo.
> IIUC, Marijn is talking about the required libraries for compiling 
> Racket, and since cairo is used in the doc build, it is needed,
> which (at least in the Fedora package I have) means that you also
> need to have X installed.

Indeed I am inquiring after the libraries required for compiling
Racket. On Gentoo, cairo can be configured ``without X'' (whether X is
installed or not), so if cairo is really needed for building ``without
X'' it is no problem to specify that.

So my question is then, is cairo really needed for compiling the
textual part of Racket or is it a dependency that slipped in by accident?

> Marijn: if this is a problem, you might get around it by avoiding
> the documentation build, but maybe not -- I think that the icon
> build also requires it.

It's not a problem. I'm trying to correct a user-reported error in the
dependencies of the Gentoo Racket package. If I made a wrong
inference/assumption about when cairo is needed, then I want to
correct that. My initial thought though, was that it was an
inadvertent dependency for the textual part.

Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/


Posted on the dev mailing list.