<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: How do I get open-source software to work?</title>
	<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work/</link>
	<description>Comments on Ask MetaFilter post How do I get open-source software to work?</description>
	<pubDate>Sun, 07 May 2006 05:25:11 -0800</pubDate>
	<lastBuildDate>Sun, 07 May 2006 05:25:11 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: How do I get open-source software to work?</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work</link>	
		<description>Using DarwinPorts 1.2.1, how can I get a copy of Gnumeric to run on OS X 10.4.6? &lt;br /&gt;&lt;br /&gt; Okay...I&apos;m at the end of my rope...&lt;br&gt;
&lt;br&gt;
I&apos;ve installed Gnumeric five or six times through DarwinPorts 1.2.1 over the last two days on Mac OS 10.4.6 and receive the same error no matter what I do:&lt;br&gt;
&lt;br&gt;
(gnumeric:&lt;b&gt;753&lt;/b&gt;): Gtk-WARNING **: cannot open display: &lt;br&gt;
&lt;br&gt;
Please note: the number in bold always changes.&lt;br&gt;
&lt;br&gt;
This happens when I type the word &apos;gnumeric&apos; into the Terminal application. I don&apos;t understand this error.&lt;br&gt;
&lt;br&gt;
Is all GNU/Linux open-source software like this? Hours upon hours of downloading, patching and compiling numerous dependencies only to walk away from the computer frustrated and confused? I&apos;m ready to throw my hands up in frustration and go buy a version of Quicken 2006.&lt;br&gt;
&lt;br&gt;
Thanks in advance.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.37712</guid>
		<pubDate>Sun, 07 May 2006 04:32:19 -0800</pubDate>
		<dc:creator>Colloquial Collision</dc:creator>
		
			<category>darwinports</category>
		
			<category>gnumeric</category>
		
			<category>opensource</category>
		
			<category>mac</category>
		
			<category>osx</category>
		
			<category>gnome</category>
		
			<category>bugs</category>
		
	</item> <item>
		<title>By: KirkJobSluder</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583665</link>	
		<description>Many of the ports from other UNIX operating systems use a graphical environment called X11 rather than Apple&apos;s Carbon or Cocoa.  Apple includes X11 as an optional install on the OS X distribution DVD.  Install X11, run it,  then try running gnumeric.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583665</guid>
		<pubDate>Sun, 07 May 2006 05:25:11 -0800</pubDate>
		<dc:creator>KirkJobSluder</dc:creator>
	</item><item>
		<title>By: RichardP</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583666</link>	
		<description>Gnumeric uses X Windows, not the native Mac OS X windowing system.  Make sure you&apos;re running X11.app and you&apos;ve set the X11 DISPLAY environment variable before launching Gnumeric.  If you&apos;re using the Bash shell, the easiest way to take care of the later is to include the following lines in your .bash_profile :&lt;br&gt;
&lt;br&gt;
# set X11 display&lt;br&gt;
export DISPLAY=:0.0&lt;br&gt;
&lt;br&gt;
You can find the file &quot;.bash_profile&quot; in your home directory (because it begins with a period it is invisible).&lt;br&gt;
&lt;br&gt;
If you don&apos;t have a copy of X11.app in your Utilities directory, you can install it using the Mac OS X install disk (go to the Optional Installs section, then Applications, and check X11).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583666</guid>
		<pubDate>Sun, 07 May 2006 05:29:01 -0800</pubDate>
		<dc:creator>RichardP</dc:creator>
	</item><item>
		<title>By: RichardP</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583668</link>	
		<description>Also, you can enter the following at the command line in Terminal, to automatically start the X11.app, set the DISPLAY environment variable, and start Gnumeric:&lt;br&gt;
&lt;br&gt;
open-x11 gnumeric&lt;br&gt;
&lt;br&gt;
It makes use of an Apple provided script, open-x11, which is located in the /usr/bin directory.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583668</guid>
		<pubDate>Sun, 07 May 2006 05:38:01 -0800</pubDate>
		<dc:creator>RichardP</dc:creator>
	</item><item>
		<title>By: reklaw</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583681</link>	
		<description>&lt;i&gt;Is all GNU/Linux open-source software like this? Hours upon hours of downloading, patching and compiling numerous dependencies only to walk away from the computer frustrated and confused?&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Pretty much. Try actually installing Linux sometime.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583681</guid>
		<pubDate>Sun, 07 May 2006 06:05:01 -0800</pubDate>
		<dc:creator>reklaw</dc:creator>
	</item><item>
		<title>By: edd</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583692</link>	
		<description>I would advise using the open-x11 method over the one which sets DISPLAY to 0.0 as DISPLAY isn&apos;t always supposed to be 0.0.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583692</guid>
		<pubDate>Sun, 07 May 2006 06:30:18 -0800</pubDate>
		<dc:creator>edd</dc:creator>
	</item><item>
		<title>By: jepler</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583694</link>	
		<description>This sounds like a pretty terrible experience&amp;mdash;Linux circa 1998, maybe.&lt;br&gt;
&lt;br&gt;
On a modern Linux system (Ubuntu for instance), you would just choose &quot;Spreadsheet&quot; from the application menu.  If you didn&apos;t like that spreadsheet, you would choose &quot;Package Manager&quot; from the menu, then choose &quot;Search&quot; and type in &quot;Spreadsheet&quot;.  Choose &quot;Gnumeric&quot; and then &quot;Mark for Installation&quot;.  Then there are several more clicks: &quot;Mark&quot;, &quot;Apply&quot;, &quot;Apply&quot;.&lt;br&gt;
&lt;br&gt;
If you&apos;d preferred to use a terminal it would have been even easier:  &quot;sudo apt-get install gnumeric&apos;, and then a single &quot;yes&quot; answer at a prompt.&lt;br&gt;
&lt;br&gt;
Now, Gnumeric will appear somewhere in the menu, or you can exeute it from the terminal window by typing &quot;gnumeric&quot;.&lt;br&gt;
&lt;br&gt;
I know this does nothing to address the problem you&apos;re having, but don&apos;t let this experience make you believe that modern Linux distributions are like this, just because gnumeric has its origins as Linux software.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583694</guid>
		<pubDate>Sun, 07 May 2006 06:32:00 -0800</pubDate>
		<dc:creator>jepler</dc:creator>
	</item><item>
		<title>By: beniamino</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583726</link>	
		<description>Open source software certainly can be frustrating in this way. However, there are two really useful resources:&lt;br&gt;
&lt;br&gt;
1. If you cut and paste your error message into Google, someone will often have had the same problem before. E.g in your case, googling &quot;Gtk-WARNING **: cannot open display:&quot; brings up &lt;a href=&quot;http://forums.macosxhints.com/showthread.php?s=5b328ea3db5645175e1024b63748d3b2&amp;p=214422#post214422 &quot;&gt;this link&lt;/a&gt; in the top few results, with the solution to your problem.&lt;br&gt;
&lt;br&gt;
2. You can ask questions on mailing lists, in this case &lt;a href=&quot;http://opendarwin.org/pipermail/darwinports/&quot;&gt;here&lt;/a&gt;. If you find the right list, you&apos;ll often get helpful replies. Now I look there, I can see you&apos;ve received a correct (if obscure) answer there too.&lt;br&gt;
&lt;br&gt;
Re the hours upon hours of installation time, this is not common at all in the Linux world.  Usually, software is provided in ready-to-run (compiled) form.  Darwinports and Fink mainly just provide recipes for building the software, and you have to build (compile) it yourself.  This is annoying, but the projects don&apos;t have the resources to compile and distribute all the software they provide.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583726</guid>
		<pubDate>Sun, 07 May 2006 07:47:48 -0800</pubDate>
		<dc:creator>beniamino</dc:creator>
	</item><item>
		<title>By: KirkJobSluder</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583727</link>	
		<description>Most of the stuff I get from fink is pre-compiled packages.  But it sometimes lags behind the bleeding-edge linux versions.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583727</guid>
		<pubDate>Sun, 07 May 2006 07:49:08 -0800</pubDate>
		<dc:creator>KirkJobSluder</dc:creator>
	</item><item>
		<title>By: beniamino</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583740</link>	
		<description>KirkJobSluder: Good point, I didn&apos;t mean to slander Fink. I&apos;d forgotten about the &apos;stable&apos; pre-compiled distribution because, for my purposes, it&apos;s too old to be useful (e.g. the version of Gnumeric is from 2004). But it does save a lot of time.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583740</guid>
		<pubDate>Sun, 07 May 2006 08:02:35 -0800</pubDate>
		<dc:creator>beniamino</dc:creator>
	</item><item>
		<title>By: Colloquial Collision</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583942</link>	
		<description>Well, the problem just got worse.&lt;br&gt;
&lt;br&gt;
When I open my X11 application, and a new Xterm window appears, the only response I get when typing &apos;gnumeric&apos; or &apos;port&apos; is:&lt;br&gt;
&lt;br&gt;
&lt;em&gt;bash: port: command not found&lt;/em&gt;&lt;br&gt;
&lt;em&gt;bash: gnumeric: command not found&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
This always happened in the X11 application, even yesterday after I had DarwinPorts working in the Terminal shell.&lt;br&gt;
&lt;br&gt;
But now, when I open the Terminal I get the same error:&lt;br&gt;
&lt;br&gt;
&lt;em&gt;-bash: port: command not found&lt;/em&gt;&lt;br&gt;
&lt;em&gt;-bash: gnumeric: command not found&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
I went through all the setup commands outlined in the DarwinPorts (and Fink) documentation. (I just tried to pull Gnumeric from DarwinPorts because they had the latest version.)&lt;br&gt;
&lt;br&gt;
For instance: In my .bash_login I have the lines:&lt;br&gt;
&lt;br&gt;
&lt;em&gt;export PATH=$PATH:/opt/local/bin&lt;/em&gt;&lt;br&gt;
&lt;em&gt;test -r /sw/bin/init.sh &amp;amp;&amp;amp; . /sw/bin/init.sh&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Well, it still works if I navigate to the command through the directories /opt/local/bin/port.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;UPDATE&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
&lt;em&gt;open-x11 /opt/local/bin/gnumeric&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
That command works. And so does Gnumeric. I just can&apos;t type &apos;port,&apos; &apos;gnumeric,&apos; or &apos;fink,&apos; into the bash shell anymore as commands. Oh well.&lt;br&gt;
&lt;br&gt;
Thanks for your help, everyone!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583942</guid>
		<pubDate>Sun, 07 May 2006 14:39:36 -0800</pubDate>
		<dc:creator>Colloquial Collision</dc:creator>
	</item><item>
		<title>By: Colloquial Collision</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583948</link>	
		<description>Also, &lt;b&gt;reklaw&lt;/b&gt;:&lt;br&gt;
&lt;br&gt;
Before I bought a Mac, I ran Suse GNU/Linux and Windows. When I first installed Suse the update took about 2 hours, but everything worked after that. But I&apos;m not a multiple OS type of guy. I like use one computing environment that can meet all of my needs. But if I have to, I&apos;ll switch to another OS (Windows) at work or school.&lt;br&gt;
&lt;br&gt;
As for DarwinPorts, the instructions state &lt;em&gt;&apos;sudo port install nameofprogram&apos;&lt;/em&gt; should install a port and the port should run. That isn&apos;t always the case it would seem.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583948</guid>
		<pubDate>Sun, 07 May 2006 14:48:19 -0800</pubDate>
		<dc:creator>Colloquial Collision</dc:creator>
	</item><item>
		<title>By: Colloquial Collision</title>
		<link>http://ask.metafilter.com/37712/How-do-I-get-opensource-software-to-work#583955</link>	
		<description>&lt;em&gt;I know this does nothing to address the problem you&apos;re having, but don&apos;t let this experience make you believe that modern Linux distributions are like this, just because gnumeric has its origins as Linux software&lt;/em&gt; &lt;b&gt;- jepler&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
Yeah, I know. Some acquaintances of mine are running Unbuntu and swear by it.&lt;br&gt;
&lt;br&gt;
The problem is not the software, the problem is me not understanding the software. (Specifically: the intricacies of DarwinPorts and Terminal.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37712-583955</guid>
		<pubDate>Sun, 07 May 2006 14:54:17 -0800</pubDate>
		<dc:creator>Colloquial Collision</dc:creator>
	</item>
	</channel>
</rss>
