Information from Vitor Guerreiro on compiling Imal in OSX using Macports.
The environment is based on Macports (Motif etc.)
Therefore, the user must install additional "ports"-packages to execute the binary.
Imal is linked against
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5) /opt/local/lib/libtiff.3.dylib (compatibility version 13.0.0, current version 13.4.0) /opt/local/lib/libXft.2.dylib (compatibility version 4.0.0, current version 4.13.0) /opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) /opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.2.0) /opt/local/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0) /opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0) /opt/local/lib/libpng12.0.dylib (compatibility version 45.0.0, current version 45.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
The installation of Macports is straight forward. After the normal gui-based installation of the initial package, all additional packages are installed by typing the following in the terminal/shell:
port install openmotif jpeg6b tiff zlib xorg-libX11 xorg-libXfont libpng
All dependencies are resolved automatically and everything
is installed into /opt/local
.
Remark: All packages are compiled by macports on the fly. There exists no binary distribution (so far as I know). Also, I am not sure if the above line installs all packages that are necessary for imal. Maybe some more install commands are necessary.
Now imal: The imal sources are patched to find all libs (/opt/local/). I patched the file configure (see patch file). In the terminal:
cd imal-source-directoy cat imal-patchfile |patch
After that - the normal procedure follows:
./configure ./InstallI hope that I haven't forgotten something.
The osx tar ball has already the patched configure file.