Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/09/2009, à 13:43

arketip

Couldn't find package g++

Bonjour,

J'essaye d'installer PyMedia pour Python.
J'ai trouvé une façon de l'installer:
http://johnpaulett.com/2008/06/18/pymed … rdy-heron/

Le hic c'est que pour installer ces sources, il faut la version 3.4 du compilateur gcc.

il faut donc installer l'ancien compilateur (solution proposée par l'auteur du site)
Si l'installation de la première partie du compilateur se déroule sans soucis (sudo apt-get install gcc-3.4)

En revanche, la deuxième partie pose un problème:

sudo apt-get install g++-3.4

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package g++-3.4

Apparement le paquet g++-3.4 n'est pas dans mes sources.
Comment puis-je l'ajouter ?

Merci pour vos infos

Hors ligne

#2 Le 23/09/2009, à 14:00

compte supprimé

Re : Couldn't find package g++

Bonjour,

Avec synaptic j'ai cherché g++ et le package s'y trouve

#3 Le 23/09/2009, à 14:12

arketip

Re : Couldn't find package g++

Malheureusement pas chez moi...
Je suis sous Jaunty.

Notez que je parle bien de la version 3.4 et non 4.3.

Peut être avez vous des dépots en plus que je pourrais ajouter chez moi pour avoir accès à g++-3.4 ?

Hors ligne

#4 Le 23/09/2009, à 14:16

compte supprimé

Re : Couldn't find package g++

Pouvez vous poster le contenu de votre sources.list ? (fichier situé dans etc/apt/).
J'essaierai de répondre ce soir je ne suis pas chez moi pour le moment.

#5 Le 23/09/2009, à 15:10

arketip

Re : Couldn't find package g++

Bien sûr, voilà:

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://be.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://be.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse

Merci d'avoir pris le temps de me répondre.

Donc pour rappel du soucis, j'ai bien gcc-3.4 qui s'installe mais pas g++-3.4 (probablement car je n'ai pas le bon dépot d'installé)

sudo apt-get install g++-3.4

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package g++-3.4

Dernière modification par arketip (Le 23/09/2009, à 15:12)

Hors ligne

#6 Le 23/09/2009, à 15:20

compte supprimé

Re : Couldn't find package g++

OK en fait j'avais le paquet mais je suis sur Hardy. Depuis Intrepid, il semble que le paquet n'existe plus dans les dépôts. Cependant il est possible de télécharger le .deb ici : http://packages.ubuntu.com/hardy-updates/g++-3.4
En sachant que cela pourra peut être entrainer des problème sur le système d'avoir un paquet ancien, mais là je ne peux pas en dire plus.

#7 Le 23/09/2009, à 15:26

arketip

Re : Couldn't find package g++

Donc risqué... Et si j'installe PyMedia et puis que dès que c'est terminé, je réinstalle gcc-4.3 et g++-4.3 par dessus, ça devrait être bon, non ?

Hors ligne

#8 Le 23/09/2009, à 15:34

compte supprimé

Re : Couldn't find package g++

Aucune idée...