Forum: Ruby Compiling Ruby without Tk?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Scott Parkerson (Guest)
on 2006-03-06 18:05
(Received via mailing list)
Greetings,

I'm trying to package Ruby without compiling the Tcl/Tk extension.
This is so I can install Ruby on a system without X11 or Tcl/Tk.
Examining the output of configure --help doesn't seem to yield
anything obvious.

Thanks,
Scott
Hidetoshi NAGAI (Guest)
on 2006-03-08 16:39
(Received via mailing list)
From: "Scott Parkerson" <removed_email_address@domain.invalid>
Subject: Compiling Ruby without Tk?
Date: Tue, 7 Mar 2006 01:04:38 +0900
Message-ID:
<removed_email_address@domain.invalid>
> I'm trying to package Ruby without compiling the Tcl/Tk extension.
> This is so I can install Ruby on a system without X11 or Tcl/Tk.
> Examining the output of configure --help doesn't seem to yield
> anything obvious.

If you give invalid Tcl/Tk lib names, tcltklib may not be compiled.
For example, "configure --with-tcllib=none --with-tklib=none".
unknown (Guest)
on 2006-03-10 14:29
(Received via mailing list)
Hi,

At Wed, 8 Mar 2006 23:37:06 +0900,
Hidetoshi NAGAI wrote in [ruby-talk:183087]:
> If you give invalid Tcl/Tk lib names, tcltklib may not be compiled.
> For example, "configure --with-tcllib=none --with-tklib=none".

"configure --without-tk" should work with 1.8.4.
This topic is locked and can not be replied to.