Problem installing 7.2 on Ubuntu 8.04 (Hardy Heron)

Hi there–
Similar to others, I am running into problems installing PGI on Ubuntu 8.04. I’m getting

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

I tried doing what was recommended for older versions of Ubuntu (7.x), which was replacing “arch” with “uname -m” but that didn’t seem to have any effect.

Any help would be much appreciated.

Thanks,

ASP

Hi ASP,

In our 7.2-4 patch release due out next week, we added the following to the Linux installer to work around this problem:

Set $target based on whether the OS is 64- or 32-bit.

type arch > /dev/null 2>&1
if test $? -ne 0 ; then
alias arch=“uname -m”
fi

Aliasing arch to uname -m seemed work fine here when tested on our Ubuntu 8.04 system. If you could, please add the above code to your installer script or send a note to trs@pgroup.com and we’ll send you the updated installer. If it doesn’t work for you, hopefully we can determine the problem and have it fixed before 7.2-4 is released.

Thanks,
Mat