Web lists-archives.org

Re: [Mingw-users] help to compile gmp-4.2.2




Eduardo Mendes wrote:

> ./libtool: line 6426: /bin/install: Permission denied

This is another Vista feature.  UAC special-cases programs by name. 
Yes, it's that dumb.  It thinks programs named like 'install' or 'setup'
or 'update' are special because they are likely to be the name of an exe
that you might run to install a new program, and these generally need to
be run with elevated privileges since they tend to want to write into
the Program Files or the system hive, which are typically off limits to
the restricted/regular user.

Anyway, to make a long story short you need to create some manifests
that tell Vista that it doesn't need to elevate for these binaries, but
to run as the invoker.  In Cygwin we have had to do this for
/bin/install-info, /bin/install, and /bin/patch.  You can read about it
in this thread:
<http://www.cygwin.com/ml/cygwin/2006-12/threads.html#00518>

Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

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