Reinstalling Sun Studio

I rather carelessly removed the sunstudio directory using rm -rf instead of the uninstall option. Now when I try to run the installer (again) I get a warning message that an installation already exists and it then goes on to fail.

I am running Ubuntu Dapper

*EDIT*

Figured it out. I hadn't removed the dir in /var/opt/

George

Message was edited by:

geo.mac

[405 byte] By [geo.mac] at [2007-11-26 10:21:19]
# 1

Hi George,

I'm trying to install SunStudio on Dapper Drake and been having some problems if I use the following command:

sunstudio --jdkhome /usr/lib/jvm/java-1.5.0-sun-1.5.0.06

I can run sunStudio but when I try to debug a program compiled using gcc I run into the following problem:

Annotation: Exception occurred in Request Processor

java.lang.UnsatisfiedLinkError: /opt/sun/sunstudio11/prod/lib/libbase.so: /opt/sun/sunstudio11/prod/lib/libbase.so: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)

at java.lang.Runtime.load0(Runtime.java:769)

at java.lang.System.load(System.java:967)

at com.sun.tools.swdev.common.base.InstallDir.loadLibrary(InstallDir.java:64)

at com.sun.tools.swdev.common.base.UnixEnv.<clinit>(UnixEnv.java:51)

at com.sun.tools.debugger.dbxgui.utils.IpeUtils.getUnixEnv(IpeUtils.java:514)

at com.sun.tools.debugger.dbxgui.utils.IpeUtils.getenv(IpeUtils.java:465)

at com.sun.tools.debugger.dbxgui.debugger.RunConfig.writeDocument(RunConfig.java:1 636)

at com.sun.tools.debugger.dbxgui.debugger.RunConfig.save(RunConfig.java:1030)

at com.sun.tools.debugger.dbxgui.debugger.actions.LoadDialogAction.actionPerformed (LoadDialogAction.java:118)

at com.sun.tools.debugger.dbxgui.debugger.actions.LoadDialogAction.actionPerformed (LoadDialogAction.java:98)

at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)

at org.openide.util.Task.run(Task.java:136)

at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)

[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)

I'm running on a Dell 690 with 2 Dual-Core Xeons.

Could you tell me how you installed SunStudio?

Thanks in advance for your time and help.

Bob

TimeLordBob at 2007-7-7 2:20:43 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Hi Bob,I found a solution to the problem which I detailed in the other thread. George
geomac at 2007-7-7 2:20:43 > top of Java-index,Development Tools,Solaris and Linux Development Tools...