[ruby-talk:00173] Re: another question about Makefiles

From: Julian Fondren <julian@...>
Date: 1999-01-05 11:18:01 UTC
List: ruby-talk #173
> |OK, I've narrowed down which extension doesn't like me - tcltklib - that
> |is, ruby can be compiled with every extension but it. What I want to do is
> |use the flag -tcl80 rather than -tcl in ext/tcltklib/Makefile but
> |something in extconf.rb overwrites this and I am not precisely sure what.
> 
> Well, maybe I made mistake in extconf.rb.  It should choose tcl8.0 (or
> later) if it can find.  I'd check about it.

It gets everything else correct, where the libs are, where the includes
are, etc - the Makefile is otherwise fine except that it wants -tcl
instead of -ltcl80, which after a few tests doesn't seem to matter. In
fact.. as far as I can tell everything is just fine except that when
tcltklib is included as an extension I get that strange error with a
static compilation. Also, ext/tcltklib/lib/tcltk.rb is almost entirely
written in japanese, while nearly all other .rb files are not - indeed the 
only other one which has tcltk.rb's level of japanese characters is one of
tcltklib's samples ;-) though, ruby doesn't appear to have any problem
parsing it.

On the lighter side: I can use ruby again ;-) .. just not the tk end of
it, sadly.

thanks,

In This Thread