Installation of Open64-4.2.4 on RHEL 5.X on IA64
From Open64 Wiki
There are several issues IA64 users may encounter, when compiling open64 on RHEL 5.X.
1. Glibc is (far) too old there, and there is no possibility to upgrade to RHEL 6.X, since RedHat dropped ia64 support. Therefore, the packaged binaries (rpm or tar) are useless.
2. When using the RH provided compiler (4.1.2), an annoying error suddenly occurs.
I tried the recommended compiler releases (4.2.4) and the same issue occurred again. The solution was to build open64 with gcc 4.3.5: just compile gcc 4.3.5, then use it to build open64 (I used the sources from svn, but it should be OK with the tarred version).
Here are the instructions:
1. compile gcc-4.3.5 from sources, personally I installed it in /opt/gcc-4.3.5 directory, you can use the same configure options as RedHat's gcc: gcc -v should provide you this kind of information.
2. retrieve the sources from svn, following those instructions, here is what I did:
svn export https://svn.open64.net/svnroot/open64/branches/open64-4.2.4 open64-4.2.4-svn
3. build open64 with gcc 4.3.5:
mkdir build_open64-4.2.4-svn_gcc-4.3.5 # configure the default compiler export PATH=/opt/gcc-4.3.5/bin:$PATH export LD_LIBRARY_PATH=/opt/gcc-4.3.5/lib cd build_open64-4.2.4-svn_gcc-4.3.5/ ../open64-4.2.4-svn/configure --prefix=/opt/open64-4.2.4 make make install
And that should be it.
Then to use opencc, with my configuration:
export PATH=/opt/open64-4.2.4/bin:$PATH export LD_LIBRARY_PATH=/opt/open64-4.2.4/lib:/opt/gcc-4.3.5/lib
And here you have your new compiler.
NOTA BENE
This recipe is also valid for open64-5.0 using exactly the same gcc-4.3.5 compiler.