delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/05/03:53:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; q=dns; s=default; b=elv
9qgYzippjaE9oyjTiEIVFp1pKlHQ8RxXuAPFw60xp7e/NSzCWDMKPjTtRxWyzGk4
U1Otqnbv57seY71PxMD56pYnQSacoAUoOr5Y8U/G840hujZazRl2R4LnSjhDxMWt
lE9w4A99AutmU34e+v8fCImbF2RXOKP7JS7iadJo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type:content-transfer-encoding; s=default; bh=66fz7G3SL
7u+pIJQwERPDekGdjU=; b=ouvXBvEc+0/EThIXuNFcJEh2k3YbPJpJmNYxxGl8G
tFvcniAvFqDgLcmmAtf40NvgZ1XERfyeLzAW4Akn2J4DbY55IsKxK5jtHxZKZf2N
SDxUQpqRl0EudT9KU8sNn74AHxQeDa4UKo/d3EV50Z4GD4MDMXZxlQQ+SLNCA1Ki
Ik=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-vk0-f51.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Rwp0hoQbMjnYkH4RE8gz88gbPm+jOL7p6vBF2vSWbtM=; b=e3ycbT0Po5JLA9OAXk+pmssYT1mkl3UdzdV4raIKqXnSWX5ljJvSF8kMtWssSg/eKz CdS9k9i0E48lakzmzS5hM8qaWKsEisvyhtvnhMrGjkmEw+hLu6bro3iBQf71zTlhuJv1 l8qY4KD63jjGWmNLv2VgxlyLyHMSiCurEYMWXu0K7IUWEYlRXHs9mOAJ3RIIGomrOnzV IwYNt/ydCP9yuVoBqMMirLQ9PviIvGLFm2YJh55B0ky7uEs0fIwtkJ21rXXRuulmDg8C 4U+h5F6LIXEKQM5ZZZS+7kPnGcuoeYsA1XoXb7BSMLNo1yGGedce8/Ww9KV1Q3KyF99E DL/Q==
X-Gm-Message-State: AKwxytfZDUrMcHeXADTAcW6GQp3762FoZjtwVNqw/ppeS541M/VdeOmV CaBPoO7875PAE97IkaSkmCN8H2FcMfPsuHKE3YQ=
X-Google-Smtp-Source: AH8x224qz4J3BtW7iFGFlxNM9g9L+9tr+V7yxl6mVcIr/W01pu/PqyaPjKDRImT7oVM1kWtfmDZ9kAI3wfPo/M6dhZM=
X-Received: by 10.31.159.209 with SMTP id i200mr38759362vke.91.1517820770764; Mon, 05 Feb 2018 00:52:50 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?B?0J/RkdGC0YAg0JEu?= <satnatantas AT gmail DOT com>
Date: Mon, 5 Feb 2018 11:52:50 +0300
Message-ID: <CA+Ni7jM7wEhi8XBxUunHB8GcMu9a2TbGrmk_VJFqw1NoOFzDYw@mail.gmail.com>
Subject: Cannot install built library to mingw sysroot
To: cygwin <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w158r4mt031125

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019