This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Building perl-5.10.0
- From: "Sisyphus" <sisyphus1 at optusnet dot com dot au>
- To: "Matthew Persico" <matthew dot persico at gmail dot com>, <cygwin at cygwin dot com>
- Date: Tue, 18 Mar 2008 21:06:25 +1100
- Subject: Re: Building perl-5.10.0
- References: <7634A226C4C245868140309A0F3A952F@desktop2> <2kap83p6s5819lu66sr6kmrem6o5iqm180@4ax.com> <56E5E10621694E4A860212458ECD1E1C@desktop2> <015b01c7bf20$a3d3e4a0$2e08a8c0@CAM.ARTIMI.COM> <F3A6993B1B3741AD9B6A6D9688BB301D@desktop2> <9ea6aaa80803172015i3adb46cq3af80a70fa7ff063@mail.gmail.com>
----- Original Message -----
From: "Matthew Persico" <matthew.persico@gmail.com>
.
.
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
Mine is at C:\cygwin.
2) cd ..
I first ran 'attrib cygwin' to see what was already there:
C:\>attrib cygwin
C:\cygwin
3) attrib -r cywgin - that removed the read-only bit. Don't try it in
Windows Explorer; it does not "stick"
I then ran 'attrib -r cygwin' (even though it doesn't appear to be readonly
to begin with).
4) Then in a Cygwin window, cd /
5) chmod 777 .
That errors out as follows:
Rob@desktop2 /
$ chmod 777 .
chmod: changing permissions of `.': Permission denied
After all that I get:
Rob@desktop2 /
$ ls -alrt
total 165
dr-xr-xr-x 1 0 root 0 Jan 1 1970 cygdrive
dr-xr-xr-x 1 Rob None 0 Dec 1 2006 proc
d---r-x---+ 7 admin Users 0 Mar 12 12:37 var
d---r-x---+ 2 admin Users 0 Mar 12 12:37 dev
d---r-x---+ 2 admin Users 0 Mar 12 12:37 tmp
----r-x---+ 1 admin Users 57 Mar 12 12:38 Cygwin.bat
drwxrwxrwx+ 3 Rob None 0 Mar 12 12:38 home
d---r-x---+ 12 admin Users 4096 Mar 12 12:38 ..
d---r-x---+ 12 admin Users 4096 Mar 12 12:38 .
d---r-x---+ 11 admin Users 4096 Mar 12 12:50 etc
d---r-x---+ 11 admin Users 12288 Mar 12 12:51 lib
d---r-x---+ 16 admin Users 4096 Mar 12 12:51 usr
d---r-x---+ 2 admin Users 131072 Mar 15 21:20 bin
----r-x---+ 1 admin Users 7022 Mar 15 21:20 Cygwin.ico
and running 'make' terminates as before.
This is a fairly new installation of Cygwin, btw. (I stuffed up the old one
trying to install rsync and had to delete the lot.) So there could be some
additional stuff here that needs sorting out. I have, however, already built
some perl extensions using the 5.8.8 build that was installed when I created
this fresh build of Cygwin.
And the fact that I can build 5.8.8 from source, but not 5.10.0 leads me to
wonder whether this is instead a query that should be raised on p5p ?
Thanks for the reply, Matthew ... appreciated.
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/