Collins Richey <erichey2 / home.com> writes: :On Thu, 24 May 2001 16:10:35 +0900 ts <decoux / moulon.inra.fr> wrote: : :> >>>>> "C" == Collins Richey <erichey2 / home.com> writes: :> :> C> Here's the full log :> :> C> make[1]: Entering directory `/usr/src/ruby' :> C> gcc -g -O2 -rdynamic main.o ext/extinit.o ext/tk/tkutil.a :> ext/dbm/dbm.a :> C> ext/etc/etc.a ext/md5/md5.a ext/fcntl/fcntl.a ext/curses/curses.a :> C> ext/tcltklib/tcltklib.a libruby.a -ldl -lcrypt -lm libruby.a -lc :> C> libruby.a -lgdbm -lc libruby.a -lc libruby.a -lc libruby.a -lc :> libruby.a :> C> -lncurses -lc libruby.a -ltk8.3 -ltcl8.3 -lX11 -lm -ldl -lc -o ruby :> C> /usr/i486-pc-linux-gnu/bin/ld: cannot find -lX11 :> C> collect2: ld returned 1 exit status :> C> make[1]: *** [ruby] Error 1 :> C> make[1]: Leaving directory `/usr/src/ruby' :> :> Apparently this is like if configure was run with the switch :> --with-static-linked-ext :> :> Can you try with --without-static-linked-ext :> : :Done - same result. Try this: Index: ext/extmk.rb.in =================================================================== RCS file: /src/ruby/ext/extmk.rb.in,v retrieving revision 1.34.2.7 diff -u -1 -r1.34.2.7 extmk.rb.in --- ext/extmk.rb.in 2001/04/24 07:06:31 1.34.2.7 +++ ext/extmk.rb.in 2001/05/25 04:04:49 @@ -610,3 +610,3 @@ $objs = nil - $libs = "@DLDLIBS@" + $libs = $static ? "" : "@DLDLIBS@" $local_flags = "" @@ -666,2 +666,3 @@ $extlibs += " " + $LDFLAGS unless $LDFLAGS == "" + $extlibs += " -L" +$LIBPATH.join(" -L") unless $LIBPATH.empty? $extlibs += " " + $libs unless $libs == "" @@ -767,2 +768,3 @@ end + $extlibs = $extlibs.split.uniq.join(' ') system format(%[#{$make} #{ruby} EXTOBJS='%s' EXTLIBS='%s'], $extobjs, $extlibs)