I'm running Ubuntu 14. I've installed the CodeBench Lite ARM Linux IDE and during installation it accepts my valid license file. I can run and compile code--no problems. Once I reboot, however, I attempt to compile the same code and start receiving the following console message listed below. If I re-install the software then it works again until the next reboot. Any help is appreciated.
"error: A valid Sourcery CodeBench license key could not be found.
Refer to the Getting Started guide included with Sourcery CodeBench
for instructions on how to obtain and install a license key.
For technical support for Sourcery CodeBench, visit:
The license manager error is:
//License request for gccarmglnx feature failed
MGLS error number: 515
License Details are:
Location: MGLS_LICENSE_FILE not set
arm-none-linux-gnueabi-gcc: error: /home/user/mgc/embedded/codebench/bin/../libexec/gcc/arm-none-linux-gnueabi/5.2.0/cs-license: non-zero exit status
make: *** [all] Error 1"
MGLS_LICENSE_FILE environment variable was set in ~/.bash_profile, but not in ~/.profile. Since Ubuntu was logging in via the GUI the bash_profile is not used. Copied over the variable to .profile and all is well. I wish the installer would have taken care of this though.