Has your IBM XL C/C++ for AIX software evaluation license expired?Has your IBM XL C/C++ for AIX software evaluation license expired?
You can work around this little problem temporarily by placing the following environment variable in /etc/profile.
XLC_EXTEND_EVAL=yes
According to the IBM support site, this will extend the XLC license to a total of 74 days.
http
It appears to work.
Before the change, I was unable to compile anything. Note the highlighted text below.
# /usr/vac/bin/xlc cgc.c The license for the Evaluation version of IBM XL C/C++ for AIX V11.1 compiler product has expired. Please send an email to compiler@ca.ibm.com for information on purchasing the product. The evaluation license can be extended to 74 days in total by either a) setting an environment variable XLC_
With the environment variable in place, I was able to compile again.
# /usr/vac/bin/xlc cgc.c # ./a.out Hello World!
Of course I could also export the environment variable as required instead e.g.
# export XLC_EXTEND_EVAL=yes # /usr/vac/bin/xlc cgc.c # ./a.out Hello World!
If you do place this environment variable in /etc/profile, you may need to restart any processes on the system that need to call the compiler.
|