LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-22-2017, 01:41 AM   #1
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 142Reputation: 142
Installing ORACLE/Sun Workshop (official Sun C/C++/FORTRAN) Compiler


I've seemed to follow all the instructions, got keys and installed them in order to be able to download the software from Sun/ORACLE and was able to install parts of it, including an apparently working C compiler (just used some test code to compile).

However the IDE doesn't seem to want to install and if I type the command to install the whole thing I get this error:

Code:
root@sunshine:~# pkg install --accept developerstudio-125
Creating Plan (Running solver): -
pkg install: No solution was found to satisfy constraints

maintained incorporations:
  pkg://solaris/consolidation/SunVTS/SunVTS-incorporation@7.19.2-0.175.3.0.0.26.3
  pkg://solaris/consolidation/X/X-incorporation@0.5.11-0.175.3.1.0.2.1489
  pkg://solaris/consolidation/admin/admin-incorporation@0.5.11-0.175.1.0.0.5.0
  pkg://solaris/consolidation/cacao/cacao-incorporation@0.5.11-0.175.3.0.0.24.0
  pkg://solaris/consolidation/cde/cde-incorporation@0.5.11-0.175.3.0.0.16.0
  pkg://solaris/consolidation/cns/cns-incorporation@0.5.11-0.175.3.0.0.24.0
  pkg://solaris/consolidation/dbtg/dbtg-incorporation@0.5.11-0.175.3.0.0.29.0
  pkg://solaris/consolidation/ddt/ddt-incorporation@8.9.15.9.11
  pkg://solaris/consolidation/desktop/desktop-incorporation@0.5.11-0.175.3.0.0.28.0
  pkg://solaris/consolidation/desktop/gnome-incorporation@0.5.11-0.175.3.0.0.26.0
  pkg://solaris/consolidation/gfx/gfx-incorporation@0.5.11-0.175.1.0.0.5.0
  pkg://solaris/consolidation/ips/ips-incorporation@0.5.11-0.175.3.0.0.26.0
  pkg://solaris/consolidation/java-7/java-7-incorporation@1.7.0.85.33-0
  pkg://solaris/consolidation/java-8/java-8-incorporation@1.8.0.60.27-0
  pkg://solaris/consolidation/jdmk/jdmk-incorporation@0.5.11-0.175.2.0.0.22.0
  pkg://solaris/consolidation/l10n/l10n-incorporation@0.5.11-0.175.3.0.0.26.2
  pkg://solaris/consolidation/man/man-incorporation@0.5.11-0.175.3.0.0.28.0
  pkg://solaris/consolidation/nspg/nspg-incorporation@0.5.11-0.175.1.0.0.5.0
  pkg://solaris/consolidation/nvidia/nvidia-incorporation@0.5.11-0.175.3.0.0.17.0
  pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11-0.175.3.1.0.5.0
  pkg://solaris/consolidation/sfw/sfw-incorporation@0.5.11-0.175.3.0.0.30.0
  pkg://solaris/consolidation/sic_team/sic_team-incorporation@0.5.11-0.175.3.0.0.20.0
  pkg://solaris/consolidation/solaris_re/solaris_re-incorporation@0.5.11-0.175.3.1.0.5.0
  pkg://solaris/consolidation/ssm/ssm-incorporation@2.3.3.0-0.175.3.0.0.29.0
  pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11-0.175.3.20.0.2.0
  pkg://solaris/consolidation/ub_javavm-6/ub_javavm-6-incorporation@1.6.0.999.99-0
  pkg://solaris/consolidation/userland/userland-incorporation@0.5.11-0.175.3.1.0.3.0
  pkg://solaris/consolidation/xvm/xvm-incorporation@0.5.11-0.175.1.0.0.5.0
  pkg://solaris/entire@0.5.11-0.175.3.1.0.5.2

Plan Creation: Package solver is unable to compute solution.
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.
Include specific version of packages you wish installed.
root@sunshine:~#
Any ideas?

Like I said, I did partially install it by installing subpackages, so I can use the official Sun cc, not gcc. But the entire package still seems to elude me.

Code:
root@sunshine:~# cc -V
cc: Studio 12.5 Sun C 5.14 SunOS_i386 2016/05/31
root@sunshine:~# cat test-cc.c
#include <stdio.h>

int main (int argc, char * argv[]) {

   printf("Compiled with SUN Compiler!\n");

}
root@sunshine:~# cc -o test-cc test-cc.c
root@sunshine:~# ./test-cc
Compiled with SUN Compiler!
root@sunshine:~# file test-cc
test-cc:	ELF 32-bit LSB executable 80386 Version 1 [SSE], dynamically linked, not stripped
root@sunshine:~# cc -m64 -o test-cc test-cc.c
root@sunshine:~# file test-cc
test-cc:	ELF 64-bit LSB executable AMD64 Version 1 [SSE], dynamically linked, not stripped
root@sunshine:~# ./test-cc
Compiled with SUN Compiler!
root@sunshine:~#
Note gcc is still installed:

Code:
root@sunshine:~# gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@sunshine:~#
Oh, it also works with FORTRAN:

Code:
root@sunshine:~# cat test-fortran.f90 
program hello
print *,"Hello World!"
end program hello
root@sunshine:~# which f90
/opt/developerstudio12.5/bin/f90
root@sunshine:~# f90 -V
f90: Studio 12.5 Fortran 95 8.8 SunOS_i386 2016/05/31
root@sunshine:~# f90 -o test-fortran test-fortran.f90 
root@sunshine:~# ./test-fortran
 Hello World!
root@sunshine:~#

Last edited by Laserbeak; 06-22-2017 at 02:03 AM.
 
Old 06-22-2017, 12:15 PM   #2
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Original Poster
Rep: Reputation: 142Reputation: 142
* PARTIALLY solved *

I was able to get it installed up to version 124, yet 125 still won't install.

I seem to have to install 123 then 124, but still 125 wouldn't install.

But at least I have the Sun IDE now, even if it isn't the latest version!

Everything installs in /opt.

Pretty cool, huh?

https://imageshack.com/i/pmBWOX2xp

Last edited by Laserbeak; 06-22-2017 at 12:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Sun Shines Through the Rain at the Linux Workshop LXer Syndicated Linux News 0 05-03-2016 07:12 AM
LXer: Oracle to 'out Sun' Sun on hardware and software LXer Syndicated Linux News 0 10-12-2009 06:50 AM
LXer: Sun's Fortran replacement goes open-source LXer Syndicated Linux News 0 01-16-2007 01:03 AM
problems installing sun java compiler in mandrake 10.0 ranger225 Linux - Newbie 2 09-13-2004 06:20 AM
C-Compiler for SUN - NEED HELP jmarsh Solaris / OpenSolaris 1 02-26-2003 08:34 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration