Do not change anything else in Imakefile . In particular you should not enable CCI support since there are serious bugs related to the use of Mosaic as a help viewer that have not been resolved yet. Type xmkmf to generate a makefile. Type make depend to generate dependency lists. If you see an error message about ModelEditorWraps.h type make ModelEditorWraps.c and then type make depend again.
Type make to compile and link the program.
Type make install . This completes the installation.