I figured this out shortly before this reply came through :)
Unfortunately, I now get Tk-related errors while running make. I've
tried manually building from the source tarballs and I've tried using
DarwinPorts. Both give these errors.
Below is the output from DarwinPorts:
Bill
.....
---> Configuring mozart
---> Building mozart
Error: Target com.apple.build returned: shell command "cd "/opt/
local/
var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615" && make" returned
error 2
Command output: /System/Library/Frameworks/Tk.framework/Headers/
tkDecls.h:1167: error: 'Pixmap' is not a type
/System/Library/Frameworks/Tk.framework/Headers/tkDecls.h:1179:
error: 'Display' has not been declared
/System/Library/Frameworks/Tk.framework/Headers/tkDecls.h:1195:
error: 'Drawable' has not been declared
unixMain.cc: In function 'int Tcl_AppInit(Tcl_Interp*)':
unixMain.cc:453: warning: unused variable 'main'
unixMain.cc: At global scope:
unixMain.cc:76: warning: 'mainWindow' defined but not used
BuildPhase "<CopyResources>OzWish.app" "<OzWish>OzWish.app"
echo Completed phase "<CopyResources>" for
"<CopyResources>OzWish.app"
Completed phase <CopyResources> for <CopyResources>OzWish.app
Mkdir /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/Default/
OzWish.app/Contents/MacOS
/bin/mkdir -p /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/Default/
OzWish.app/Contents/MacOS
Mkdir /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/Default
/bin/mkdir -p /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/Default
Mkdir /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/
OzWish.build/Default/OzWish.build/Objects-normal
/bin/mkdir -p /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/
OzWish.build/Default/OzWish.build/Objects-normal
Mkdir /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/
OzWish.build/Default/OzWish.build/JavaClasses
/bin/mkdir -p /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/
OzWish.build/Default/OzWish.build/JavaClasses
Mkdir /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/
OzWish.build/Default/OzWish.build/DerivedSources
/bin/mkdir -p /opt/local/var/db/dports/build/
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
_dp
orts_lang_mozart/work/mozart-1.3.2.20060615/platform/wish/
OzWish.build/Default/OzWish.build/DerivedSources
** BUILD FAILED **
make[2]: *** [OzWish.app/Contents/MacOS/OzWish] Error 1
make[1]: *** [bootstrap] Error 1
make: *** [bootstrap] Error 1
Error: Status 1 encountered during processing.
On Aug 31, 2006, at 2:27 PM, Gustavo Gutierrez wrote:
>>
>> ---------------
>>
>> dyld: Library not loaded: /usr/local/lib/libgmp.3.dylib
>> Referenced from: /usr/local/oz/platform/powermac-darwin/
>> emulator.exe
>> Reason: image not found
>>
>> Process Oz Emulator trace/BPT trap
>>
>
> The problem is related to gmp. If you installed gmp by fink make
sure
> to use --with-inc-dir=/sw/include and --with-lib-dir=/sw/lib as
> additional parameters to configure, otherwise the linker won't
be able
> ti find it. By the way, i think there is a way to completely
install
> mozart from finks or darwin ports without worry about dependencies.
> Check the recent posts on the hackers list for more details.
>
> Cheers,
> --
> Gustavo Gutierrez