cmg files are created with respect to the particular distribution you are running. They contain all the dependencies that are needed in order to run the respective application.
Please post which distribution (version) you are using as your base system.
Greetings,
probono