1.8.1 build errors on Sun Sparc

B

Bil Kleb

I couldn't find anything at blade...

[..]
compiling tcltklib
make[1]: Entering directory `~kleb/local/ruby-1.8.1.S/ext/tcltklib'
gcc -fPIC -g -O2 -I. -I~/local/ruby-1.8.1.S -I~/local/ruby-1.8.1.S -I~/local/ruby-1.8.1.S/ext/tcltklib -DHAVE_TCL_H -DHAVE_TK_H -c tcltklib.c
tcltklib.c:864: parse error before "CONST84"
tcltklib.c: In function `VwaitVarProc':
tcltklib.c:869: parse error before "CONST84"
tcltklib.c: At top level:
tcltklib.c:955: parse error before "CONST84"
tcltklib.c: In function `WaitVariableProc':
tcltklib.c:960: parse error before "CONST84"
tcltklib.c: At top level:
tcltklib.c:1163: parse error before "CONST84"
tcltklib.c: In function `rb_threadVwaitProc':
tcltklib.c:1168: parse error before "CONST84"
make[1]: *** [tcltklib.o] Error 1
make[1]: Leaving directory `~/local/ruby-1.8.1.S/ext/tcltklib'
make: *** [all] Error 1

% gcc --version
gcc (GCC) 3.2.1
Copyright (C) 2002 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.

% uname -a
SunOS xxx 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Blade-1000

Should I simply disable tcltk during configure?

Thanks,
 
B

Bil Kleb

Bil said:
[..]
compiling tcltklib
make[1]: Entering directory `~kleb/local/ruby-1.8.1.S/ext/tcltklib'
gcc -fPIC -g -O2 -I. -I~/local/ruby-1.8.1.S -I~/local/ruby-1.8.1.S
-I~/local/ruby-1.8.1.S/ext/tcltklib -DHAVE_TCL_H -DHAVE_TK_H -c tcltklib.c
tcltklib.c:864: parse error before "CONST84"

FWIW, I just stuck a "#define CONST84" at the top of ext/tcltklib.c and it
went on with the compilation. `make test` worked; and for my purposes,
ruby's holding together... (no tcl aps.)

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top