I’m afraid I did something wrong. When i enter the last line in step 3,
I
got this error:
ruby: No such file or directory – extconf.rb (LoadError)
Some things that may have caused the error:
Maybe I’ve been in the wrong directory? (Which one is the correct one?)
Maybe I don’t get the part about extconf.rb. Is it an existing file, or
shall I create it? If so, where do I put it and what should it contain?
I’m kind of new to Linux, so I don’t get most of the stuff yet.
Yes I saw it but I don’t quite understand. For one thing, I don’t seem
to
have a directory called ext/tcltklib. I can’t find it and neither can my
search function.
I don’t have a directory called /usr/swf either.
Yes I saw it but I don’t quite understand. For one thing, I don’t seem to
have a directory called ext/tcltklib. I can’t find it and neither can my
search function.
I don’t have a directory called /usr/swf either.
You need Ruby’s source code, ext/tcltklib is there. You need Tcl/Tk’s
header files and libraries. Depending on your Linux distribution,
you’d need a *-devel and a *-lib package or something similar. Then
substitute /usr/sfw with the path where those files are installed.
Don’t forget to read ext/tcltklib/README.1st
Of course, /usr/swf/include should point to where your Tcl headers are
installed. Everything will be clear for you when you read the README
file inside ext/tcltklib.
From: “Jeppe J.” [email protected]
Subject: Re: Require “tk” on linux
Date: Wed, 29 Mar 2006 07:28:23 +0900
Message-ID: [email protected]
Yes I saw it but I don’t quite understand. For one thing, I don’t seem to
have a directory called ext/tcltklib. I can’t find it and neither can my
search function.
If you extracted source codes of Ruby 1.8.4,
there is not ‘ext/tcltklib’.
‘ext/tcltklib’ and ‘ext/tk’ were unified to ‘ext/tk’.
Please check READMEs on ‘ext/tk’.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.