Installing Sun Studio on Ubuntu Dapper Drake

Hi all,

I am trying to install Sun Studio 11 on Ubuntu Dapper Drake but everything i have tried so far has failed miserably. Actually i am only interested in the Sun fortran compiler but i havent found a link to download that alone.

I am running Ubuntu 6.06 LTS on AMD x86_64. Here is what i have tried so far

1) tried installing the way mentioned inthe readme

installer (even batch installer) fails with a lot of errors and most of them are

ExecuteCommand Error: java.io.IOException: java.io.IOException: /bin/rpm: not found

2) i use dchroot to get into i386 mode

then i follow the method mentioned in

http://forum.sun.com/jive/thread.jspa?threadID=72339&tstart=45

i am able to install the deb packages generated but when i run sunstudio it just hangs.

also i am not able to find the f95 compiler anywhere in the installation folder.

Could someone please help me get the fortran compiler running either natively (ie 64 bit) or under dchroot. Any help would be greatly appreciated.

Thanks

Winston

[1089 byte] By [winston_lewis] at [2007-11-26 8:56:02]
# 1
If you don't require support for Fortran compiler, you can download Sun Studio Express (latest builds) by following this link: http://developers.sun.com/prodtech/cc/downloads/express.jspIt comes in archive form and does not require any package management tools.
MaximKartashev at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

> I am trying to install Sun Studio 11 on Ubuntu Dapper Drake

> i am only interested in the Sun fortran compiler but i havent found a link to download that alone.

There is [b]no[/b] Fortran compiler (or any compiler for that matter) in Sun Studio 11 for Linux.

Even the link pointed out by Maxim does not contain Linux compilers yet (though it will since the next Sun Studio eXpress).

We are actively developing Linux compilers right now, and made available a number of early access versions.

You can download the latest Linux compilers Technology Preview from http://developers.sun.com/prodtech/cc/downloads/tech_preview.jsp

regards,

__Fedor.

SFV at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
Thanks __FedorThe Sun Studio website could be better organized.. Its very hard to find stuff you are looking for.Best,Winston
winston_lewis at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
Would be very happy to listen to your suggestion about Sun Studio web-site. Please do. It will help us to make it better to serve you and our customer.-Ngoc
NgocNguyen at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5

If you are still interested in installing Sun Studio 11 under Ubuntu Dapper Drake you can try installing the rpm package using apt-get then making a symbolic link to the command in the /bin directory. In other words run

apt-get install rpm

ln -s /usr/bin/rpm /bin/rpm

After this the regular installer worked for me.

I am not sure if its important but I also have gawk and the java jre and jdk installed.

Regards,

Matt

matjazk at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

Hi,

To install Sun studio on Ubuntu Dapper, you must have jre 5.0 update. Can be downloaded

from Sun's site. or add the repository to the package manager, and search jre 5.0 on the.

Next change to the java runtime to jre5.0, ie

sudo update-alternatives --config java

then run the studio installer.

Hope it helps.

mimoh_mi at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 7
Sun Studio 12 EA comes with the fortran compiler for GNU/Linux. Make sure that you don't use the pkg version of the installer since it uses rpm not deb's.
benstein at 2007-7-6 22:54:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...