Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-23-2010, 09:47 PM   PM User | #1
opeth
New to the CF scene

 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
opeth is an unknown quantity at this point
Compilation errors configuring Ruby 1.8.6 with ActiveTcl-8.5

Hi,

I am trying set up Tk for use in my 1.8.6 Ruby install.

I have installed ActiveTcl-8.5 and it is located at /opt/ActiveTcl-8.5

I configure Ruby with the following options:
% ./configure --with-tcl-dir=/opt/ActiveTcl-8.5 --with-tk-dir=/opt/ActiveTcl-8.5 --with-tcllib=tclstub8.5 --with-tklib=tkstub8.5 --enable-tcltk_stubs --enable-tcl-thread --enable-pthread

And then when I run make, I get the following errors:
/home/ruby-1.8.6/ext/tk/tcltklib.c:7850: undefined reference to `TkFindMenuReferences'
/home/ruby-1.8.6/ext/tk/tcltklib.c:7877: undefined reference to `TkEventuallyRecomputeMenu'
/home/ruby-1.8.6/ext/tk/tcltklib.c:7878: undefined reference to `TkEventuallyRedrawMenu'
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make[1]: Leaving directory `/home/ruby-1.8.6'
make: *** [all] Error 2

I've tried Googling this problem, but nothing comes up, anybody out there have any ideas?

thanks
opeth is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:50 PM.


Advertisement
Log in to turn off these ads.