On Thu, 24 May 2001 00:08:57 +0900 ts <decoux / moulon.inra.fr> wrote:

> >>>>> "C" == Collins Richey <erichey2 / home.com> writes:
> 
> C> I installed Ruby successfully once (./configure - make - make
> install), but
> C> I found out that it didn't have tktcl support, so I modified the Setup
> file
> C> and did
> 
>  You can run configure with some options. For example for tcltk you can
>  give (see ext/tcltk/extconf.rb) 
> 
>   --with-X11-include, --with-X11-lib, --with-X11-dir 
>   --with-tk-include, --with-tk-lib, --with-tk-dir
>   --with-tcl-include, --with-tcl-lib, --with-tcl-dir
> 
>  In your case :
> 
>   ./configure --with-X11-dir=/usr/X11R6
> 

I'm stumped.  I tried various configures, but none allow the final ruby
module compile/link to work.  Everything down to this point compiles ok
(socket stuff, dbm stuff, tcltk stuff, etc.).

Here's the full log

make[1]: Entering directory `/usr/src/ruby'
gcc -g -O2 -rdynamic   main.o ext/extinit.o ext/tk/tkutil.a ext/dbm/dbm.a
ext/etc/etc.a ext/md5/md5.a ext/fcntl/fcntl.a ext/curses/curses.a
ext/tcltklib/tcltklib.a  libruby.a -ldl -lcrypt -lm  libruby.a -lc
libruby.a -lgdbm -lc libruby.a -lc libruby.a -lc libruby.a -lc libruby.a
-lncurses -lc libruby.a -ltk8.3 -ltcl8.3 -lX11 -lm -ldl -lc -o ruby
/usr/i486-pc-linux-gnu/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make[1]: Leaving directory `/usr/src/ruby'



-- 
Collins Richey
Denver area
gentoo system