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

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

Thread Next
devendra purbiya
May 26, 2008 09:47
Re: [perl #53328] Trying to build perl5.8.3 under Maemo environment.
Message ID:
 devendra purbiya wrote via RT:

> Hi,
> I am trying to build perl under Maemo X86 target. But I get the
> errors
> make[2]: Leaving directory `/home/devendra/perl-5.8.3/x2p'
> Making B (dynamic)
> Can't figure out your cwd! at ../../lib/ExtUtils/ line
> 163.
> Warning: No Makefile!
> Since Maemo environment requires this version of perl. So I am trying
> to build it.

Given how Perl is backward compatible, I wonder why you'd want this
very version and not 5.8.8.
In fact, as demonstrated by Laurent Gautrot in the French Perl
Workshop 2006, bleadperl compiled fine for him. Slides are in French,
but the commands may still help you:

I tried downloading the source of 5.8.8 and tried building it. It has the
same problem. I tried going through those slides ... but the problem remains
the same. I tried modifying lib/ExtUtils/ to get cwd(), but it
does not work as well.

> Can you please tell me what is going wrong here?

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

So I feel that it is working properly.
I am not sure what else should I try.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About