On Fri, Mar 14, 2008 at 9:05 AM, Sisyphus <[EMAIL PROTECTED]> wrote: > 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 ?
Same issue here. On Vista, with UAC enabled, I used the packaged perl 5.10 and Tk and tried to install Devel::ptkdb with cpan. No dice. Tried to do it manually via perl Makefile.PL make make test make install At make, I got this: [EMAIL PROTECTED] ~/.cpan/sources/authors/id/A/AE/AEPAGE/Devel-ptkdb-1.1091 $ make !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create 'blib/lib/auto' Do not have write permissions on '/' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1 make: *** [pm_to_blib] Error 136 My cygwin lives at c:\opt\cygwin. A list of of / reveals: [EMAIL PROTECTED] / $ ls -alrt total 141 dr-xr-xr-x 1 0 root 0 Dec 31 1969 cygdrive dr-xr-xr-x 1 matthew None 0 Nov 30 2006 proc drwxrwxrwx+ 3 matthew None 0 Sep 16 2007 home dr-xr-x---+ 7 matthew Users 0 Mar 15 00:24 var drwxrwx---+ 2 matthew Users 0 Mar 15 00:24 dev drwxrwx---+ 16 matthew Users 4096 Mar 15 01:14 usr d---------+ 7 matthew None 4096 Mar 17 01:18 src d---------+ 13 matthew None 4096 Mar 17 20:53 .. d---------+ 13 matthew None 4096 Mar 17 20:53 . ## <= this is / ----------+ 1 matthew None 1086 Mar 17 20:53 Mortens Cygwin X-Launcher.lnk -rwxrwx---+ 1 matthew Users 81 Mar 17 20:59 Cygwin.bat drwxrwxrwt+ 3 matthew Users 0 Mar 17 21:13 tmp drwxrwx---+ 12 matthew Users 4096 Mar 17 22:43 etc drwxrwx---+ 2 matthew Users 90112 Mar 17 22:43 bin drwxrwx---+ 15 matthew Users 20480 Mar 17 22:43 lib -rwxrwx---+ 1 matthew Users 7022 Mar 17 22:45 Cygwin.ico Why is / set to 000??? Well after a bit of googling around, the answer is this: 1) In a Windows cmd command prompt, cd where your cygwin lives - mine is at c:\opt\cygwin 2) cd .. 3) attrib -r cywgin - that removed the read-only bit. Don't try it in Windows Explorer; it does not "stick" 4) Then in a Cygwin window, cd / 5) chmod 777 . Now, you should be set. I did the install and got no 'cannot write to /' errors. Enjoy > > 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/ > > -- Matthew O. Persico -- 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/