pgfortran-Error-Please run makelocalrc to complete your inst

Hello,

I perform a local “Single system install” and got a message:
<<
Installing software into /opt/pgi (this may take some time).
############################################

ERROR: directory installés: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.4.1: not found;
successful use of compilers requires existence of gcc libraries
ERROR: directory installés: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.4.1: not found;
successful use of compilers requires existence of gcc libraries

Then, when I compile a fortran file, I get:
<<
pgfortran-Error-Please run makelocalrc to complete your installation

This is with a Mandriva 2010.0 system, where gcc 4.1.1 is installed and directory
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.4.1
exists.

Any idea of what I could do to try testing the PGI fortran compiler ?

Thanks,

Olivier.

gcc -print-search-dirs
provided (in fr local):
installés: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.2.3/

So, modify makelocalrc so that gccbase is correct:
gccbase="$gcc" -print-search-dirs | sed -e 's/^install: //' -e 's/\/$//' -e 1q | cut -f2 -d':'
gccbase=echo $gccbase

Installation is now complete.