PROBLEM WITH INSTALL GCC TRISQUEL 4.0.1

4 Antworten [Letzter Beitrag]
wanyce
Offline
Beigetreten: 12/24/2010

i am trying to instal gcc to start using my Favorite compiler
but not really easy to install and i am not use to use ubuntu base
to install things so i was work with compiling things only
so i read about ubuntu base and now
there is way to install packages with apt-get and aptitude
ok i start using apt-get to install free software's but one thing
i do not know why i cant resolve it is how to install gcc
by using apt-get install gcc or aptitude install gcc
show me there is some package will not install
"gcc : Depends: gcc-4.4 (>= 4.4.3-1) but it is not going to be installed"
go i try install this but not pass
so what is your advice to me ?
i try install from source or there is solutions for this
============
best regrades
wancye ashoura

Cyberhawk

I am a translator!

Offline
Beigetreten: 07/27/2010

gcc may be a so called virtual package, which is not installable. Try this: aptitude install gcc-4.4

Also: aptitude search gcc will show you all the packages there are with gcc in the name, look and decide what you want, then aptitude install xy.

You can also use the Synaptic packet manager from System->Administration->Synaptic packet manager. It gives you better, more detailed descriptions of software, you can still make searches there and install everything you need without ever touching the shell.

wanyce
Offline
Beigetreten: 12/24/2010

have nice day
=============
i know all this but this problem still with me
================================================
gcc-4.4: Depends: gcc-4.4-base (= 4.4.3-4ubuntu5) but 4.4.4-14ubuntu5 is installed.
Depends: cpp-4.4 (= 4.4.3-4ubuntu5) but 4.4.4-14ubuntu5 is installed.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) gcc-4.4 [Not Installed]
===================================================
so did you hear about this problem

Aries97
Offline
Beigetreten: 06/18/2011

I used the synaptic package manager to install "gcc" amd "make" and both packages installed ok. When one package blocks another, you either need to remove, or more often upgrade, the blocking package.

You said that: gcc-4.4: Depends: gcc-4.4-base (= 4.4.3-4ubuntu5) but 4.4.4-14ubuntu5 is installed.

But I don't understand. A quick search in synaptec package manager for "4.4.3-4ubuntu5" finds nothing.

Try running the update manager, maybe that will upgrade the offending package. Failing that give us the complete output of

"sudo apt-get install gcc"

- Good Luck!

Aries97
Offline
Beigetreten: 06/18/2011

Ah ha! - I was having a potentially similar problem and solved it (mostly) by installing "g++" from the package manager. Apparently installing gcc isn't enough.