Hi, I want to install Open Sound World (osw.sourceforge.net) on Slackware 10. For that, I need itcl (
www.tcltk.com/itcl), but I'm having a very hard time installing this.
I've downloaded the package, untar'ed it, then did `./configure --with-tcl=/usr/lib --with-tk=/usr/lib`. Then I do `make all` but get the following error-messages:
for dir in itcl itk ; do \
if test -d $dir ; then \
echo "$dir: make all" ;\
if (cd $dir; make all) ; then true ; else exit 1 ; fi ; \
else \
exit 1; \
fi \
done;
itcl: make all
make[1]: Entering directory `/home/arvind/packages/itcl3.2.1/itcl'
cc -DVERSION=\"3.2\" -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/local/lib/itcl3.2\" -I/tmp/tcl8.4.6/generic -I/tmp/tcl8.4.6/unix -I"./generic" -I"./unix" -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -c `echo ./generic/itclStubInit.c` -o itclStubInit.o
make[1]: Leaving directory `/home/arvind/packages/itcl3.2.1/itcl'
:53:20: tclInt.h: No such file or directory
In file included from generic/itclStubInit.c:14:
generic/itclInt.h:135: error: parse error before "Var"
generic/itclInt.h:135: warning: no semicolon at end of struct or union
generic/itclInt.h:138: error: parse error before '}' token
generic/itclInt.h:138: warning: data definition has no type or storage class
generic/itclInt.h:147: error: parse error before "CompiledLocal"
generic/itclInt.h:147: warning: no semicolon at end of struct or union
generic/itclInt.h:149: error: parse error before '*' token
generic/itclInt.h:149: warning: data definition has no type or storage class
generic/itclInt.h:158: error: parse error before '}' token
generic/itclInt.h:158: warning: data definition has no type or storage class
generic/itclInt.h:170: error: parse error before "ItclMemberCode"
generic/itclInt.h:170: warning: no semicolon at end of struct or union
generic/itclInt.h:171: warning: data definition has no type or storage class
<<a lot more similar errors>>
generic/itclInt.h:238: warning: data definition has no type or storage class
generic/itclInt.h:239: error: parse error before '}' token
generic/itclInt.h:239: warning: data definition has no type or storage class
In file included from generic/itclInt.h:249,
from generic/itclStubInit.c:14:
generic/itclIntDecls.h:41: error: parse error before "ItclObject"
generic/itclIntDecls.h:46: error: parse error before '*' token
generic/itclIntDecls.h:54: error: parse error before '*' token
generic/itclIntDecls.h:57: error: parse error before '*' token
generic/itclIntDecls.h:79: error: parse error before "ItclMember"
generic/itclIntDecls.h:85: error: parse error before "ItclContext"
generic/itclIntDecls.h:88: error: parse error before "ItclObject"
generic/itclIntDecls.h:162: error: parse error before "Tcl_ResolvedVarInfo"
generic/itclIntDecls.h:170: error: parse error before "ItclVarDefn"
generic/itclIntDecls.h:174: error: parse error before '*' token
generic/itclIntDecls.h:179: error: parse error before '*' token
generic/itclIntDecls.h:179: warning: data definition has no type or storage class
generic/itclIntDecls.h:182: error: parse error before '*' token
generic/itclIntDecls.h:184: error: parse error before "ItclObject"
<<a lot more similar errors>>
generic/itclIntDecls.h:574: error: parse error before '*' token
generic/itclIntDecls.h:574: warning: data definition has no type or storage class
generic/itclStubInit.c:29: error: parse error before "itclIntStubs"
generic/itclStubInit.c:31: warning: excess elements in scalar initializer
generic/itclStubInit.c:31: warning: (near initialization for `itclIntStubs')
generic/itclStubInit.c:32: warning: excess elements in scalar initializer
generic/itclStubInit.c:32: warning: (near initialization for `itclIntStubs')
generic/itclStubInit.c:33: warning: excess elements in scalar initializer
<<a lot more similar errors>>
generic/itclStubInit.c:147: warning: excess elements in scalar initializer
generic/itclStubInit.c:147: warning: (near initialization for `itclIntStubs')
generic/itclStubInit.c:148: warning: data definition has no type or storage class
generic/itclStubInit.c:152: warning: initialization from incompatible pointer type
make[1]: *** [itclStubInit.o] Error 1
make: *** [all] Error 1
Does anyone know how to install itcl on Slack 10?