<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Got XFig to run under Mac OS X in less than an hour</title>
	<atom:link href="http://www.daniel-lemire.com/blog/archives/2006/11/29/got-xfig-to-run-under-mac-os-x-in-less-than-an-hour/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daniel-lemire.com/blog/archives/2006/11/29/got-xfig-to-run-under-mac-os-x-in-less-than-an-hour/</link>
	<description>Daniel Lemire's blog is about life in academia, research in Computer Science, wondering how we can reconcile fast databases and algorithms with the informal and asemantic nature of the world around us. It is broadcasted from Montreal (Canada).</description>
	<pubDate>Tue, 02 Dec 2008 14:15:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Bastian</title>
		<link>http://www.daniel-lemire.com/blog/archives/2006/11/29/got-xfig-to-run-under-mac-os-x-in-less-than-an-hour/#comment-49939</link>
		<dc:creator>Bastian</dc:creator>
		<pubDate>Sun, 01 Jun 2008 07:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.daniel-lemire.com/blog/archives/2006/11/29/got-xfig-to-run-under-mac-os-x-in-less-than-an-hour/#comment-49939</guid>
		<description>I just compiled xfig without fink.  It's quite easy.  Just get the latest sources for xfig and transfig from www.xfig.org.  In the xfig sources you have to change to files.
  First the file xfig.h, there you have to get sure that it does not define any srandom().  So search for it and delete the whole #if ... #elif ... #endif block where all the srandom()'s are defined.
  Then in the file w_keyboard.c you have to add a "#define REG_NOERROR 0" somewhere on top in a separate line.  (The last symbol is a zero, not an capital o.)
  In the Imakefile you have to comment out the BINDIR variable, the XAW3D variable and the USEJPEG variable.
  In the transfig package you have to set the right path for XFIGLIBDIR in the fig2dev Imakefile.  It's /usr/X11/lib/X11/xfig.  And I also uncommented out the LATEX2E variable in the transfig Imakefile.
  xfig compiles using "xmkmf; make; make install".  For transfig there was "xmkmf; make Makefiles; make; make install" necessary.
  But better one read the README files before doing this. The parameters in the Imakefiles are described very well there and also the commands to compile the sources.  Only the changes in the two files I made are not described there.</description>
		<content:encoded><![CDATA[<p>I just compiled xfig without fink.  It&#8217;s quite easy.  Just get the latest sources for xfig and transfig from <a href="http://www.xfig.org" rel="nofollow">http://www.xfig.org</a>.  In the xfig sources you have to change to files.<br />
  First the file xfig.h, there you have to get sure that it does not define any srandom().  So search for it and delete the whole #if &#8230; #elif &#8230; #endif block where all the srandom()&#8217;s are defined.<br />
  Then in the file w_keyboard.c you have to add a &#8220;#define REG_NOERROR 0&#8243; somewhere on top in a separate line.  (The last symbol is a zero, not an capital o.)<br />
  In the Imakefile you have to comment out the BINDIR variable, the XAW3D variable and the USEJPEG variable.<br />
  In the transfig package you have to set the right path for XFIGLIBDIR in the fig2dev Imakefile.  It&#8217;s /usr/X11/lib/X11/xfig.  And I also uncommented out the LATEX2E variable in the transfig Imakefile.<br />
  xfig compiles using &#8220;xmkmf; make; make install&#8221;.  For transfig there was &#8220;xmkmf; make Makefiles; make; make install&#8221; necessary.<br />
  But better one read the README files before doing this. The parameters in the Imakefiles are described very well there and also the commands to compile the sources.  Only the changes in the two files I made are not described there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
