Web lists-archives.com

Cannot install built library to mingw sysroot




I have built and installed GraphicsMagick with this command:

$ ../configure '--host=x86_64-w64-mingw32' '--disable-shared'
--prefix=/usr/x86_64-w64-mingw32/sys-root/mingw CXXFLAGS="-flto
-ffat-lto-objects" && make && make install

Installation fails because apparently there is no permission to create
files in mingw sysroot:

$ mkdir /usr/x86_64-w64-mingw32/sys-root/mingw/share/whatever
mkdir: cannot create directory
‘/usr/x86_64-w64-mingw32/sys-root/mingw/share/whatever’: Permission
denied

What's the problem and how can I solve it in most straightforward way?

--
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