Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > Mandriva
Mandriva Vos questions sur la distribution Mandriva (Mandrake)
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 04/12/2010, 16h44   #1
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
Par défaut problème avec ltib et rpm-build

bonjour,
ltib exige l'installation de rpm-build, je l'ai installé et pourtant : ltib me dit toujours qu'il faut l'installer , je suis sous mandriva one :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[root@localhost ltib-imx27ads-20070522]# urpmi rpm-build
Le paquetage rpm-build-4.6.0-14mnb2.i586 est déjà installé
[root@localhost ltib-imx27ads-20070522]# exit
exit
[foued@localhost ltib-imx27ads-20070522]$ ./ltib
 
ltib cannot be run because one or more of the host packages needed
to run it are either missing or out of date.
 
Please install/upgrade these packages and then re-try.
 
Package                Minimum ver   Installed info
-------                -----------   ---------------
rpm-build              0             not installed
Died at ./ltib line 1412.
 
Started: Sat Dec  4 16:33:36 2010
Ended:   Sat Dec  4 16:33:36 2010
Elapsed: 0 seconds
 
Build Failed
 
Exiting on error or interrupt
[foued@localhost ltib-imx27ads-20070522]$
merci
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/12/2010, 18h56   #2
Membre chevronné
 
Inscription : mai 2004
Messages : 818
Détails du profil
Informations forums :
Inscription : mai 2004
Messages : 818
Points : 706
Points : 706
salut
essaye de desinstaller d'abord rpm-build
urpme rpm-build
cela te permettra de le réinstaller avec le second paquetage
deny est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 04/12/2010, 21h29   #3
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
rpm-build est dans le $PATH de foued ?
becket est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 04/12/2010, 22h24   #4
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
salut,
j'ai désinstallé er installé rpm-build une autre fois mais encore ltib ne le trouve pas,
Code :
1
2
3
4
5
[foued@localhost ~]$ whereis rpm-build
rpm-build:
[root@localhost ltib-imx27ads-20070522]# find / -name "rpm-build"
/usr/share/doc/rpm-build
find: `/home/foued/.gvfs': Permission non accordée

rpm existe dans /bin mais il n'y a pas rpm-build,

Code :
1
2
[foued@localhost ltib-imx27ads-20070522]$ echo $PATH
/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/home/foued/bin
à priori, ltib a raison, mais je ne comprends pas pourquoi urpmi me redit que rpm-build est déjà installé, ou peut être ltib demande une mise à jour du paquet,
merci encore une fois
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/12/2010, 08h11   #5
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
becket est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 05/12/2010, 11h53   #6
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[root@localhost foued]# rpm -ql rpm-build
/usr/bin/rpmbuild
/usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-java-gcjcompile
/usr/lib/rpm/brp-python-bytecompile
/usr/lib/rpm/brp-sparc64-linux
/usr/lib/rpm/brp-strip
/usr/lib/rpm/brp-strip-comment-note
/usr/lib/rpm/brp-strip-shared
/usr/lib/rpm/brp-strip-static-archive
/usr/lib/rpm/check-buildroot
/usr/lib/rpm/check-files
/usr/lib/rpm/check-prereqs
/usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-rpaths-worker
/usr/lib/rpm/debugedit
/usr/lib/rpm/find-debuginfo.sh
/usr/lib/rpm/find-lang.sh
/usr/lib/rpm/find-provides
/usr/lib/rpm/find-requires
/usr/lib/rpm/javadeps
/usr/lib/rpm/libtooldeps.sh
/usr/lib/rpm/macros.perl
/usr/lib/rpm/macros.php
/usr/lib/rpm/macros.python
/usr/lib/rpm/mono-find-provides
/usr/lib/rpm/mono-find-requires
/usr/lib/rpm/osgideps.pl
/usr/lib/rpm/perl.prov
/usr/lib/rpm/perl.req
/usr/lib/rpm/perldeps.pl
/usr/lib/rpm/pkgconfigdeps.sh
/usr/lib/rpm/pythondeps.sh
/usr/lib/rpm/rpmdeps
/usr/lib/rpm/rpmdiff
/usr/share/doc/rpm-build
/usr/share/doc/rpm-build/CHANGES
/usr/share/doc/rpm-build/builddependencies
/usr/share/doc/rpm-build/buildroot
/usr/share/doc/rpm-build/conditionalbuilds
/usr/share/doc/rpm-build/dependencies
/usr/share/doc/rpm-build/filetriggers
/usr/share/doc/rpm-build/filetriggers.0146
/usr/share/doc/rpm-build/format
/usr/share/doc/rpm-build/hregions
/usr/share/doc/rpm-build/macros
/usr/share/doc/rpm-build/multiplebuilds
/usr/share/doc/rpm-build/queryformat
/usr/share/doc/rpm-build/relocatable
/usr/share/doc/rpm-build/signatures
/usr/share/doc/rpm-build/spec
/usr/share/doc/rpm-build/triggers
/usr/share/doc/rpm-build/tsort
/usr/share/man/man8/rpmbuild.8.lzma
/usr/share/man/man8/rpmdeps.8.lzma
[root@localhost foued]#
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/12/2010, 12h03   #7
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
La, je ne vois pas trop. Tu n'as pas un package ltib pour ta distribution que tu pourrais installer directement via urpmi ?
becket est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/12/2010, 12h08   #8
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
Code :
1
2
3
4
5
[root@localhost foued]# rpm-build
bash: rpm-build : commande introuvable
[root@localhost foued]# rpmbuild
rpmbuild: aucun fichier spec spécifié pour construction
[root@localhost foued]#
à votre avis, le "-" ne pose pas problème ?? changer le nom de l'exécutable résoudra-t-il le problème?
je ne peux pas installer ltib qu'après installer rpm-build (dépendance)
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/12/2010, 12h33   #9
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
bonjour,
je sens que ce tiret - manquant dans l'exécutable est la cause du prblm, peut être c ça ce qui explique que pour urpmi le paquet rpm-build est installé, mais pour ltib l'exécutable rpm-build est introuvable, j'ai modifié son nom mais encore un autre pbm, le nouveau nom n'est pas encore perçu par rpm :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[root@localhost bin]# ls -la rpm
rpm2cpio         rpmdb            rpm-find-leaves  rpmquery         rpmstats         
rpm-build        rpmdrake         rpmgraph         rpmsign          rpmverify        
[root@localhost bin]# rpm -ql rpm-build
/usr/bin/rpmbuild
/usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-java-gcjcompile
/usr/lib/rpm/brp-python-bytecompile
/usr/lib/rpm/brp-sparc64-linux
/usr/lib/rpm/brp-strip
/usr/lib/rpm/brp-strip-comment-note
/usr/lib/rpm/brp-strip-shared
/usr/lib/rpm/brp-strip-static-archive
/usr/lib/rpm/check-buildroot
/usr/lib/rpm/check-files
/usr/lib/rpm/check-prereqs
/usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-rpaths-worker
/usr/lib/rpm/debugedit
/usr/lib/rpm/find-debuginfo.sh
/usr/lib/rpm/find-lang.sh
/usr/lib/rpm/find-provides
/usr/lib/rpm/find-requires
/usr/lib/rpm/javadeps
/usr/lib/rpm/libtooldeps.sh
/usr/lib/rpm/macros.perl
/usr/lib/rpm/macros.php
/usr/lib/rpm/macros.python
/usr/lib/rpm/mono-find-provides
/usr/lib/rpm/mono-find-requires
/usr/lib/rpm/osgideps.pl
/usr/lib/rpm/perl.prov
/usr/lib/rpm/perl.req
/usr/lib/rpm/perldeps.pl
/usr/lib/rpm/pkgconfigdeps.sh
/usr/lib/rpm/pythondeps.sh
/usr/lib/rpm/rpmdeps
/usr/lib/rpm/rpmdiff
/usr/share/doc/rpm-build
/usr/share/doc/rpm-build/CHANGES
/usr/share/doc/rpm-build/builddependencies
/usr/share/doc/rpm-build/buildroot
/usr/share/doc/rpm-build/conditionalbuilds
/usr/share/doc/rpm-build/dependencies
/usr/share/doc/rpm-build/filetriggers
/usr/share/doc/rpm-build/filetriggers.0146
/usr/share/doc/rpm-build/format
/usr/share/doc/rpm-build/hregions
/usr/share/doc/rpm-build/macros
/usr/share/doc/rpm-build/multiplebuilds
/usr/share/doc/rpm-build/queryformat
/usr/share/doc/rpm-build/relocatable
/usr/share/doc/rpm-build/signatures
/usr/share/doc/rpm-build/spec
/usr/share/doc/rpm-build/triggers
/usr/share/doc/rpm-build/tsort
/usr/share/man/man8/rpmbuild.8.lzma
/usr/share/man/man8/rpmdeps.8.lzma
[root@localhost bin]#

qu'en pensez vous?
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/12/2010, 12h37   #10
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
Le fait de changer le nom de l'executable ne changera rien car, en fonction du contexte, c'est rpm-build qui concerne le PACKAGE et rpmbuild qui est le nom de l'EXECUTABLE
becket est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 11/12/2010, 15h15   #11
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
bonjour,
il s'est avéré que le "-" est derrière ce problème, on doit éditer le fichier d'installation ltib, ensuite chercher ce bout de code :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    pre_install_deps   => "
            glibc           2.2.4
            glibc-headers   0
            glibc-devel     0
            binutils        2.11.90
            libstdc++       0
            libstdc++-devel 0
            gcc             2.96
            gcc-c++         2.96
            sudo            0
            zlib            0
            zlib-devel      0
            rpm             0
            rpm-build       0
            wget            0
            ncurses         5.1
            ncurses-devel   0
et enlever le tiret de "rpm-build"

Merci pour votre aide
faouda est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 13/12/2010, 11h09   #12
Rédacteur/Modérateur
 
Avatar de troumad
 
Homme Bernard SIAUD
Enseignant
Inscription : novembre 2003
Messages : 4 400
Détails du profil
Informations personnelles :
Nom : Homme Bernard SIAUD
Âge : 44
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Enseignant
Secteur : Enseignement

Informations forums :
Inscription : novembre 2003
Messages : 4 400
Points : 4 950
Points : 4 950
Citation:
Envoyé par faouda Voir le message
Merci pour votre aide
Et surtout merci pour ton retour
__________________
Modérateur Mandriva Linux
Amicalement VOOotre
Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
Mes tutoriels
troumad est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 09h12.


 
 
 
 
Partenaires

Hébergement Web