View previous topic :: View next topic |
Author |
Message |
bemixam n00b
Joined: 03 Jul 2002 Posts: 62 Location: France (Paris)
|
Posted: Thu Sep 12, 2002 10:12 pm Post subject: modules Perl introuvables |
|
|
bien le bonsoir tout le monde !
voila mon probleme avec un petit truc en perl :
Code: | bemixam@zero geronimo $ ./geronimo
Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . Idle/ Idle/blib/arch/auto/Idle/) at Geronimo.pm line 29.
BEGIN failed--compilation aborted at Geronimo.pm line 29.
Compilation failed in require at geronimo.pl line 24.
BEGIN failed--compilation aborted at geronimo.pl line 24. |
et le meme probleme, mais cette fois-ci avec un emerge de frozen-bubble :
Code: | root@zero bemixam # emerge frozen-bubble
Calculating dependencies ...done!
>>> emerge app-games/frozen-bubble-0.9.3-r1 to /
>>> md5 ;-) frozen-bubble-0.9.3.tar.bz2
>>> Unpacking source...
>>> Unpacking frozen-bubble-0.9.3.tar.bz2
>>> Source unpacked.
Can't locate SDL.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
*** I need perl-SDL installed
make: *** [dirs] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message) |
dans le doute j ai ajoute "tcltk" dans ma variable USE et j ai recompile perl
mais sans succes ....
une idee ? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Sep 12, 2002 10:18 pm Post subject: |
|
|
Sorry to post in English in the French forum, but please try Code: | # emerge perl-tk SDL-sdlpl |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bemixam n00b
Joined: 03 Jul 2002 Posts: 62 Location: France (Paris)
|
Posted: Thu Sep 12, 2002 10:29 pm Post subject: |
|
|
j ai deja essaye mais ca ne fonctionne pas
les modules sont bien compiles mais c est le @INC qui n indique pas l endroit ou ils se trouvent !
je pense qu il faudrait modifier le @INC en rajoutant le bon PATH
mais je ne sais pas comment on fait ca.
----------------------------------------------------------------------------------
i have already done this, but it doesn t works
the Perl-modules are compilated but the @INC is false
so Perl can t t find the modules
i think that i have to modify the @INC and add the good PATH
but i don t know how i can do this ! _________________ Gentoo c est bieng ! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Sep 12, 2002 11:23 pm Post subject: |
|
|
Code: | # emerge ExtUtils-MakeMaker
# emerge perl-tk |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bemixam n00b
Joined: 03 Jul 2002 Posts: 62 Location: France (Paris)
|
Posted: Fri Sep 13, 2002 12:11 am Post subject: |
|
|
merci, ca fonctionne
-----------------------------
thanks, it works _________________ Gentoo c est bieng ! |
|
Back to top |
|
|
Yak Tux's lil' helper
Joined: 01 Sep 2002 Posts: 107
|
Posted: Fri Sep 13, 2002 7:46 pm Post subject: |
|
|
Merci, ca fonctionne pour moi aussi.
(Sorry don't know much french, just stumbled here by searching) |
|
Back to top |
|
|
|