Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

tcltklib dependencies: msg#00000

Subject: tcltklib dependencies
I am not sure whether this is the correct place for this post.  If not, 
my apologies.

tcltklib is an extension to the Ruby code located in ext/tcltklib.  It is 
needed for tcl and tk programs to work with Ruby.

My problem is that there are problems which need to be overcome 
to get it to build on linux systems, which seem not to be 
documented.

In a nutshell, the Ruby build process from tar.gz distribution 
attempts to compile it and sometimes does and sometimes doesn't.  
It depends on whether or not the headers for tcl, tk and X11 are 
available on the system and locatable.  My experience is that if the 
make process doesn't find all it needs it just leaves out tcltklib and 
doesn't give an error message.  In addition, when it finds tcl and tk 
headers but not X11, the extconf.rb says that it cannot find tk.h, 
which is there, and does not mention the X11 at all.

I had encountered this problem previously when installing Ruby 
onto a version of Red Hat linux (9 I think) and solved that by 
installing the X11 development files.

I have recently had a similar problem with SuSE Linux 9.2 (64 bit 
version) which has a distribution of Ruby 1.8.1. which does not 
contain a compiled tcltklib.  I installed their (patched) Ruby sources 
for the 64 bit edition, but still had trouble getting tcktklib to compile.  
There is a dependence on the X11 headers, but also on something 
else which I have not tracked down although I have been able to 
compile it by hand.  I have created 

http://www.rubygarden.org/ruby?TclTkLib

where I have explained how I did this.

If there is documentation on tcltklib please let me know about it.  If 
not perhaps what I have said can help build something up.

Thanks
John Fletcher

-------------------------------------------------------------------
Dr John P. Fletcher          Tel: (44) 121 204 3389 (direct line)
Chemical Engineering and Applied Chemistry (CEAC),
School of Engineering and Applied Science (SEAS),
Aston University,            Fax: (44) 121 359 4094
Aston Triangle,              Email: J.P.Fletcher@xxxxxxxxxxx
BIRMINGHAM B4 7ET  U.K.      CEAC Web site 
http://www.ceac.aston.ac.uk/






<Prev in Thread] Current Thread [Next in Thread>