From: kjana@...4lab.to (YANAGAWA Kazuhisa) Date: 2002-01-31T21:12:17+09:00 Subject: Re: Compiling tcltklibl on FreeBSD? In message <3C5879F2.2090004@sevainc.com> mdavis@sevainc.com writes: > ./configure --with-tk-dir=/usr/local/include/tk8.3 > --with-tcl-dir=/usr/local/include/tcl8.3 > --with-tk-include=/usr/local/include/tk8.3 > --with-tcl-include=/usr/local/include/tcl8.3 > > Ruby compiles okay but it always ignores tcltklib. You should specify X include/library directory with -with-X11-dir. You also should specify --with-tcllib and --with-tklib to indicate which library should be linked. # See /usr/ports/lang/ruby-tcltklib/Makefile if it exists. > Running ruby extconf.rb from within the ext/tcltklib directory > produces: > > checking for t_open() in -lnsl... no > checking for socket() in -lsocket... no > checking for dlopen() in -ldl... no > checking for log() in -lm... yes > checking for tcl.h... no Then you have mkmf.log which contains actually executed commands and their outputs. ....at least 1.7.x branch. # If not, you can do `ruby -d mkmf.rb' and get same outputs. -- kjana@dm4lab.to January 31, 2002 So many men, so many minds.