[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: compiling tcltklib

Zach Dennis

11/18/2003 4:40:00 PM


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:1
>Exit code: 1

Does anyone know of any other files i need in order to get tk to work.
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