« Return to Thread: environment hosed during upgrade

Re: environment hosed during upgrade

by Cesar Strauss-2 :: Rate this Message:

| View in Thread

Tim Teulings wrote:

> Hello!
>
> I can also approve that the patches make the compiler work again!
>
> After compiler works again, my next step was to compile the wget
> mingwPORT. This however was not successful, because "patch" did not
> work. The call to patch to patch the source code failed with "permission
> denied". Perhaps patch also uses "access" (I tried to search int he
> mingw CVS repository for code for patch but did not find anything)?
>
> After applying the patch by hand (using a text editor) the compile
> worked by no install failed also with "permission denied" while copying
> the wget.exe to the mingw directory tree.
>
> Can someone with the sources check this programs for use of "access",
> too or perhaps can even supply patched binaries if this is the problem?
>
> Of course I offer my help for his problem, too!
>

It appears Vista has added some privilege checks on files such as
"patch" and "install", based solely on their name. This affected Cygwin
as well:

http://article.gmane.org/gmane.os.cygwin/84697

The Cygwin folks eventually found the solution: supply a manifest file
alongside the executable, containing what amounts to saying "Yes, my
name is patch (or install), but I do not require administrative
permissions to run".

You can find such a manifest file on an archive of their mailing list:
http://article.gmane.org/gmane.os.cygwin/84762

Could you try the following:

1) Copy the following files from some recent Cygwin installation (or
create them based on the above link) to /bin in MSYS:

patch.exe.manifest
install.exe.manifest
install-info.exe.manifest

2) Type "touch /bin/install.exe /bin/install-info.exe /bin/patch.exe" in
MSYS.

Does this helps?

Cesar


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

 « Return to Thread: environment hosed during upgrade