LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 07-27-2007, 09:47 AM   #1
gurl4sh25
Member
 
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Rep: Reputation: 15
Problem in gcc installation


Hi Guys,

I'm trying to update my gcc from version 3.3.2 to 3.4.6, after downloading this on www.sunfreeware.com, upon installing i get an error.

Code:
bash-2.03# pkgadd -d gcc-3.4.6-sol8-sparc-local

The following packages are available:
  1  SMCgcc     gcc
                (sparc) 3.4.6

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <SMCgcc> from </build/tmp/gcc-3.4.6-sol8-sparc-local>

gcc
(sparc) 3.4.6

Current administration requires that a unique instance of the
<SMCgcc> package be created.  However, the maximum number of
instances of the package which may be supported at one time on the
same system has already been met.

No changes were made to the system.
What does it mean? How do i install this package? and when i check the current version i see

[HTML]bash-2.03# gcc --version
gcc (GCC) 3.3.2
Copyright (C) 2003 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.

[/HTML]


gurl4sh25
 
Old 07-27-2007, 10:19 AM   #2
kebabbert
Member
 
Registered: Jul 2005
Posts: 439

Rep: Reputation: 40
I suggest you try www.blastwave instead. And try also CBE for opensolaris. CBE has for instance Wine, vlc player, gcc 4.xxx, etc all ready packaged for download. The difference is that CBE downloads and automatically compiles for you, whereas blastwave is binary packages.

Last edited by kebabbert; 07-27-2007 at 10:20 AM.
 
Old 08-08-2007, 10:41 AM   #3
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
Try removing the old one and then installing the new one.
 
Old 08-08-2007, 10:52 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165

Rep: Reputation: 243Reputation: 243Reputation: 243
Yes, that is what the error message means.
You cannot install a package that is already installed, even with an older version.

You can remove the existing one with
Code:
# pkgrm SMCgcc
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC installation problem nicky43 Linux - Software 3 07-22-2006 05:59 AM
Suse 9.3 gcc-g++ Installation Problem limneos Linux - Newbie 4 09-30-2005 06:27 PM
GCC upgrading/installation problem mcrexx Linux - Newbie 5 09-17-2005 12:33 PM
Problem with installation of gcc 3.4.3 lxeye Programming 5 01-16-2005 11:03 AM
Gcc installation problem Agileuk Linux - Newbie 2 09-28-2003 06:11 PM


All times are GMT -5. The time now is 11:53 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration