To build a Motif application on Linux, x86/x64 Solaris and FreeBSD (and when using the X11 GUI option on Mac OS X), add
(require "capi-motif")
For all platforms, you should ensure that Motif is installed on the target machine. Additionally, if your application uses image formats other than BMP, you should ensure that Imlib is installed on the target machine.