Sun Studio 10 Linux, RHEL3 U4, install fails on openmotif21.

Hello everyone,
As a long-time user of Sun WorkShop... I mean Forte.. I mean Studio; it was with great anticipation that I downloader Sun Studio 10 for Linux.
On one machine it failed to install and on another it installed properly.
Here are the details:
- Machine 1: RHEL3 U2 (x86/i686), small install: Installation of Studio 10 went fine.
- Machine 2: RHEL3 U4 (x86/i686), complete install : Installation of Studio 10 failed. The following can be gathered from the logs under /var/opt/sun:
[....snip....]
Installing Sun Studio Software
Log file: /var/opt/sun/install/logs/Sun_Studio_Software_install.A04060111
Installed: /var/prod/com.sun.studio_10/uninstall_Sun_Studio_Software.class
Uninstaller is at: /var/prod/com.sun.studio_10/uninstall_Sun_Studio_Software.class
Standalone Tools: Building Software
Installing RPM: sun-dmake-10.0-1
[....snip....]
System packages supporting Sun Studio Software
Installing RPM: openmotif-2.1.31-2_IST
error: Failed dependencies:
openmotif < 2.2.2 conflicts with openmotif21-2.1.30-9.RHEL3.4
Error: RPM openmotif-2.1.31-2_IST install failed}.
Install complete. Package: openmotif-2.1.31-2_IST
rpm: Skipping rpm remove of openmotif-2.1.31-2_IST, not installed.
rpm: Skipping rpm remove of sun-svc-locale-zh-10.0-1, not installed.
[....snip....]
And everything is removed. Is this issue documented somewhere? Is there a workaround?
Thanks for reading,
Vincent

Deselecting 'system supporting packages' from the Sun Studio 10 installation list made the trick and Studio finished installing.
However, I have a few concerns:
1) Since Studio will be using the system's openmotif, will it be supported? (I guess not).
2) Since openmotif-2.1.31-2_IST.i386.rpm from the Studio 10 IDE kits lands under /usr/OpenMotif-2.1.31 and should not conflict with any kind of other/system openmotif, why didn't SUN just create a sun-openmotif-support package? This would prevent a naming conflict when trying to install on RHEL3 if RHEL's openmotif21 is already installed?
3) It appears to work fine, even without SUN's provided openmotif.
Cheers,
Vincent

Similar Messages

  • Sun Studio 12 didn't installed compilers binary

    I installed Sun Studio 12 on sparc on Solaris 10/08
    All ok except it didn't installed the compilers cc and CC and fortran in /opt/SUNWspro/bin
    Even using patch to update them 124863-07 doesn't work because the patch can't run (missing components to update)
    Link to uninstal was created not working and even changing the name of the SUNWspro to another name doesn't let the installer to install again
    Any suggestions?

    robunix wrote:
    Any suggestions?When you run the installer, it creats a log file, and prints its name. Can you take a look at this file?
    There should be some error messages. Usually Sun Studio 12 installs just fine on Solaris 10.
    Please, run the following commands and post the output?
    ls -la /opt
    ls -la /opt/SUNWspro
    You said it changed the name "SUNWspro to another name". Did you have some old Sun Studio
    version installed on this system? If yes, can you uninstall it, and install Sun Studio 12 again?
    Thanks,
    Nik

  • Windows Azure Tools for Visual Studio 2013 - v2.2 install fails on Windows Server 2012 R2

    Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    The installation completes without any errors on my VM running Windows Server 2012 R2, however its not recognized in VS2013 ? It also breaks the Publish functionality when I try and publish a web site to my hosting provider.

    I tried install, uninstall, reinstall cycle several times without success. Any help would be greatly appreciated.
    here is my About info:
    Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Installed Version: Professional
    LightSwitch for Visual Studio 2013   06177-004-0444002-02824
    Microsoft LightSwitch for Visual Studio 2013
    Microsoft Office Developer Tools for Visual Studio 2013 ENU   06177-004-0444002-02824
    Microsoft Office Developer Tools for Visual Studio 2013 ENU
    Team Explorer for Visual Studio 2013   06177-004-0444002-02824
    Microsoft Team Explorer for Visual Studio 2013
    Visual Basic 2013   06177-004-0444002-02824
    Microsoft Visual Basic 2013
    Visual C# 2013   06177-004-0444002-02824
    Microsoft Visual C# 2013
    Visual C++ 2013   06177-004-0444002-02824
    Microsoft Visual C++ 2013
    Visual F# 2013   06177-004-0444002-02824
    Microsoft Visual F# 2013
    Visual Studio 2013 Code Analysis Spell Checker   06177-004-0444002-02824
    Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
    ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
    For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
    ASP.NET Web Frameworks and Tools 2013   5.0.11001.0
    For additional information, visit http://www.asp.net/
    BusinessObjectEditor   1.0
    Information about my package
    CodeRush for Visual Studio   13.2
    Common Azure Tools   1.0
    Provides common services for use by Azure Mobile Services and Windows Azure Tools.
    CreateLayoutWizardPkg   1.0
    Create layout wizard.
    DevExpress.ExpressApp.Design.DesignDynamicPackage   1.0
    DevExpress VSIX Package
    DevExpress.ExpressApp.DesignPackage   1.0
    DevExpress VSIX Package
    DevExtreme.Design   13.2.6
    DevExtreme Visual Studio integration package
    DXCore for Visual Studio   13.2
    DXCore for Visual Studio
    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools
    Workflow Manager Tools 1.0   1.0
    This package contains the necessary Visual Studio integration components for Workflow Manager.
    XtraReports package   1.0
    XtraReports package

  • Installing Sun Studio 11 on Gentoo linux?

    I have been having problems attempting to install Sun Studio 11 on Gentoo. I emerge'd "alien", with the hope that I could trick the installation program into using it, but that doesn't work. I get all kinds of java errors (I am using sun-jre-bin 1.5 update 3).
    Is there a way to actually get these various and sundry .rpm packages on the system? There seem to be an awful lot of them.
    Thanks!

    hi guys, i posted in another topic, i m sorry for that.
    I followed your advice, bhut nothing helped.
    Now, it still does not work: Failed installation
    Here s the log:
    Installing Sun Studio Software
            Log file: /var/opt/sun/install/logs/Sun_Studio_Software_install.B10241137
    Installed: /var/prod/com.sun.studio_11/uninstall_Sun_Studio_Software.class
    Uninstaller is at: /var/prod/com.sun.studio_11/uninstall_Sun_Studio_Software.class
    Standalone Tools: Building Software
    Installing RPM: sun-dmake-11.0-1
    error: Failed dependencies:
            /opt/sun/sunstudio11/bin is needed by sun-dmake-11.0-1.i386
            /opt/sun/sunstudio11/inventory/v15n1 is needed by sun-dmake-11.0-1.i386
            /opt/sun/sunstudio11/lib is needed by sun-dmake-11.0-1.i386
            /opt/sun/sunstudio11 is needed by sun-dmake-11.0-1.i386
    Error: RPM sun-dmake-11.0-1 install failed}.
    Install complete. Package: sun-dmake-11.0-1
    rpm: Skipping rpm remove of sun-mrdmk-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-updck-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-pnsn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfgn-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfgn-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfgn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpgn-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpgn-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpgn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdwf-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdwf-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdwf-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dwrfb-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpan-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpan-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpan-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prflx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prflb-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfax-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfan-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfan-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfan-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-updck-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-pnsn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbxx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrxm-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xmsrc-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xmshr-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xmbin-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-gvim-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrxd-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-fdxd-11.0-1, not installed.
    rpm: Skipping rpm remove of openmotif-2.1.31-3_IST, not installed.
    rpm: Skipping rpm remove of sun-exted-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-exted-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-exted-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbcpp-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbcpp-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbcpp-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbide-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbide-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbide-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrlnx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrlnx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrlnx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mride-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mride-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mride-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbreg-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbreg-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbreg-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-idext-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-idext-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-idext-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xdplg-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xdplg-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xdplg-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-svc-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-svc-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-svc-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxui-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxui-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxui-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-tdemo-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-11.0-1, not installed.

  • After installing Sun Studio 11, libfsu.a in Sun Forte  6 is removed.

    I have Sun compilers 5.0 and 6.2 on my Sun Solaris 8 Ultra Sparc machine. After installing Sun Studio 11, some library files (e.g., libfsu.a in Sun Forte 6) from the old compilers were removed. What is wrong with my installation?
    Note that I install the different versions of compilers in separate directories.

    After the 1st failed installation of Sun studio 11,
    did you making sure that Sun studio 11 is not exist
    on your system before re-install Sun studio 11? The
    rule is you can have different Sun studio releases
    on the same system, but you can not have the
    multiple copy of the same release on the same
    system, even though they are in a totally separate
    directory. If Sun Studio 11 exist after 1st fail
    installation, you need to un-install it first before
    you re-start 2nd installation attemp.
    Installation of Sun Studio 11 should not remove files
    from older releases, but we know the case it did mess
    up package of the older release before.
    -NgocNo, after 1st install failed due to insufficient disk space, I did not uninstall Studio 11. After I deleted some user files to free up disk space, I run the install again, specified the same directory for installation, and just select Sun Performance Libraries. The installation seems to finished successfully. Perhaps this is one scenario where old versions can get messed up.

  • Unable to install Sun Studio 12 update1

    root:> cat /etc/release
    Solaris 10 5/09 s10s_u7wos_08 SPARC
    Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 30 March 2009
    root:> uname -a
    SunOS testbox 5.10 Generic_139555-08 sun4u sparc SUNW,UltraAX-i2
    root:> java -version
    java version "1.5.0_21"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_21-b01)
    Java HotSpot(TM) Client VM (build 1.5.0_21-b01, mixed mode, sharing)
    I've tried a couple of time to install Sun Studio 12 but it keeps failing during the pkgadd. Once with the GUI and twice with the non-Gui interface. Both end up with the same result.
    Below is where i believe the install is failing.
    [2009-11-24 11:03:53.988]: executing command: pkgadd -n -d -G/tmp/SPROsmpx SPROsmpx
    [2009-11-24 11:07:32.961]: org.netbeans.installer.utils.exceptions.InstallationException: Inner Exception
    [2009-11-24 11:07:33.064]: at org.netbeans.installer.product.components.NativeClusterConfigurationLogic.install(NativeClusterConfigurationLogic.java:227)
    [2009-11-24 11:07:33.065]: at org.netbeans.installer.product.components.Product.install(Product.java:342)
    [2009-11-24 11:07:33.065]: at org.netbeans.installer.wizard.components.actions.sunstudio.InstallAction.execute(InstallAction.java:166)
    [2009-11-24 11:07:33.065]: at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:120)
    [2009-11-24 11:07:33.065]: Caused by: org.netbeans.installer.utils.nativepackages.InstallationException: Error native. Error = Copyright 2009 Sun Microsystems, Inc. All rights reserved.Use is subject to license terms.Installation of <SPROsmpx> failed (internal error).No changes were made to the system.
    [2009-11-24 11:07:33.066]: at org.netbeans.installer.utils.nativepackages.SolarisNativePackageInstaller.install(SolarisNativePackageInstaller.java:163)
    [2009-11-24 11:07:33.066]: at org.netbeans.installer.utils.nativepackages.SolarisNativePackageInstaller.install(SolarisNativePackageInstaller.java:195)
    [2009-11-24 11:07:33.066]: at org.netbeans.installer.utils.nativepackages.SolarisNativePackageInstaller.install(SolarisNativePackageInstaller.java:204)
    [2009-11-24 11:07:33.066]: at org.netbeans.installer.product.components.NativeClusterConfigurationLogic.install(NativeClusterConfigurationLogic.java:208)
    [2009-11-24 11:07:33.066]: ... 3 more
    [2009-11-24 11:07:52.992]: ... also rollbacking Sun Studio(ss-base/12.1.0.0.0)
    [2009-11-24 11:07:53.098]: Start rollback of Sun Studio(ss-base/12.1.0.0.0)
    [2009-11-24 11:07:54.937]: ... deleting installed files files
    Could someone help ? TIA

    Hello Nik,
    First off, let me say thanks for your assistance.
    I wasn't able to find "sunstudio12-patched-ii-2009Sep-sol-sparc.tar.bz2" but I did locate another Sun Studio 12 Tarfile Install called "SunStudio12ml-solaris-sparc-200709-ii.tar.bz2". And I located a Sun Studio 12 System Preparation Tool as well.
    One issue I saw was below....
    If you install the Sun Studio 12 software using the Sun Studio 12 tarfile, your installation is unsupported, and you will not be able to apply Sun Studio product patches.
    This maybe an issue later. Our DBAs are planning on upgrading ORACLE on this development box which I believe may require an upgrade on some of the Sun Studio patch versions.
    Peter G.

  • Installing  cooltools when Sun studio is installed in a non default dir

    Hello all,
    I have installed sun studio 12 on one node of a SPARC cluster. When installing, I did not use the default directory (/opt/SUNWspro), but I used a different one as this installation is for trial purposes only.
    Now, I want to install discover, ats and all other tools that are included in the tar file. I followed the instruction on suns web page : http://cooltools.sunsource.net/cmtdt/install.html, but all the information there is based on the fact that sun studio is installed in the default directory.
    Does anyone know, what should I do in order to install the tools in the proper directory? Should I specify a path in the "pkgadd" command? Please help as I am stuck at the moment.
    Thanks a lot.
    Yiannis

    I think I found the answer myself. It is written in sun's web page:
    If the Sun Studio 12 tools are installed with a different base directory, say /opt/Studio12/SUNWspro/bin, then use the option -a none in the pkgadd command. When you are prompted for the <base_dir>, enter /opt/Studio12. The tools in the SPROprfns and SPROcool packages will be installed in /opt/Studio12/SUNWspro/extra/bin.
    I think this solves the problem, but in any case, please feel free to comment on this one.

  • Is it possible to integrate j2ee enviroment with sun studio developer???

    Dear all,
    I currently developing a jsp based web application with sun studio enterprise but sun studio by default does not support j2ee environment, i think it only support to j2SE.
    i want to use persistence and enterprise beans with my application but don't know, how to do it with sun studio developer.
    i can install the persistence and ejb api's separately, but i dont know whether sun developer will support them
    Can any on tell, what is the best tool for web application developement, while i will need to java uml diagrams later on.
    i would be grateful, if someone can help, i am really desprate
    shafqat zaman

    Sun Java Studio Enterprise 8.1 (built on top on NetBeans 5.0) does support j2ee (and j2se) development.
    For developing j2ee applications, both NetBeans (latest version is 5.5, http://www.netbeans.org) and SJSE can be used. For a comparison on SJSE and NetBeans, please take a look at:
    http://forum.java.sun.com/thread.jspa?forumID=747&threadID=5113472
    For a list of all development tools from Sun, please take a look at http://developers.sun.com/prodtech/devtools/free/index.html..
    i want to use persistence and enterprise beans with my application but don't know,
    how to do it with sun studio developer.For j2ee development, please check out NetBeans 5.5 ; there are several tutorials available at http://www.netbeans.org/kb/index.html. (Since SJSE is built on top on NetBeans, SJSE can also be used and all the NetBeans documents also will apply to SJSE).

  • What Sun Studio 12 patches are included in Sun Studio 12 Update 1?

    I can't seem to find a bug list or patch list for Sun Studio 12 Update 1. Can someone provide a link or list of what was fixed?
    Secondary, how do I know I have Sun Studio 12 Update 1 installed? Does CC -V say 5.9.1?
    -kto

    I'm not sure about your bug list or patch list question, but on your second question you can use the "version" command.
    Just point it at the Sun Studio component you want to check. So for the CC compiler :
    % version sunstudio12.1/bin/CC
    version of "sunstudio12.1/bin/CC": Sun C++ 5.10 SunOS_sparc 2009/05/02
    You can also just type "version" and that will list all the
    components of the Sun Studio that are in your PATH, like so :
    % version
    Machine hardware: i86pc
    OS version: 5.10
    Processor type: i386
    Hardware: i86pc
    The following components are installed on your system:
    Sun Studio 12 update 1
    Sun Studio 12 update 1 C Compiler
    Sun Studio 12 update 1 C++ Compiler
    Sun Studio 12 update 1 Tools.h++ 7.1
    Sun Studio 12 update 1 C++ Standard 64-bit Class Library
    Sun Studio 12 update 1 Garbage Collector
    Sun Studio 12 update 1 Fortran 95
    Sun Studio 12 update 1 Debugging Tools (including dbx)
    Sun Studio 12 update 1 IDE
    Sun Studio 12 update 1 Performance Analyzer (including collect, ...)
    Sun Studio 12 update 1 Performance Library
    Sun Studio 12 update 1 Scalapack
    Sun Studio 12 update 1 LockLint
    Sun Studio 12 update 1 Building Software (including dmake)
    Sun Studio 12 update 1 Documentation Set

  • Installing Sun Studio Creator in Linux-UBUNTU

    Dear Everyone,
    Creator is not getting install in UBUNTU Linux, Has Anybody install.
    Please Help.
    Regards,
    Ashish Samant

    i've got the same problem, are there anyone could help?

  • Sun studio not working in linux

    I installed sun studio 12 in suse 10 linux, and i created a simple pgm,
    when compiling it, it shows these below errors,
    Running "/root/Desktop/sunstudio12/bin/dmake -f Makefile CONF=Debug" in /root/SunStudioProjects/Add
    dmake: defaulting to parallel mode.
    See the man page dmake(1) for more information on setting up the .dmakerc file.
    linux-n3wz --> 1 job
    /root/Desktop/sunstudio12/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
    linux-n3wz --> 1 job
    mkdir -p build/Debug/Sun12-Linux-x86
    cc -c -g -o build/Debug/Sun12-Linux-x86/newmain.o newmain.c
    linux-n3wz --> Job output
    mkdir -p build/Debug/Sun12-Linux-x86
    cc -c -g -o build/Debug/Sun12-Linux-x86/newmain.o newmain.c
    (/root/SunStudioProjects/Add)newmain.c:
    "/root/Desktop/sunstudio12/prod/include/cc/stdio.h", line 5: cannot find include file: <stdio.h>
    "/root/Desktop/sunstudio12/prod/include/cc/stdlib.h", line 6: cannot find include file: <stdlib.h>
    "newmain.c", line 17: warning: implicit function declaration: scanf
    "newmain.c", line 19: warning: implicit function declaration: printf
    "newmain.c", line 20: undefined symbol: EXIT_SUCCESS
    cc: acomp failed for newmain.c
    *** Error code 2
    dmake: Fatal error: Command failed for target `build/Debug/Sun12-Linux-x86/newmain.o'
    Current working directory /root/SunStudioProjects/Add
    *** Error code 1
    dmake: Fatal error: Command failed for target `.build-impl'
    Build failed. Exit value 1.
    CAN any body tell me whats the exact problem?
    this same pgm is currectly running in sunstudio 12 installed in solaris.

    satmatrix wrote:
    ok, shall i install ubuntu in my laptop?No, I'm just saying that I'm not familiar with SuSe enough to tell what package you need to install to have standard includes. But you already have an answer now...
    Solaris 10 is not installable in my laptop, it doesnt support graphics, also i had tried opensolaris, it works without errors and it supports graphics,
    but can i install Sun Studio 12 in that?Of course. You can do it using OpenSolaris package manager; no need to download, unpack, install - package manager will do it for you.

  • How to install sun studio 12 under Centos 5???

    HI, all,
    I am trying to install Sun Studio 12 into Centos 5. The followings are what I did:
    1. Download sun studio 12 package by selecting Linex (x86) for Centos from web site and save this package under /var/tmp.
    2. I used bzcat to unpack this package by:
    bzcat < SunStudio12ml-linux-x86-200709-pkg.tar.bz2 | /bin/tar xvf -
    3. I did prepare_system before installation by:
    ./prepare_system [-d /opt/sun/ ] [-R /var/tmp/ ] [-C | -s netbeans | java | patches | all_patches | jdk_patches | all | print_needed_steps ]
    where [-d /opt/sun/ ] is the directory where all missing softwares will be installed, [-R /var/tmp/ ] is the directory where unpacked programs are saved.
    After running prepare_system, the resposes are:
    bash: -s: command not found
    bash: patches: command not found
    bash: all_patches: command not found
    bash: all: command not found
    bash: print_needed_steps: command not found
    bash: jdk_patches: command not found
    *Usage: gij [OPTION] ... CLASS [ARGS] ...*
    to invoke CLASS.main, or
    *gij -jar [OPTION] ... JARFILE [ARGS] ...*
    to execute a jar file
    *Try `gij --help' for more information.*
    4. I started to use installer with command line to install the sun studio 12 by:
    ./installer -nodisplay
    The result shows me some exceptions and installation is failed as:
    Exception in thread "Thread-1" java.awt.HeadlessException
    at java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)
    at java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)
    at javax.swing.JComponent.<init>(libgcj.so.7rh)
    at javax.swing.JPanel.<init>(libgcj.so.7rh)
    at javax.swing.JPanel.<init>(libgcj.so.7rh)
    at com.sun.wizards.core.WizardComponent.<init>(WizardComponent.java:159)
    at com.sun.wizards.core.WizardComposite.<init>(WizardComposite.java:83)
    at com.sun.wizards.core.WizardTreeManager.createWizardPanel(WizardTreeManager.java:890)
    at com.sun.wizards.core.WizardTreeManager.<init>(WizardTreeManager.java:325)
    at com.sun.wizards.core.CommandLineConsole.run(CommandLineConsole.java:75)
    at java.lang.Thread.run(libgcj.so.7rh)
    Task Failed: java.lang.NullPointerException
    java.lang.NullPointerException
    at java.lang.Class.isAssignableFrom(libgcj.so.7rh)
    at java.util.ResourceBundle.tryBundle(libgcj.so.7rh)
    at java.util.ResourceBundle.tryBundle(libgcj.so.7rh)
    at java.util.ResourceBundle.getBundle(libgcj.so.7rh)
    at java.util.ResourceBundle.getBundle(libgcj.so.7rh)
    at com.sun.setup.util.wbResource.getString(wbResource.java:212)
    at com.sun.setup.util.wbResource.getString(wbResource.java:132)
    at com.sun.setup.util.setupInitializationTask.perform(setupInitializationTask.java:88)
    at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
    at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
    at java.lang.Thread.run(libgcj.so.7rh)
    I followed installation instructions to install sun studio 12 under Centos 5. I can not make it. However, I made it under Solaries system.
    So, is there any special for Centos 5?
    Hunter 3D

    Hi,
    Thank you for your helps.
    According to your suggestions, I downloaded JDK 6 update 10 RC, specifical in Linux platform : self-extracting JDK file named:
    jdk-6u10-bin-b28-linux-i586-21-jul-2008.bin
    I saved downloading under the directory where sun studio is located.
    I used
    yum search jdk
    to find jdk exists in Centos 5.2 shown as the message as:
    [root@localhost sun]# yum search jdk
    Loading "priorities" plugin
    Loading "fastestmirror" plugin
    Loading mirror speeds from cached hostfile
    * rpmforge: ftp-stud.fht-esslingen.de
    * base: mirror.raystedman.net
    * updates: mirror.raystedman.net
    * addons: mirror.voxitas.com
    * extras: mirror.raystedman.net
    0 packages excluded due to repository priority protections
    jakarta-commons-launcher.i386 : The Launcher Component is designed to be a cross platform Java application launcher.
    jakarta-commons-collections.i386 : Jakarta Commons Collections Package
    mockobjects-alt-jdk1.4.i386 : Mockable API for JDK 1.4
    jakarta-commons-beanutils.i386 : Jakarta Commons BeanUtils Package
    gnu-crypto-sasl-jdk1.4.i386 : Gnu Crypto SASL API
    ldapjdk.i386 : The Mozilla LDAP Java SDK
    ldapjdk-javadoc.i386 : Javadoc for ldapjdk
    mockobjects-jdk1.4.i386 : MockObjects for 1.4 JDK
    I used
    ./installer -nodisplay
    to install sun studio 12 and error message show as:
    [root@localhost sun]# ./installer -nodisplay
    Exception in thread "Thread-1" java.awt.HeadlessException
    at java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)
    at java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)
    at javax.swing.JComponent.<init>(libgcj.so.7rh)
    at javax.swing.JPanel.<init>(libgcj.so.7rh)
    at javax.swing.JPanel.<init>(libgcj.so.7rh)
    at com.sun.wizards.core.WizardComponent.<init>(WizardComponent.java:159)
    at com.sun.wizards.core.WizardComposite.<init>(WizardComposite.java:83)
    at com.sun.wizards.core.WizardTreeManager.createWizardPanel(WizardTreeManager.java:890)
    at com.sun.wizards.core.WizardTreeManager.<init>(WizardTreeManager.java:325)
    at com.sun.wizards.core.CommandLineConsole.run(CommandLineConsole.java:75)
    at java.lang.Thread.run(libgcj.so.7rh)
    Task Failed: java.lang.NullPointerException
    java.lang.NullPointerException
    at java.lang.Class.isAssignableFrom(libgcj.so.7rh)
    at java.util.ResourceBundle.tryBundle(libgcj.so.7rh)
    at java.util.ResourceBundle.tryBundle(libgcj.so.7rh)
    at java.util.ResourceBundle.getBundle(libgcj.so.7rh)
    at java.util.ResourceBundle.getBundle(libgcj.so.7rh)
    at com.sun.setup.util.wbResource.getString(wbResource.java:212)
    at com.sun.setup.util.wbResource.getString(wbResource.java:132)
    at com.sun.setup.util.setupInitializationTask.perform(setupInitializationTask.java:88)
    at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
    at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
    at java.lang.Thread.run(libgcj.so.7rh)
    So, please tell me what I will do.
    Thank you.

  • Sun Studio 11 on Linux: newbie needs help playing the Temple of the Sun

    Hi!
    I've installed Sun Studio 11 on Mandriva 2007.1 Free edition. I would like to play the Temple of the Sun game but the building process fails consistently.
    I tried to follow the instructions on the following page
    http://developers.sun.com/sunstudio/learning/temple_faq.html#
    but still no joy.
    The wizards throughout the building process request much more parameters than those indicated on the FAQ page.
    This is the makefile
    ## -- Makefile --
    ## User: complex
    ## Time: May 18, 2007 12:00:44 PM
    ## Makefile created by Sun Studio.
    ## This file is generated automatically.
    #### Compiler and tool definitions shared by all build targets #####
    CC = gcc
    BASICOPTS = -g
    CFLAGS = $(BASICOPTS)
    # Define the target directories.
    TARGETDIR_String=GNU-i386-Linux
    all: $(TARGETDIR_String)/String
    ## Target: String
    OBJS_String = \
         $(TARGETDIR_String)/cEmptyFile.o
    # Link or archive
    $(TARGETDIR_String)/String: $(TARGETDIR_String) $(OBJS_String) $(DEPLIBS_String)
         $(LINK.c) $(CFLAGS_String) $(CPPFLAGS_String) -o $@ $(OBJS_String) $(LDLIBS_String)
    # Compile source files into .o files
    $(TARGETDIR_String)/cEmptyFile.o: $(TARGETDIR_String) cEmptyFile.c
         $(COMPILE.c) $(CFLAGS_String) $(CPPFLAGS_String) -o $@ cEmptyFile.c
    #### Clean target deletes all generated files ####
    clean:
         rm -f \
              $(TARGETDIR_String)/String \
              $(TARGETDIR_String)/cEmptyFile.o
         rm -f -r $(TARGETDIR_String)
    # Create the target directory (if needed)
    $(TARGETDIR_String):
         mkdir -p $(TARGETDIR_String)
    # Enable dependency checking
    .KEEP_STATE:
    .KEEP_STATE_FILE:.make.state.GNU-i386-Linux
    Below is the output of make
    dmake -m serial -f "/home/complex/.sunstudio/11-Linux-Intel(R) Pentium(R) 4 CPU 1.50GHz/sampledir/ts.c/Makefile" GNU-i386-Linux/String
    mkdir -p GNU-i386-Linux
    gcc -g -c -o GNU-i386-Linux/cEmptyFile.o cEmptyFile.c
    ts.c/cEmptyFile.c [2] warning: data definition has no type or storage class
    cEmptyFile.c: In function �main�:
    ts.c/cEmptyFile.c [3] warning: �a� is narrower than values of its type
    gcc -g -o GNU-i386-Linux/String GNU-i386-Linux/cEmptyFile.o
    Build Successful
    Total time: 0 seconds
    When I execute, it says "unexpected exception has occurred".
    Could someone more successful with this game please provide more detailed instructions on how to proceed?
    I should get a string somehow which I should paste into the answer window on the game page.
    Thanks a lot in advance.

    Hi
    CC = gccYou are using gcc. Switch to using the Sun Studio toolset, and all should be well.
    Paul

  • Installing Sun Studio 12 on Ubuntu 8.04

    When I try to install Sun Studio 12 with the graphical installer, I get a message half was through that Java is not installed. In my case Sun's Java was already installed. I tell the Sun Studio installer to do the update and it finished what it was doing. After the install is done, I found that the Sun Studio executable is missing, so it looked like the installation did not work. What version of Java is Sun Studio expecting and does it need to be tied to a specific path? Is there a known method for installing Java for Sun Studio 12?
    After this I uninstalled Java and Netbeans and started the system prep tool, which correctly said I was missing netbeans and java. I had the system prep tool install netbeans successfully but I get this message when trying to install java:
    error: Failed dependencies:
    glibc >= 2.1.2-11 is needed by jdk-1.5.0_09-fcs.i586
    sh-utils >= 2.0-1 is needed by jdk-1.5.0_09-fcs.i586
    fileutils >= 4.0-8 is needed by jdk-1.5.0_09-fcs.i586
    gawk >= 3.0.4-1 is needed by jdk-1.5.0_09-fcs.i586
    textutils >= 2.0-2 is needed by jdk-1.5.0_09-fcs.i586
    /bin/sh is needed by jdk-1.5.0_09-fcs.i586
    Any suggestions?

    I could not find any log files with error information from Express or Sun Studio 12. Any ideas?Not yet :-) Can you try to build and debug a sample project? Does it show the same problem?
    I mean one of several sample projects, that are shipped with the Sun Studio IDE.
    Start "sunstudio", from main menu: "File->New Project", select Samples->C/C++/Fortran->Welcome
    Did you try to run compilers and other tools?
    Please, make sure they work. For example, run the following commands:
    cc -V
    CC -V
    f90 -V
    collect -V
    dbx -V
    dmake -v
    (Note: the last one is small "v")

  • Sun Studio Compilers for Linux: Problems with undefined variables using CC

    I am experiencing the following errors below while trying to compile C++ programs using Sun C++ from the latest release of Sun Studio Compilers for Linux Alpha, on Red Hat Enterprise Linux 4 with kernel 2.6.9-34.EL and Ubuntu Breezy Badger 5.10 with kernel 2.6.12-10-686. I get the same exact errors on both OS's and on two different machines.
    root@ubuntu:/home/jc/cs225/Machine Problems/cs225/mp1/cs225_mp1# make
    CC -c -g string.cpp
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 214: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 221: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 277: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 335: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 392: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 443: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 504: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 558: Error: Template declarations cannot have extern "C" linkage.
    Compilation aborted, too many Error messages.
    make: *** [string.o] Error 1
    Except on ubuntu, it has one more error
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    and what is on line 47 is below
    __END_NAMESPACE_C99
    When I comment this line out, that particular error does not show up but still the other errors above still show up.
    From the testing I did, it appears to have these problems for most of the C++ programs I have written, especially the ones that involve object oriented programming. All programs that I wrote do not have these problems with g++ or Sun CC for Solaris. It does however work fine only for small fraction of the programs I have written. I dont quite understand why it works in some cases and others it doesnt, but I know for sure, that it should be working for all cases when Sun CC from Sun Studio 10 on Solaris 10 for X86 has no problems compiling the same programs.

    I tried workaround number 2 from the 3 choices that were listed by horsh. That fixes the mathcalls.h problem but still I have the following errors.
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$ make
    CC -c -g string.cpp
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 61: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 63: Error: Use ";" to terminate declarations.
    Error: Cannot continue processing because of prior errors.
    Compilation aborted.
    make: *** [string.o] Error 1
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$
    Can someone please respond? There is more to the problem. Perhaps
    there are more glibc headers that have problems. In addition, if Sun wants to port the Sun Studio Compilers for linux to be stable on all linux distributions I suggest using VM ware and installing several linux distrobutions as virtual machines and testing this software on each virtual machine to see the problems that occur on each distribution. That way you might be able to uncover more problems to find a solution that will work best for portability on all linux distributions.

Maybe you are looking for