Noone has replied to this. I would like to forward it as a bug report,
in that the correct dependencies do not seem to be set up for the
building of tcltklib. The result is that some distributions e.g. SuSE
9.2 64 bit, simply do not have a tcltklib in them.
I would attempt to sort this out myself, but I am not familiar with
extconf.rb
Thanks
John
------- Forwarded message follows -------
Date sent: Thu, 20 Jan 2005 13:56:34 -0000
From: "John Fletcher" <J.P.Fletcher@xxxxxxxxxxx>
Send reply to: ruby-doc@xxxxxxxxxxxxx
Subject: tcltklib dependencies
To: ruby-doc@xxxxxxxxxxxxx
Priority: normal
[ Double-click this line for list subscription options ]
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/
------- End of forwarded message ---------------------------------------------
-----------------------------
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/
|