Dear Graham,

We don't know exactly the reason why Mozart doesn't compile with the tcl/tk stuff installed from fink. What you need to do, it's compile using the native support provided by MacOS X, thus, using
/System/Library/Frameworks/Tk.framework
/System/Library/Frameworks/Tcl.framework

If you try to use something like Tcl/Tk AquaBI, which is installed in /Library/Framework/, it is not going to work either. Just use the native support that comes with the system.

cheers
Boriss

Graham Percival wrote:
I'm trying to compile mozart-1.3.2.20060615 on MacOS X 10.3.9, with some software installed via fink. I called configure with ~/usr/src/mozart-1.3.2.20060615/configure --prefix=$HOME/usr/pkg/mozart/ --with-tk=/sw/lib/

Configure completed without errors, which makes the "Tk.tk.h not found" error (below) quite suspicious.


Output of make:
...
build/OzWish.build/Objects-normal/ppc/unixMain.o
unixMain.cc:48:19: Tk/tk.h: No such file or directory
unixMain.cc:76: error: syntax error before `;' token
unixMain.cc:97: error: syntax error before `[' token
unixMain.cc: In function `int main(int, char**)':
unixMain.cc:154: error: `Tk_Window' undeclared (first use this function)
unixMain.cc:154: error: (Each undeclared identifier is reported only once for each function it appears in.)
unixMain.cc:154: error: parse error before numeric constant
unixMain.cc:144: warning: unused variable `int code'
unixMain.cc:143: warning: unused variable `char buf[20]'
...
many other similar lines, all from unixMain.cc
...
unixMain.cc:166: warning: `int name' defined but not used
unixMain.cc:94: warning: `char*display' defined but not used
unixMain.cc:95: warning: `char*geometry' defined but not used
{standard input}:35:Ignoring attempt to re-define symbol.
{standard input}:38:Ignoring attempt to re-define symbol.
{standard input}:42:FATAL:Symbol _Tcl_SetVar already defined.
...failed CompileCplusplus /Users/gperciva/usr/src/mozart-osx/platform/wish/OzWish.build/OzWish.build/Objects-normal/ppc/unixMain.o ...
** BUILD FAILED **
make[2]: *** [OzWish.app/Contents/MacOS/OzWish] Error 1
make[1]: *** [bootstrap] Error 1
make: *** [bootstrap] Error 1


Thanks for any help,
- Graham Percival

_________________________________________________________________________________ mozart-users mailing list mozart-users@ps.uni-sb.de
http://www.mozart-oz.org/mailman/listinfo/mozart-users


_________________________________________________________________________________
mozart-users mailing list                               
mozart-users@ps.uni-sb.de
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to