Ruby without Tcl/Tk

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

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 <gjohnson@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

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 <gjohnson@valcom.com>:

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

Ruby 1.9.3-p194, I successfully used

--with-out-ext=tcl --with-out-ext=tk

-Doug

http://www.fullware.net

···

--
Posted via http://www.ruby-forum.com/.

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.

···

2011/1/13 Glen Johnson <gjohnson@valcom.com>:
> 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
>

On Fri, 2011-01-14 at 08:52 +0900, Jonas Pfenniger (zimbatm) wrote:

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

./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.

···

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.

--
Luis Lavena