problems with installation in UBUNTU 7.10

I need to install the PGI fortran compiler on a computer running with linux O.S. UBUNTU 7.10. When I try to install the PGI (7.2,3), it doesn’t work. It appears this:

ERROR: arch not found (PATH = $PATH)
Exiting…


it doesn’t find the “arch” file. I tried to use the last updates of Ubuntu, but
not luck!. Finally, I noticed that only the Ubuntu 7.04 contains the “arch” file but I don’t want this Ubuntu version.

I would be very grateful if you can help on this.

Hi,

Please change from arch to uname -m. Also if you have a problem in makelocalrc, please look at thread:"ERROR: Linker : not found" ubuntu linux server 7

Hongyon