Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Ruby without Tcl/Tk.

57 views
Skip to first unread message

sean...@tx.rr.com

unread,
Jan 13, 2011, 2:48:44 PM1/13/11
to
I figure there is a way to install ruby without Tcl/Tk. I personally use FxRuby as a front end, but also have a few scripts that don't have any front end as they only pull something in and put out a file, no real need for a front end.


---- Glen Johnson <gjoh...@valcom.com> wrote:
> Ruby-talk subscribers,
> I believe I already know the answer to this question however I want to
> be certain. Is it possible to compile and install ruby without tcl/tk
> support?
> My guess is there was considerable effort put into ruby supporting
> tcl/tk and the thought is everyone will naturally want it included in
> ruby.
> Thank you,
> Glen


Jonas Pfenniger (zimbatm)

unread,
Jan 13, 2011, 6:52:08 PM1/13/11
to
What platform are you on ? Generally, you can disable specific
packages at the time you run the ./configure script.

In that case:

./configure --disable-tk
make
make install

2011/1/13 Glen Johnson <gjoh...@valcom.com>:

Glen Johnson

unread,
Jan 14, 2011, 6:10:02 AM1/14/11
to

I just tried ./configure --disable-tk and the configure script finishes up with:
config.status: creating Makefile
configure: WARNING: unrecognized options: --disable-tk
I was under the same impression and yesterday I tried --disable-tk,
--disable-tcl, --without-tk, and --without-tcl. All with no success.
I also spoke with a friend that told me tcl/tk support was also in
Ruby 1.8. I thought Tcl/Tk was added in 1.9. Which answers my question.
No, you can't have Ruby without Tcl/Tk support.

Luis Lavena

unread,
Jan 14, 2011, 8:12:02 AM1/14/11
to
On Jan 13, 4:48 pm, seanh1...@tx.rr.com wrote:
> I figure there is a way to install ruby without Tcl/Tk.  I personally use FxRuby as a front end, but also have a few scripts that don't have any front end as they only pull something in and put out a file, no real need for a front end.
>

./configure --without-tk --without-tcl

That works for Ruby 1.8, 1.9 doesn't recognize these options and the
extension still looks for Tcl and Tk.

--
Luis Lavena

ryanb...@gmail.com

unread,
May 9, 2012, 9:49:24 PM5/9/12
to
Any idea what the equivalent for Ruby Enterprise Edition (1.8.7) are? Those options aren't recognised.
0 new messages