LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-09-2004, 07:35 AM   #1
senorsnor
Member
 
Registered: Apr 2004
Location: Delft, Netherlands
Distribution: ArchLinux
Posts: 46

Rep: Reputation: 15
itcl + Slackware 10: make problems


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?
 
Old 07-09-2004, 08:38 AM   #2
senorsnor
Member
 
Registered: Apr 2004
Location: Delft, Netherlands
Distribution: ArchLinux
Posts: 46

Original Poster
Rep: Reputation: 15
nevermind, i've installed the tcl-source and ripped the missing .h-files out of there, now it compiled ;-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling itcl on Slackware 10.1 Dr. Psy Slackware 3 12-31-2005 12:24 AM
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
make and make install problems jabird Red Hat 1 10-11-2004 09:05 PM
itcl - status? eNTi Linux - General 2 07-23-2002 11:34 AM
X windows/ make config problems with Slackware 8.0 paavaka Linux - General 1 10-11-2001 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration