Andreas S. wrote:
> SpringFlowers AutumnMoon wrote:
>> Ben Bleything wrote:
>>> On Sun, Oct 14, 2007, SpringFlowers AutumnMoon wrote:
>>>>   Referenced from: /usr/lib/ruby/1.8/powerpc-darwin8.0/tcltklib.bundle
>>>>   Reason: image not found
>>>> Trace/BPT trap
>>> 
>>> Looks like you didn't install X from the dev tools.  I'd try that, it
>>> makes sense that you would need it.
>> 
>> is that X11 (X window)?   how would that be installed (from dev tools)?
> 
> You can find it on your Tiger DVD or download it from Apple. But I don't 
> understand why TK even depends on X, it doesn't use the X server.

actually, i found those files in

  /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib

so I tried to use

  ruby -I /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib  test.rb

and it won't work...
and then I set the PATH in bash to the following and it won't work 
either:

PATH=/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/bin:/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib:/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6:/bin:/sbin:/usr/bin:/usr/sbin:.

-- 
Posted via http://www.ruby-forum.com/.