The following table shows what type of errors will occur when certain variables are not correctly set:
Variable
Error
CHM_PYTHON_LIB_PATH
ImportError No module named string <traceback object at 0x86516c4>.
This occurs because the Chameleon shared library is most likely in the wrong place. This causes one of two things: (1) The Python engine cannot read in its initialization files, or (2) The user ID that you are running your program under does not have the correct permissions to read these files.
CLASSPATH
Exception in thread "main" java.lang.NoClassDefFoundError: com/interfaceware/chameleon/LlpServerListener.
LD_LIBRARY_PATH
Exception in thread "main" java.lang.UnsatisfiedLinkError: no chm_java in java.library.path.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/chameleon/java/libchm_java.so: libstdc++.so.6: cannot open shared object file: No such file or directory.
Note that these errors will only affect Java Chameleon users.
CHM_PATH
makefile:15: /admin/makefile: No such file or directory.
CHM_PLATFORM
make: *** <InstallDir>/chameleon/admin/: Is a directory. Stop.
CHM_REGKEY
Error Code : -2147483392.
Description : This host machine does not have a valid Chameleon license.You will need to log in to your iNTERFACEWARE Members account at: http://www.interfaceware.com.
CHM_EXPIRY_DATE
Error Code : -2147483392
Description : This host machine does not have a valid Chameleon license.You will need to log in to your iNTERFACEWARE Members account at: http://www.interfaceware.com.