0

ActiveTcl installed properly. Then,I tried:

CONFIGURE_OPTS="--with-tcl-dir=/opt/ActiveTcl-8.6 --enable-pthread" rbenv install 1.9.3-p429

Which resulted in "BUILD FAILED".

Now, no Ruby version will install. I'm using rbenv and never had trouble before.

I just want to experiment with TK and Ruby, but because of rbenv, special configurations to paths are necessary, or "require 'tk'" will not work.

How can I undo the damage I've done with my misuse of CONFIGURE_OPTS? And how can I set up ActiveTcl with rbenv properly?

Per request, here is my "gem env" output:

RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.6
  - RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/clyde/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: /home/clyde/.rbenv/versions/2.0.0-p247/bin/ruby
  - EXECUTABLE DIRECTORY: /home/clyde/.rbenv/versions/2.0.0-p247/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/clyde/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0
     - /home/clyde/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "install" => "--no-ri --no-rdoc"
     - "update" => "--no-ri --no-rdoc"
     - "gem" => "--no-ri --no-rdoc"
the Tin Man
  • 158,662
  • 42
  • 215
  • 303
clyde
  • 21
  • 5
  • We need more information to help you. As is we know nothing about your Ruby environment, or OS. Run `gem env` at the command-line and append the output to your question. – the Tin Man Aug 25 '13 at 20:09
  • Update: This works just fine CONFIGURE_OPTS="--without-tcl --without-tk" rbenv install 1.9.3-p429 – clyde Aug 25 '13 at 21:21
  • But this fails: CONFIGURE_OPTS="--with-tcl-dir=/opt/ActiveTcl-8.6" rbenv install 1.9.3-p429. I'm on Kubuntu 13.04. There's a long log in the /tmp. But nothing I can find to elucidate. – clyde Aug 25 '13 at 21:27
  • Can you use a different library than ActiveState? Take a look at http://www.tcl.tk/ You might be better off building it yourself. Just a different approach is all. – Douglas G. Allen Dec 08 '14 at 20:52
  • I have compiled and installed the tcl8.6 and tk8.6 and am currently installing Ruby-2.0.0-p0. I'll let you know if that's successful in a later comment. – Douglas G. Allen Dec 08 '14 at 22:07

0 Answers0