<div>scheme-newbie here (more familiar with clojure). I'm running gentoo linux (amd64, ie: 64bit), and have a problem with drscheme. </div><div><br></div><div>(in case this is specific to gentoo, so some gentoo-specific info below)</div>
<div>The latest plt-scheme in mainstream gentoo portage is 4.2.2. I got ebuilds for the latest plt-scheme release from the lisp overlay.</div><div><br></div><div>I've verified this with the following:</div><div>plt-scheme-4.2.5.ebuild</div>
<div>plt-scheme-4.2.5-r1.ebuild</div><div>manual compile and install, with 'configure --prefix=/usr/local --disable-shared' (I read on this list that --enable-shared conflicts with --enable-futures for plt-scheme-4.2.5?)</div>
<div><br></div><div>Build & Install = ok</div><div>Running mzscheme = ok</div><div>Running drscheme on local xserver = fail</div><div>Running drscheme, when ssh'ing from another machine (ie: redirecting X) = ok</div>
<div><br></div><div>The error msg is:</div><div>X Error of failed request: BadValue (integer parameter out of range for operation)</div><div> Major opcode of failed request: 45 (X_OpenFont)</div><div> Value in failed request: 0x5e0040b</div>
<div> Serial number of failed request: 14804</div><div> Current serial number in output stream: 14805</div><div><br></div><div>Now, it seems this was a problem before, and was fixed long ago (see <a href="http://article.gmane.org/gmane.lisp.scheme.plt/12839" target="_blank">http://article.gmane.org/gmane.lisp.scheme.plt/12839</a> ). In my case, this looks environment specific:</div>
<div>badr = hostname of machine on which I installed plt-scheme</div><div>waylander2 = hostname of machine from which I'm ssh'ing into badr</div><div><br></div><div>The x server on badr doesn't have the required font, but the x server on waylander2 does.</div>
<div><br></div><div>I'm guessing that there needs to be some post-install font configuration that needs to be done (mkfontdir?), but I don't see plt-scheme trying to install its own fonts anywhere (blindness on my part notwithstanding!). Does plt-scheme install any of its own fonts for drscheme, or does it expect a specific font to already be available on the local x server (in which case, which one is it?).</div>
<div><br></div><div>Fonts and xorg drive me nuts!</div><div><br></div><div>Thanks in advance for any assistance :)</div><div><br></div>Regards,<br> Imran Rafique<br>