nobu.nokada
9/9/2003 2:42:00 AM
Hi,
At Tue, 9 Sep 2003 11:23:24 +0900,
Jim Weirich wrote:
> As I wrote earlier, I have solved the problem by forcing CPPFLAGS to
> include the tcl8.3 directory, but I want to respond to the following
> suggestions ...
It should be done by --with-tcl-include option. And
ext/extmk.rb looks CONFIGURE_ARGS environment variable.
At least, with moving tcl*.h to /usr/include/tcl8.3 and
lib/mkmf.rb in 1.8.0, it worked for me.
> > > Looking at extconf.rb in ext/tcltklib, it seems that "ruby extconf.rb"
> > > should pick up the include file in my system (but it doesn''t). I can debug
> > > this a bit when I get home tonight.
> >
> > Can you show us the last part of mkmf.log?
>
> Here it is ...
>
> ==BEGIN====================================================================
> have_header: checking for tcl.h... --------------------
> gcc -E -I/home/jim/pkgs/ruby-1.8.0.x -I/home/jim/pkgs/ruby-1.8.0.x -g
> -O2 -o conftest.i conftest.c
-I option isn''t passed. Try
$ env CONFIGURE_ARGS=-I/usr/include/tcl8.3 make
in the top compile directory.
--
Nobu Nakada