[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 782
  • Last Modified:

Workshop Compiler for Solaris

Hi,
I have installed Solaris 8 on a SUN Blade 2000 SPARC system. Now I need to move this compiler:

$ /opt/SUNWspro/bin/cc -V
cc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1

from the old system:
$ uname -a
SonOS 5.6 Generic_105181-30 sparc

to the new system. What is the easiest way of installing this compiler on the new system? Since I don't have the original install files, where can I download it from if I can not simply move the installation?

thanks!
0
mehranalmasi
Asked:
mehranalmasi
  • 10
  • 6
  • 4
  • +2
2 Solutions
 
ahoffmannCommented:
I guess you need a new bundle for Solaris 8
0
 
mehranalmasiAuthor Commented:
Hi ahoffmann,
I am not sure what you mean by bundle. can you be more specific?

thanks.
0
 
yuzhCommented:
Why not download the gcc compiler (binary packages) from:
http://sunfreeware.com/

installation procedure http:Q_21099108.html

please remember to install gdb, libgcc, glib,  libiconv, automake, autoconf  as well (download from the same site )
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
mehranalmasiAuthor Commented:
yuzh
unfortunately it has to be WorkShop Compilers.

thanks!
0
 
mehranalmasiAuthor Commented:
increasing points to 350
0
 
yuzhCommented:
You can try to transfer the pkg accross, have a look at:

http:Q_21069450.html
http://sunsite.nus.sg/solaris_2.5/pkgadd.html
http://www.ibiblio.org/pub/packages/solaris/sparc/html/creating.solaris.packages.html

Or have a look at the CDs ship with your SUN Blade 2000 see if there is any new package in them.
0
 
mehranalmasiAuthor Commented:
yuzh,
Unless if I am missing something, the links you provided point to installing software in none-default location and how to create pkgadd software.
did you provide wrong links by mistake?
I don't think workshop compilers come with Solaris CD. As far as I know, no compilers are supplied when you purchase Solaris.

0
 
ahoffmannCommented:
that's what i meant: Sun does not deliver compilers. The one you get with Solaris (bundled) is useless (more or less).
You have to ask you vendor of your Workshop to give you a package for you new Solaris.
0
 
TintinCommented:
I think your best bet is to simply request that Sun send you a new copy of the media (they should do this for free if you have a local Sun contact).  Presumably, you still have your licence code written down somewhere?
0
 
mehranalmasiAuthor Commented:
Hi
The software was purchased many years ago from a company that is no more!
No record of the license code either!!
0
 
TintinCommented:
Without the licence, you are going to be a little stuck.

Here's what I'd try.

Get a list of all the compiler packages with:

pkginfo|grep -i compiler

Then get a list of all the files in that package by doing

pkgchk -v <pkgname>

and copy to the new server.  You may have issues with libraries and dependencies.
0
 
mehranalmasiAuthor Commented:
Hi Tintin,
I guess the pkginfo may not list all used libraries and dependencies. What is the likelihood of that?
when such issues arise, is it not possible to to fix the problem by any listed error code, etc?

0
 
NopiusCommented:
mehranalmasi, for software developers Sun provides SunStudio 9 for free.
 It has WorkShop compiler inside. You may download and install it from here:
http://www.opensolaris.org/os/community/tools/sun_studio_tools/#DownloadOption1
You have to register as a developer first. Registration is also free.

I have slightly newer version, but it should be compatible with your WorkShop enviroment:

$ /opt/SUNWspro/bin/cc -V
cc: Sun C 5.8 2005/10/13
usage: cc [ options] files.  Use 'cc -flags' for details
0
 
NopiusCommented:
I'm not shure about Solaris 8, try it.

At least it runs OK in Solaris 10:
$ uname -a
SunOS sf250 5.10 Generic sun4u sparc SUNW,Sun-Fire-V250
0
 
TintinCommented:
I won't work for Solaris 8.  Packages are compatible with later SunOS releases, but not older ones.
0
 
NopiusCommented:
From manual 'man sunstudio'

The Sun Studio 11 IDE is available on  the  following  plat-
     forms:

     o Solaris[tm] Operating System, versions 8, 9, and 10
0
 
TintinCommented:
Ahh.  Good to know.
0
 
ahoffmannCommented:
so prooved now what was said in the very first comment ;-)
Good work Nopius, Tintin.
0
 
mehranalmasiAuthor Commented:
thanks Nopius, I will try it  but the link is for Studio 10 not 9. Did you mean 10?
0
 
NopiusCommented:
No, it is a link to Studio 9. It's an error on web page.
At least it was so 3 months ago.
0
 
NopiusCommented:
mehranalmasi: you right, its SunStudio 10 there.

sunstudio10-ii-20050912-sol-sparc.tar.bz2        202.00 MB
0
 
mehranalmasiAuthor Commented:
Hi Nopius,
I went for your suggestion. Downloaded Studio 11 but when I try to run installer I get "Attach to native process failed"

Any idea what is causing this?

thanks
0
 
yuzhCommented:
Check your disk space, eg, make sure that /tmp is not FULL.

Try to pull your package in the filesystem with more free space and try again.

If you need more help, post the output of "df -kl" command
0
 
mehranalmasiAuthor Commented:
                                   avail           capacity    mounted on
/dev/dsk/c1t1d0s0           1902295     5%              /
/dev/sdk/c1t1d0s6           3184663     23%            /usr
/proc                               0                0               /proc
swap                               3589880      1              /var/run
swap                               3589880      1              /tmp
/dev/dsk/c1t1d0s5            1682432      1              /opt
/dev/dsk/c1t1d0s0            34891445    1              /export/c1t2d0
/dev/dsk/c1t1d0s7            23017505    8              /export/home
0
 
yuzhCommented:
Ok, no problem with disk space.

Have you apply the latest Solaris patches to your system? You might need to update Java in your system as well.

You can download the latest Recommended Patch Clusters:
http://sunsolve.sun.com/pub-cgi/show.pl?target=patchpage

and Java:
http://sunsolve.sun.com/pub-cgi/show.pl?target=patchpage
0
 
NopiusCommented:
SunStudio has Java GUI installer by default, you may also try either text mode installer or batch installer:
http://docs.sun.com/source/819-0485/products.html#17614
http://docs.sun.com/source/819-0485/products.html#46649

0
 
mehranalmasiAuthor Commented:
Hi,
I have opened another question, http://www.experts-exchange.com/Operating_Systems/Solaris/Q_21834175.html
to resolve the "Attach to native process failed" problem.

thanks for your help. Although Tintin's solution was really what I was originally thinking about, I ended up installing Studio11.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 10
  • 6
  • 4
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now