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

From: Neil Toronto (neil.toronto at gmail.com)
Date: Sat Nov 10 15:19:17 EST 2012

On 11/09/2012 08:33 AM, 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.
>
> 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.

Anything that renders icons at compile time needs Cairo. That includes 
DrRacket, the macro stepper, algebraic stepper, optimization coach, etc.

Neil ⊥



Posted on the dev mailing list.