On some systems, it might be necessary to change the first line of the Install script, e.g., to #!/usr/local/bin/bash. Please let me know if you have trouble compiling imal on DEC Alpha, otherwise the problem will never get fixed, as I don't have access to an Alpha for testing.
If it doesn't compile and you want to try to fix it yourself, keep in mind that the most likely source of compilation errors arises from the fact that the Digital compiler cannot handle certain common C++ idioms that may have sneaked into the source code.
Statements like
const int FOO=0;
must be changed to
#define FOO 0
and statements like
Widget bar[baz+1];
must be changed to
Widget bar[1024];
i.e., the compiler can't handle variables in array declarations. These must be replaced by suitable constants. Using constants that are too small will cause imal to crash. 1024 is usually a safe number.
Errors like
cxx: Error: xmtnimage.cc, line 999: redefinition of default argument
Are caused by statements like
void do_stuff(int a, int b=0)
that have sneaked into the code, which cause problems for DEC's compiler. The default argument ``=0'' can be safely removed from the function (but not from the prototype in xmtnimage.h).
Please notify me if these problems occur, so they can be fixed.