Je n'arrive pas à installer une librairie avec cpan.
perl -v
This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
Distrib linux Ubuntu 6.04 "Dapper Drake"
que je fasse
cpan> install Audio::Beep
ou que je fasse
cpan> force install Audio::Beep
le résultat est le même :
Checking if your kit is complete...
Looks good
Writing Makefile for Audio::Beep
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
kurtz le pirate
In article , Newsgroups wrote:
Bonjour,
Je n'arrive pas à installer une librairie avec cpan.
perl -v This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
Distrib linux Ubuntu 6.04 "Dapper Drake"
que je fasse cpan> install Audio::Beep ou que je fasse cpan> force install Audio::Beep le résultat est le même :
Checking if your kit is complete... Looks good Writing Makefile for Audio::Beep -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Avez vous une idée ? Merci
pas d'autres messages d'erreurs ? uniquement avec Audio::Beep ?
-- klp
In article <pan.2006.02.28.22.19.11.836220@free.fr>,
Newsgroups <monEmail@free.fr> wrote:
Bonjour,
Je n'arrive pas à installer une librairie avec cpan.
perl -v
This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
Distrib linux Ubuntu 6.04 "Dapper Drake"
que je fasse
cpan> install Audio::Beep
ou que je fasse
cpan> force install Audio::Beep
le résultat est le même :
Checking if your kit is complete...
Looks good
Writing Makefile for Audio::Beep
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Avez vous une idée ?
Merci
pas d'autres messages d'erreurs ?
uniquement avec Audio::Beep ?
Je n'arrive pas à installer une librairie avec cpan.
perl -v This is perl, v5.8.7 built for i486-linux-gnu-thread-multi
Distrib linux Ubuntu 6.04 "Dapper Drake"
que je fasse cpan> install Audio::Beep ou que je fasse cpan> force install Audio::Beep le résultat est le même :
Checking if your kit is complete... Looks good Writing Makefile for Audio::Beep -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Avez vous une idée ? Merci
pas d'autres messages d'erreurs ? uniquement avec Audio::Beep ?
-- klp
Newsgroups
pas d'autres messages d'erreurs ?
au début, il me demande Would you like to install Japanese documentation? je lui répond "N"
et ensuite, il me dis : Checking if your kit is complete... Looks good Writing Makefile for Audio::Beep -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
c'est tout, rien de plus dans cpan, après, je peux biensur retenter une commande au prompt...
uniquement avec Audio::Beep ? A tout hasard, je viens d'essayer install LWP::UA
CPAN.pm: Going to build G/GA/GAAS/LWPng-alpha-0.24.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for LWPng-alpha -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Donc, je ne vois pas trop d'où peut venir le problème... A noter que je lance cpan en root
pas d'autres messages d'erreurs ?
au début, il me demande
Would you like to install Japanese documentation?
je lui répond "N"
et ensuite, il me dis :
Checking if your kit is complete...
Looks good
Writing Makefile for Audio::Beep
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
c'est tout, rien de plus dans cpan, après, je peux biensur retenter une
commande au prompt...
uniquement avec Audio::Beep ?
A tout hasard, je viens d'essayer install LWP::UA
CPAN.pm: Going to build G/GA/GAAS/LWPng-alpha-0.24.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for LWPng-alpha
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Donc, je ne vois pas trop d'où peut venir le problème...
A noter que je lance cpan en root
au début, il me demande Would you like to install Japanese documentation? je lui répond "N"
et ensuite, il me dis : Checking if your kit is complete... Looks good Writing Makefile for Audio::Beep -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
c'est tout, rien de plus dans cpan, après, je peux biensur retenter une commande au prompt...
uniquement avec Audio::Beep ? A tout hasard, je viens d'essayer install LWP::UA
CPAN.pm: Going to build G/GA/GAAS/LWPng-alpha-0.24.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for LWPng-alpha -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Donc, je ne vois pas trop d'où peut venir le problème... A noter que je lance cpan en root
alian
Checking if your kit is complete... Looks good Writing Makefile for LWPng-alpha -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Il arrive pas a creer le makefile mais on a pas le message du pourquoi ... va dans ton repertoire .cpan/build/ton_module, fais perl Makefile.PL a la main, il va surement etre plus explicite sur le pourquoi de son echec.
Checking if your kit is complete...
Looks good
Writing Makefile for LWPng-alpha
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Il arrive pas a creer le makefile mais on a pas le message du pourquoi ... va
dans ton repertoire .cpan/build/ton_module, fais perl Makefile.PL a la main, il
va surement etre plus explicite sur le pourquoi de son echec.
Checking if your kit is complete... Looks good Writing Makefile for LWPng-alpha -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Il arrive pas a creer le makefile mais on a pas le message du pourquoi ... va dans ton repertoire .cpan/build/ton_module, fais perl Makefile.PL a la main, il va surement etre plus explicite sur le pourquoi de son echec.
Paul Gaborit
À (at) Fri, 03 Mar 2006 15:49:09 +0100, alian écrivait (wrote):
Checking if your kit is complete... Looks good Writing Makefile for LWPng-alpha -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Il arrive pas a creer le makefile mais on a pas le message du pourquoi ... va dans ton repertoire .cpan/build/ton_module, fais perl Makefile.PL a la main, il va surement etre plus explicite sur le pourquoi de son echec.
Pour faire ce genre de tests, on peut aussi utiliser la commande cpan 'look'. Par exemple :
cpan> look LWP::Dump
Le module CPAN récupère et décompresse tout seul l'archive de LWPng-alpha puis il lance un shell dans le bon répertoire. Il ne reste plus qu'à enchaîner les étapes pour voir celle qui échoue :
perl Makefile.PL make make test make install
-- Paul Gaborit - <http://perso.enstimac.fr/~gaborit/> Perl en français - <http://perl.enstimac.fr/>
À (at) Fri, 03 Mar 2006 15:49:09 +0100,
alian <alian@cpan.org> écrivait (wrote):
Checking if your kit is complete...
Looks good
Writing Makefile for LWPng-alpha
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Il arrive pas a creer le makefile mais on a pas le message du pourquoi
... va dans ton repertoire .cpan/build/ton_module, fais perl
Makefile.PL a la main, il va surement etre plus explicite sur le
pourquoi de son echec.
Pour faire ce genre de tests, on peut aussi utiliser la commande cpan
'look'. Par exemple :
cpan> look LWP::Dump
Le module CPAN récupère et décompresse tout seul l'archive de
LWPng-alpha puis il lance un shell dans le bon répertoire. Il ne reste
plus qu'à enchaîner les étapes pour voir celle qui échoue :
perl Makefile.PL
make
make test
make install
--
Paul Gaborit - <http://perso.enstimac.fr/~gaborit/>
Perl en français - <http://perl.enstimac.fr/>
À (at) Fri, 03 Mar 2006 15:49:09 +0100, alian écrivait (wrote):
Checking if your kit is complete... Looks good Writing Makefile for LWPng-alpha -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Il arrive pas a creer le makefile mais on a pas le message du pourquoi ... va dans ton repertoire .cpan/build/ton_module, fais perl Makefile.PL a la main, il va surement etre plus explicite sur le pourquoi de son echec.
Pour faire ce genre de tests, on peut aussi utiliser la commande cpan 'look'. Par exemple :
cpan> look LWP::Dump
Le module CPAN récupère et décompresse tout seul l'archive de LWPng-alpha puis il lance un shell dans le bon répertoire. Il ne reste plus qu'à enchaîner les étapes pour voir celle qui échoue :
perl Makefile.PL make make test make install
-- Paul Gaborit - <http://perso.enstimac.fr/~gaborit/> Perl en français - <http://perl.enstimac.fr/>
Newsgroups
perl Makefile.PL Checking if your kit is complete...
make install Writing /usr/local/lib/perl/5.8.7/auto/Audio/Beep/.packlist
Appending installation info to /usr/local/lib/perl/5.8.7/perllocal.pod
Et là, je me dis : "super, ca va marcher" Et bien voici le résultat quand je lance mon script
Cannot open console: Permission non accordée at /usr/local/share/perl/5.8.7/Audio/Beep/Linux/PP.pm line 21 Audio::Beep::Linux::PP::play('Audio::Beep::Linux::PP=HASH(0x81d0ed0)', 440, 50) called at /usr/local/share/perl/5.8.7/Audio/Beep.pm line 204 Audio::Beep::beep(440, 50) called at toto.pl line 5
Donc, je comprends encore moin comment il peut y avoir des pbm de droits, sachant que c'est root qui exécute cpan
perl Makefile.PL
Checking if your kit is complete...
make install
Writing /usr/local/lib/perl/5.8.7/auto/Audio/Beep/.packlist
Appending installation info to /usr/local/lib/perl/5.8.7/perllocal.pod
Et là, je me dis : "super, ca va marcher"
Et bien voici le résultat quand je lance mon script
Cannot open console: Permission non accordée at /usr/local/share/perl/5.8.7/Audio/Beep/Linux/PP.pm line 21
Audio::Beep::Linux::PP::play('Audio::Beep::Linux::PP=HASH(0x81d0ed0)', 440, 50) called at /usr/local/share/perl/5.8.7/Audio/Beep.pm line 204
Audio::Beep::beep(440, 50) called at toto.pl line 5
Donc, je comprends encore moin comment il peut y avoir des pbm de droits,
sachant que c'est root qui exécute cpan
make install Writing /usr/local/lib/perl/5.8.7/auto/Audio/Beep/.packlist
Appending installation info to /usr/local/lib/perl/5.8.7/perllocal.pod
Et là, je me dis : "super, ca va marcher" Et bien voici le résultat quand je lance mon script
Cannot open console: Permission non accordée at /usr/local/share/perl/5.8.7/Audio/Beep/Linux/PP.pm line 21 Audio::Beep::Linux::PP::play('Audio::Beep::Linux::PP=HASH(0x81d0ed0)', 440, 50) called at /usr/local/share/perl/5.8.7/Audio/Beep.pm line 204 Audio::Beep::beep(440, 50) called at toto.pl line 5
Donc, je comprends encore moin comment il peut y avoir des pbm de droits, sachant que c'est root qui exécute cpan