This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Building perl-5.10.0
- From: "Sisyphus" <sisyphus1 at optusnet dot com dot au>
- To: <cygwin at cygwin dot com>
- Date: Sat, 15 Mar 2008 00:05:13 +1100
- Subject: Building perl-5.10.0
- References: <7634A226C4C245868140309A0F3A952F@desktop2> <2kap83p6s5819lu66sr6kmrem6o5iqm180@4ax.com> <56E5E10621694E4A860212458ECD1E1C@desktop2> <015b01c7bf20$a3d3e4a0$2e08a8c0@CAM.ARTIMI.COM>
Hi,
I thought I might build perl-5.10.0, so I downloaded the perl source into
the ~/comp directory, switched to the top level source directory and ran:
sh configure -de -Duse64bitint -Dprefix=~/myperl
That seemed to run ok - so I then ran 'make'. That process runs for a while
but terminates with the following error:
---------------------------
Making DynaLoader (static_pic)
make[1]: Entering directory `/home/Rob/comp/perl-5.10.0/ext/DynaLoader'
make[1]: Leaving directory `/home/Rob/comp/perl-5.10.0/ext/DynaLoader'
make[1]: Entering directory `/home/Rob/comp/perl-5.10.0/ext/DynaLoader'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '../../lib/auto'
Do not have write permissions on '/'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
----------------------------
I find that somewhat confusing. For a start, I find that '../../lib/auto'
exists - so either it *was* succesfully created, or there was no need to
create it anyway. (At least, `/home/Rob/comp/perl-5.10.0/lib/auto' exists -
and, by my reckoning, that equates to '../../lib/auto'.)
As for not having write permissions on '/', what directory is that referring
to ?
Interestingly, Google turns up a very similar case (
http://www.nntp.perl.org/group/perl.perl5.porters/2007/03/msg121921.html )
but that relates to buildng bleadperl on SuSE 64 ... and no resolution is
given.
There's no such problem with building perl-5.8.8 from source (using the
exact same configure command). The first time I ran it 'make' terminated
after a few minutes because ~/myperl/bin didn't already exist, so I simply
created that directory, re-ran 'make' and all then proceeded smoothly. (I
didn't go to the bother of running 'make test'.)
Cheers,
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/