Sy Ali
3/11/2007 3:16:00 PM
On 3/11/07, Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> wrote:
> Please try to run "<ruby lib path>/tkextlib/pkg_checker.rb".
> When its output includes the line
> "Ready : tile.rb : require->{"tile"=>"0.7.8"}",
> your Ruby/Tk is ready for Tile extension.
> If not, probably it will be a kind of search path problem.
I think you're right. pkg_checker.rb gave me errors [1]
I downloaded activetcl, and did ln -s /opt/ActiveTcl-8.4/lib/tcl8.4/
/usr/lib/ so that my pkg_checker.rb could see its libraries. Now
pkg_checker runs, but gives me:
*LACK : tile.rb : require->{} FAIL->[["tile", :package]]
Which is normal since I didn't install tile yet. =)
But, configuring tile gives me an error about "configuration
definitions" [2] .. where do I find these?
Maybe something is wrong because I'm using a ruby-tk package from my
distribution (pclinuxos 2007-test3).
Isn't there a gem for tile? =)
--+
[1] errors with pkg_checker:
$ /usr/lib/ruby/1.8/tkextlib/pkg_checker.rb
/usr/lib/ruby/1.8/tk.rb:1102:in `initialize': Can't find a usable
init.tcl in the following directories: (RuntimeError)
/usr/lib/tcl8.4 /usr/lib/tcl8.4 /lib/tcl8.4 /usr/library /library
/tcl8.4.13/library /usr/lib/tcl8.4
This probably means that Tcl wasn't installed properly.
from /usr/lib/ruby/1.8/tk.rb:1102:in `new'
from /usr/lib/ruby/1.8/tk.rb:1102
from ./pkg_checker.rb:7:in `require'
from ./pkg_checker.rb:7
--+
[2] configuring tile gives an error about "configuration definitions"
$ ./configure --with-tcl=/opt/ActiveTcl-8.4/lib/
checking for correct TEA configuration... ok (TEA 3.5)
checking for Tcl configuration... found /opt/ActiveTcl-8.4/lib/tclConfig.sh
checking for existence of /opt/ActiveTcl-8.4/lib/tclConfig.sh... loading
checking for Tk configuration... configure: WARNING: Can't find Tk
configuration definitions