delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/23/11:50:31

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=KFoJzkhfilQIdbJg
IvMj5BiIEOGcQkynOxb8+b0H0pgWzkkzybTWPN8e33ckBbYaw9RjeydWp7TXSZL6
R3PpJWYQ+xJr2rfGgE8OyWmOnjBZaMRMjgr2UQuCSuWGVEwxi4rY95FeHOwfqBzo
LKWiT5R9KnouNB1ND7pJsRowvEg=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=ca8/1gqE3HYPxIzg74sL8Y
oncqU=; b=pBh/G2Tw+/uKgHYXAOHOtaU5H++2tf4QCL5B23W5fXhUqBArFLIkdb
ImxNbxr0XoVbSijbWt8x5beD8V8k4PWA0rDLTXV7EvT+QvbKbqOJ6Gt4/3QUroU9
HJbIwp18XJ/nsmB9RZSr5s5PCkN5apJ+R0KPR0kf3g9M6rnYKKeo0=
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=3.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 23 Sep 2014 19:37:35 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <546091012.20140923193735@mtu-net.ru>
To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: /usr/bin/install doesn't install files from Makefile
In-Reply-To: <54217F97.4000902@gmail.com>
References: <5415790E DOT 8030209 AT gmx DOT net> <CAEhDDbCDi5Vu8=agC_zCfbd6tki5V3PBQGKL6ZtgdmdPPRWrew AT mail DOT gmail DOT com> <54181257 DOT 5050500 AT gmx DOT net> <CAEhDDbA9u9Atb2qf3LJW8or2SHDDwPHYS4ST3DecjF=udqsdng AT mail DOT gmail DOT com> <54194CCA DOT 9070101 AT gmx DOT net> <54195F78 DOT 5010701 AT gmail DOT com> <54209126 DOT 9030706 AT gmx DOT net> <54217F97 DOT 4000902 AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Marco Atzeri!

> why strange ?

> the final installation dir is ${DESTDIR}${PREFIX}

> for if you put
>    DESTDIR="/tmp"
>    --prefix=$HOME/curl

> the result will be in  /tmp$HOME/curl alias /tmp/home/mosipov/curl

> On asciidoc there is a mistake and the final dir is
>    ${DESTDIR}/${PREFIX}

It is still the case after nearly five years? O.o
I just digged a mail in my archives that point to the same issue.

> so if you define only
>    --prefix=$HOME/curl
>    and not DESTDIR

> the final dir should be /$HOME/curl alias //home/mosipov/asciidoc
> and cygwin rejects the leading "//" as they have a special meaning.
> https://cygwin.com/cygwin-ug-net/using.html#unc-paths

> In that case the trick is
>    DESTDIR="/"
>   --prefix=$HOME/asciidoc

> the result will be in  ///$HOME/asciidoc

>   alias ///home/mosipov/asciidoc
>   alias /home/mosipov/asciidoc


--
WBR,
Andrey Repin, 23.09.2014 19:20

Sorry for my terrible english...


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