Page 1 of 1

Perl compile pb : Term::ReadKey.pm

PostPosted: Sun Feb 02, 2003 11:23 pm
by [ObiWan]JUST
i try to compil profxp, i think it's easy to do for people who can do that ;o)

http://duncanthrax.net/profxp/

for the linux bin : http://duncanthrax.net/profxp/profxp-v3-pre2-linux-glibc.tar.gz

for the source : http://duncanthrax.net/profxp/profxp-v3-pre2-src.tar.gz

THX to compil it for OS X.2.4 !

----

I try to compile it and i have this error :

Can't locate Term/ReadKey.pm in @INC (@INC contains: /sw/lib/perl5 /System/Library/Perl/darwin-thread-multi /System/Library/Perl /Library/Perl/darwin-thread-multi /Library/Perl /Library/Perl /Network/Library/Perl/darwin-thread-multi /Network/Library/Perl /Network/Library/Perl .) at profxp/screen.pm line 169.
BEGIN failed--compilation aborted at profxp/screen.pm line 169.
Compilation failed in require at profxp/command.pm line 4.
BEGIN failed--compilation aborted at profxp/command.pm line 4.
Compilation failed in require at ./profxpv3.pl line 3.
BEGIN failed--compilation aborted at ./profxpv3.pl line 3.

but i have put ReadKey.pm in /sw/lib/perl5 and i've try to install it with fink but ...


please help me
thx

Re: Perl compile pb : Term::ReadKey.pm

PostPosted: Tue Feb 04, 2003 10:03 pm
by <alamaz>
In the terminal type :
"cpan"
or if it doesn't work :
"perl -MCPAN -e "shell"

In the shell who will appear type :
cpan> install Term::ReadKey
it will normally works [img]images/icons/smile.gif"%20border="0[/img]

PS: maybe you'll have to configure the CPAN module [img]images/icons/smile.gif"%20border="0[/img]

Re: Perl compile pb : Term::ReadKey.pm

PostPosted: Sat Feb 08, 2003 12:58 pm
by [ObiWan]JUST
perl -MCPA -e "shell"
Can't locate CPA.pm in @INC (@INC contains: /sw/lib/perl5 /System/Library/Perl/darwin-thread-multi /System/Library/Perl /Library/Perl/darwin-thread-multi /Library/Perl /Library/Perl /Network/Library/Perl/darwin-thread-multi /Network/Library/Perl /Network/Library/Perl .).
BEGIN failed--compilation aborted.

;o((

thx anyway ;o)

Re: Perl compile pb : Term::ReadKey.pm

PostPosted: Sat Feb 08, 2003 6:07 pm
by alamaz
perl -MCPAN -e "shell", not perl -MCPA -e "shell" ;op