Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modules Perl introuvables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bemixam
n00b
n00b


Joined: 03 Jul 2002
Posts: 62
Location: France (Paris)

PostPosted: Thu Sep 12, 2002 10:12 pm    Post subject: modules Perl introuvables Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Sep 12, 2002 10:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
bemixam
n00b
n00b


Joined: 03 Jul 2002
Posts: 62
Location: France (Paris)

PostPosted: Thu Sep 12, 2002 10:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Sep 12, 2002 11:23 pm    Post subject: Reply with quote

Code:
# emerge ExtUtils-MakeMaker
# emerge perl-tk

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
bemixam
n00b
n00b


Joined: 03 Jul 2002
Posts: 62
Location: France (Paris)

PostPosted: Fri Sep 13, 2002 12:11 am    Post subject: Reply with quote

merci, ca fonctionne :D

-----------------------------

thanks, it works :D
_________________
Gentoo c est bieng !
Back to top
View user's profile Send private message
Yak
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2002
Posts: 101

PostPosted: Fri Sep 13, 2002 7:46 pm    Post subject: Reply with quote

Merci, ca fonctionne pour moi aussi.
(Sorry don't know much french, just stumbled here by searching) :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum