Ask a Question related to Ruby, Design and Development.
-
Zach Dennis #1
Compiling tcltklib
Ok I've got the compiling part of Ruby set. Ruby 1.8.1 is up and going.
However I can't seem to get the Tcltklib to compile. What does the line look
like when you are using the "--with" statements?
I've tried things similar to:
bcc32\configure --with...eetc...etc..
when i ran the configure.bat for the ruby compile and i tried running it
from the tcltklib directory. Any ideas what the command looks like from a
windows command prompt? It gives me an error upon unknown "--with..."
Any help appreciated. Thanks,
Zach
My development machine stats:
Windows 2000 SP4
Borland C/C++ Compiler 5.5
Ruby 1.8.1
ActiveTCL 8.4
- The ruby source is in the D:\source\ruby1.8.1 directory.
- The tcl source is in the D:\source\Tcl directory
Zach Dennis Guest
-
tcltklib and not init'ing tk
Hello, I'm using the tcltklib extension in ruby 1.8. It seems to be working well for my transition from tcl. There are a couple of stumbling... -
tcltklib not built with Ruby 1.8
I just noticed that my build of Ruby 1.8 does not include tcltklib. Running the extconf.rb file in ext/tcltklib manually gives ... $ ruby... -
Ruby tcltklib includes a Tcl interpreter
I just discovered something I didn't know that I think others might be interested in. Ruby tcltklib includes a tcl/tk interpreter. The interpreter... -
To run without compiling
Hi there, Is there a way to run the app without recompiling each time? Every time when I need to run the app, I press F5 or click on the debug... -
2.4.21 not compiling
Hi all, I'm currently running Debian sarge with: syner@Zion:~$ apt-show-versions | grep gcc gcc-3.3/testing uptodate 1:3.3-2... -
Zach Dennis #2
Re: Compiling tcltklib
Ok I got it to work by after the ruby compile by doing:
I:\source\ruby\ext\tcltklib\> ruby extconf.rb --with-tcl-dir="I:\source\tcl"
Does anyone know how to add this argument when doing the ruby compile
instead of compiling ruby, then going back and redoing it?
Thanks,
Zach
-----Original Message-----
From: Zach Dennis [mailto:zdennis@mktec.com]
Sent: Monday, November 17, 2003 10:31 AM
To: ruby-talk ML
Subject: Compiling tcltklib
Ok I've got the compiling part of Ruby set. Ruby 1.8.1 is up and going.
However I can't seem to get the Tcltklib to compile. What does the line look
like when you are using the "--with" statements?
I've tried things similar to:
bcc32\configure --with...eetc...etc..
when i ran the configure.bat for the ruby compile and i tried running it
from the tcltklib directory. Any ideas what the command looks like from a
windows command prompt? It gives me an error upon unknown "--with..."
Any help appreciated. Thanks,
Zach
My development machine stats:
Windows 2000 SP4
Borland C/C++ Compiler 5.5
Ruby 1.8.1
ActiveTCL 8.4
- The ruby source is in the D:\source\ruby1.8.1 directory.
- The tcl source is in the D:\source\Tcl directory
Zach Dennis Guest
-
Zach Dennis #3
Re: compiling tcltklib
Ok,
I've got it compiling now and here is my next obstacle.
I tried:
---------------------------------------------------------
I:\source\languages\ruby\source\ruby-1.8.1\ext\tcltklib>nmake
DESTDIR=I:\ruby install
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE : fatal error U1073: don't know how to make
'I:/ruby/ruby/lib/ruby/1.8/i386-mswin32/ruby.h'
Stop.
---------------------------------------------------------
You can see my issue. However I thought I would do things the 'manual'. so I
then did:
---------------------------------------------------------
I:\source\languages\ruby\source\ruby-1.8.1\ext\tcltklib>nmake
---------------------------------------------------------
and it worked. I got my tcltk.lib and tcltk.so file. I put them in:
I:\ruby\lib
I put the tcltk.rb file in: I:\ruby\lib\ruby\1.8
I cannot say: require 'tk'
it outputs:
i:/ruby/lib/ruby/1.8/tk.rb:7:in `require': No such file to load -- tcltklib
(LoadError)
from i:/ruby/lib/ruby/1.8/tk.rb:7
from deleteMe.rb:1:in `require'
from deleteMe.rb:1Does anyone know of any other files i need in order to get tk to work.>Exit code: 1
Everything is compiled from
scratch so I am starting from the ground up.
My Development Stats:
-Windows 2000
-Ruby 1.8.1preview2
-Tcl/Tk 8.4.4
-Microsoft Visual Studio 6(i couldn't get borland to find the tcl84.lib and
tk84.lib files)
Thanks,
Zach
Zach Dennis Guest



Reply With Quote

