Sorry about the double post. I send the first one after joining the PLT Scheme google-group (which shadows this list), but as it didn't appear, I thought I had to subscribe the old-fashioned way and re-send. As it turns out, I should have been more patient.<div>
<br></div><div>(not the best way to introduce oneself to a new list ....)</div><div><br clear="all">Regards,<br> Imran Rafique<br>
<br><br><div class="gmail_quote">On Tue, May 18, 2010 at 3:45 PM, Imran Rafique <span dir="ltr"><<a href="mailto:imran@rafique.org">imran@rafique.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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><font color="#888888"> Imran Rafique<br>
</font></blockquote></div><br></div>