DOWNLOAD INSTALL OF THE PATHSCALE COMPILER SUITE FROM RPMS

The Red Hat, Fedora, and SUSE distributions of the PathScale Complier Suite are most often installed in the form of RPMs (Red Hat Package Manager files). These files are provided as a tar file of RPMs appropriate for each distribution.

There are multiple independent RPM packages that make up the PathScale Compiler Suite. Refer to the supplied PathScale Compiler Suite InstalGuide for more detailed information.

Note: If you do not have root access you can also install the compiler suite from a non-root tar file. (For a non-root installation, please refer to the install instructions here.) Floating subscriptions require the subscription manager server to be installed
from an RPM. Nodelocked subscriptions do not require the subscription manager server to be installed.

For more details on this process and installation options, refer to the Install Guide.

Problems?

If you encounter problems:

  1. Refer to the Install Guide and the release notes to see if the problem is addressed in either of those two
    documents.
  2. Check the FAQ and Post Release Issues links on the PathScale support page: http://www.pathscale.com/support
  3. Contact PathScale support: support@pathscale.com


General instructions for a root RPM binary-only install to the default location

The default installation location is /opt/pathscale/

Step 1: Download the appropriate version of the compiler
binaries by clicking on the appropriate link on the download page.

Step 2: Extract the RPMs from the download file to a directory using tar.

Change directories to the location where you want to extract
the tar file and extract the tar file:

# cd <temporary_directory>
# tar xvf <downloadfilename>

This will create a subdirectory tree consisting of the Install Guide, release notes, other documentation and a subdirectory
for the version of Linux you are running. The subdirectory will in
turn contain two directories:

  • subscription-server containing the subscription
    server RPM, which should only be installed on the subscription
    server when floating subscriptions are being used
  • rpms containing the RPMs for the PathScale Compiler Suite

Step 3: Install the RPMs by changing directories into the rpms subdirectory in the distribution directory.

# cd <temporary_directory>/  \
pathscale-eko-compilers-3.0.99/  \
<distribution_name>/rpms

The <distribution_name> could be Fedora or SUSE9. To install or upgrade the compiler RPMs use the
command:

   # rpm -Uvh *.rpm

You will see an installation message similar to this as the installation progresses.

Preparing... ################################# [100%]
1:pathscale-compilers-doc ################### [8%]
2:pathscale-compilers-lib ################### [17%]
3:pathscale-c################################ [25%]
4:pathscale-compilers-common ################ [33%]
5:pathscale-compilers-devel ################# [42%]
6:pathscale-compilers-lib ################### [58%]
7:pathscale-c++############################## [67%]
8:pathscale-f90 ############################# [75%]
9:pathscale-sub-client ##################### [83%]
10:pathscale-pathdb ######################### [92%]
11:pathscale-pathdb ######################## [100%]

Note: If you have trouble installing on the SUSE operating
system SLES 8 or SUSE 9.x distributions, see Section 6.1.1 in the
Troubleshooting section of the Install Guide for information about using the --nodeps argument to work around dependency problems
that may occur with some SUSE RPMs.

Step 4: Subscription Management

The PathScale Compiler Suite will not run without a valid
and correctly installed subscription file, whether you are using a
floating subscription or a nodelocked subscription.

The subscription management client was extracted and installed along with the compiler suite.

Nodelocked Subscription:

For a nodelocked subscription, you need to install the new
subscription file (received separately from PathScale) and then you
are ready to start compiling. See Installing the Subscription File section below.

Floating Subscription:

Note: This RPM will be needed only if you are using
floating subscriptions.

The Subscription Manager server RPM was extracted during the tar process and put into a directory named subscription-server. To install the server, do the following:

# cd <temporary_directory>/  \
pathscale-eko-compilers-3.0.99/  \
<distribution_name>/subscription-server
# rpm -Uhv *.rpm

You will see an installation message similar to this as the installation progresses.

Preparing...              ################## [100%]
1:pathscale-sub-server ################## [100%]

Once this installation has been completed, then install the subscription
file as discussed in Installing the Subscription File below.

When the subscription file is in place, then start the Subscription
Manager server:

# /etc/init.d/pathscale-sub start

Installing the Subscription File

To install the subscription file, copy the pscsubscription-compiler-*.xml file you received from PathScale and, on all of the
systems where the compilers and the subscription manager server is
installed, place it into /opt/pathscale/lib/3.0.99 and then make
sure it is world readable:

# cp pscsubscription-compiler-*.xml  \
/opt/pathscale/lib/3.0.99
# chmod ugo+r /opt/pathscale/lib/3.0.99/  \
pscsubscription-compiler-*.xml

Step 5: Test the compiler

Compile a small program (ex: a "hello world") to verify that the
installation is correct.

 $ cat hello.c
#include <stdio.h>
int main () {
int i;
printf("Hello from PathScale\n");
return 0;
}
$ export PATH=/opt/pathscale/bin:${PATH}
$ pathcc -o hello hello.c
$ ./hello
Hello from PathScale
$ 


Optional Selection of Alternate Install Location:

The compilers are installed into this directory by default:

/opt/pathscale

This will be referred to as the <install_directory> in
the documentation. You can also change the default installation
directory by typing:

$ rpm --prefix <your_directory> -Uhv *.rpm

The compiler will be installed under <your_directory> (for example /compilers/pathscale). It should not be necessary to modify
either your PATH or your MANPATH (the scripts in /etc/profile.d should configure these). If for some reason,
you are having trouble with your PATH or MANPATH, see Section 4.11.1
in the Install Guide for
instructions on setting your PATH and MANPATH to <your_directory>.

Optional Source and Binary Download Procedure

For convenience and to satisfy the conditions of the GPL, you may
select to download the ISO CD ROM image of the entire PathScale
Compiler Suite. This disk image includes the compiled product
for each supported platform, as well as the source code covered under
the GPL.

Burn a CD ROM from the downloaded ISO image, using any familiar
tool, then proceed with the install as documented in the release
notes.

Please note that each time the compiler is upgraded, you will have
the same option to download the source code. You may prefer to shorten
your download and install time by selecting a binary-only version at
this time.

Back to top