nobu.nokada / softhome.net wrote:

>1.9.0 is not a "stable" version.  You would mean the "latest"
>snapshot.
>  
>
Errrrk!  I am very new to Ruby, and I appear to have wandered off the 
path and been eaten by bears.

I was advised (in an earlier thread on this list) to get the latest 
tcltklib.c from CVS.  I am rather clumsy at building projects under 
linux, however, so I probably did something wrong.  Ohh, I know what it 
was: I grabbed the latest stable (1.8.2), and its README gave 
instructions on how to "get it from anonymous CVS".  I did *that*, which 
appears to have given me 1.9.0.

So.  Um.  Is my Ruby now unstable?  Wheee!

I guess I should have thought more carefully about what I was originally 
advised to do: I should have gotten the 1.9.0 sources, copied just 
tcltklib.c into the 1.8.2 sources, and built *that*.

...I think.  Heh.  Every day's a new adventure with Ruby.

>ext/readline/extconf.rb apparently failed to detect readline
>library.  Can't you show the mkmf.log file in that directory?
>
Ah!  Now there's a file with some useful information in it!  (Nevermind 
RTFM, my problem is KTTFMEE: Knowing That The F(antastic) Manual Even 
Exists.)

I think the beginnings of my problem are right at the beginning of the 
log, in:

have_library: checking for tgetnum() in -lncurses... -------------------- no

"gcc -o conftest -I../.. -I../../.  -g -O2 conftest.c  -L'../..'      -lruby-static -lncurses  -lpthread -ldl -lcrypt -lm   -lc"
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

The entire log is posted here:

http://www.shinybit.com/readline_mkmf.log

I am going to try to fall back to the 1.8.2 build (with the upgraded 
tcltklib.c).  Any advice on this issue would still be appreciated, 
however.  I don't see how 1.8.2 will be able to find ncurses if 1.9.0 
couldn't.  Keep in mind that I have installed most of my packages using 
Kubuntu's apt.  There's no telling what I'm missing.

Thanks,

-dB

-- 
David Brady
ruby-talk / shinybit.com
I'm having a really surreal day... OR AM I?