develooper Front page | perl.perl5.porters | Postings from May 2008

Re: [perl #53328] Trying to build perl5.8.3 under Maemoenvironment.

Thread Previous
From:
Bram
Date:
May 26, 2008 10:16
Subject:
Re: [perl #53328] Trying to build perl5.8.3 under Maemoenvironment.
Message ID:
20080526191517.p2skq1w9a74kswg@horde.wizbit.be
> As the message says, Perl can't find its own working directory. What
> does to following onliner prints on your system?
>
> $ perl -MCwd -le 'print join$/,cwd(),fastcwd(),getcwd(),fastgetcwd()'
>
> Then again, I'd suggest to try with Perl 5.8.8 or even 5.10.0 because
> they most probably include Configure fixes.
>
> I tried running the above command and I get the following results
> [sbox-cosmos0.1.4_i386: ~/PERL/perl-5.8.8] > perl -MCwd -le 'print
> join$/,cwd(),fastcwd(),getcwd(),fastgetcwd()'
> /home/cosmos3/PERL/perl-5.8.8
> /home/cosmos3/PERL/perl-5.8.8
> /home/cosmos3/PERL/perl-5.8.8
> /home/cosmos3/PERL/perl-5.8.8
>
> So I feel that it is working properly.
> I am not sure what else should I try.

First let's clarify something: is a version of perl already installed?

Can you run the following code:

perl -MCwd -le 'print $INC{"Cwd.pm"};print
join$/,cwd(),fastcwd(),getcwd(),fastgetcwd()'

Also try:

/home/cosmos3/PERL/perl-5.8.8/perl -MCwd -le 'print $INC{"Cwd.pm"};print
join$/,cwd(),fastcwd(),getcwd(),fastgetcwd()'

and:

/home/cosmos3/PERL/perl-5.8.8/perl -Ilib -MCwd -le 'print $INC{"Cwd.pm"};print
join$/,cwd(),fastcwd(),getcwd(),fastgetcwd()'


Kind regards,

Bram




Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About