Hi,
Trying to compile the stabe snapshot (28.7.) of ruby with gcc 3.4.1
produces this error:
make[1]: Entering directory `/home/mccramer/tmp/ruby/ext/stringio'
gcc -fPIC -O3 -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -funroll-loops -fforce-addr -falign-functions=4 -mpreferred-stack-boundary=2 -msse -m3dnow -mmmx -fPIC -I. -I/home/mccramer/tmp/ruby -I/home/mccramer/tmp/ruby -I/home/mccramer/tmp/ruby/ext/stringio -c stringio.c
gcc -shared -L"/home/mccramer/tmp/ruby" -o stringio.so stringio.o -lruby -ldl -lcrypt -lm -lc
make[1]: Leaving directory `/home/mccramer/tmp/ruby/ext/stringio'
compiling tcltklib
/home/mccramer/tmp/ruby/lib/mkmf.rb:500:in `find_library': wrong argument type String (expected Proc) (TypeError)
from /home/mccramer/tmp/ruby/lib/mkmf.rb:496:in `checking_for'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:465:in `postpone'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:170:in `open'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:170:in `postpone'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:166:in `open'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:166:in `postpone'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:465:in `checking_for'
from /home/mccramer/tmp/ruby/lib/mkmf.rb:496:in `find_library'
from /home/mccramer/tmp/ruby/ext/tcltklib/extconf.rb:221
from ./ext/extmk.rb:77:in `load'
from ./ext/extmk.rb:77:in `extmake'
from ./ext/extmk.rb:224
from ./ext/extmk.rb:221:in `glob'
from ./ext/extmk.rb:221
make: *** [all] Error 1
[ruby/] :gcc --version
gcc (GCC) 3.3.4
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What did I wrong here ?
Ruby.use!
Meino