I got a error while i compiled pgi

Following is my error. Please give me answer. What is a problem?



Installation directory? [/opt/pgi]

Common local directory on all hosts for shared objects: [/usr/pgi/10.2/share_objects]

Note: directory /usr/pgi/10.2/share_objects was created.


Installing software into /opt/pgi (this may take some time).
#######################

Unknown glibc version (2.11); treating like 2.4
ERROR: gcc not found;
successful use of compilers requires existence of gcc libraries

Making symbolic links in /opt/pgi/linux86/2010
/opt/pgi/linux86/2010/mpi is not a symbolic link.
No symbolic link is done.


But after installing, i got a message as following

Installation complete. - I got a error. How can it complete installing



Please run makelocalrc to create /opt/pgi/linux86
/bin/localrc.$host
on all other hosts you wish to run PGI compilers.
* - What does this meas??

For 32-bit system only:
makelocalrc -x /opt/pgi/linux86/10.2 -net /usr/pgi/10.2/share_objects

For 64-bit system with 32-bit gcc libraries:
makelocalrc -x /opt/pgi/linux86/10.2 -net /usr/pgi/10.2/share_objects
makelocalrc -x /opt/pgi/linux86-64/10.2 -net /usr/pgi/10.2/share_objects


If you purchased a software subscription, please note that the ST support
services to you are limited to the terms described in the file
/opt/pgi/SUBSCRIPTION_SERVICE.

A copy of this file can also be found on the PGI website, at
http://www.pgroup.com/support/SUBSCRIPTION_SERVICE.


Please check the FAQ at http://www.pgroup.com/support/faq.htm for a current
listing of customer support concerns, including installation, use of PGI
software, and other questions or problems.

This product uses the STLport Standard Template Library for ANSI C++. The
STLport license can be found at http://www.stlport.com/doc/license.html.

In addition I didn’t see any message about license.
and when i put lmutil lmhostid command, ‘the command not found’ came out. I don’t know what should i do…
Please answer me.

Hi peter3,

In order to use the PGI compilers you need the GCC development packages installed (for some header files and run time libraries). The error your seeing means that the installer was not able to find components from these packages. Unfortunately, several of the newer Linux flavors, especially the desktop versions, don’t install development packages by default.

To fix, please install the gcc development packages. For example of Fedora, I believe the command is “yum install gcc”. Your OS may be different.

If you believe that you do have the gcc development packages properly installed, but the installer is still not able to find them, your OS may be too new and have changed some of the default locations. (For example see this post about Mandriva Power Pack 2010). In this case, please contact PGI Customer Service (trs@pgroup.com).

  • Mat