This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cannot install built library to mingw sysroot
- From: Пётр Б. <satnatantas at gmail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Mon, 5 Feb 2018 11:52:50 +0300
- Subject: Cannot install built library to mingw sysroot
- Authentication-results: sourceware.org; auth=none
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