This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygwin make fails when calling mkdir in Windows 7


I'm using make package version 3.82.90-1.  cygwin1.dll version is 1.7.13.

Occasionally make will fail with the error:

make[1]: *** No rule to make target `<path>`, needed by `<rule>`.  Stop.

<path> and <rule> are not terribly relevant but <path> is under
/cygdrive/c/...

I started having this problem on upgrading to Windows 7.  I've tried the
"solutions" I've found elsewhere such as running Cygwin as "administrator"
and making sure I have local administrator rights on my laptop--which I do. 
However, I still have this problem.

Executing:

mkdir -pv <path>

after the make failure and re-issuing the make command causes the build to
progress past the point of this fault, as expected.  Soon, though, it
stumbles when trying to create another path.

Interestingly make doesn't seem to fail when creating the first level of a
path hierarchy.  For example, if the makefile were trying to create:

folder1
folder1/subfolder1
folder1/subfolder2

folder1 is created but the errors occur when it hits the rule trying to
create the subfolderN's.

ls -al shows the permissions for folder1 and subfolder1 are identical even
though one was created by make and one was created by me with mkdir:

drwxr-xr-x+ 1 e198614        Domain Users      0 Jan  3 15:45 

I'd really like to know if there's a solution to this problem other than
having to manually mkdir the paths that make seems to fail to be able to
make.  It slows down my automated build quite dramatically!



--
View this message in context: http://cygwin.1069669.n5.nabble.com/cygwin-make-fails-when-calling-mkdir-in-Windows-7-tp95185.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]