delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/25/15:56:41

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=RpPW2yjpRfPgll5UDGNCd4dyzlAIcwqlFMzpEHNlq53
E7akUtF+HDRGqep5lJVYmJOuJ9C9vFSW2w+4wlecOU+T6VV05LN3MSMW6ZjTuCZL
5e03Uk+4tWr+vw5a1eS86ZPnGs+4fUmwz06E55YSHkegMIOD8MRYADWUeiXBAe4c
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=VneWOIsvl0NG4K0L0ivYu9Q4ncQ=; b=r60qTHptpW2A6knWT
WCq5vrFRPecX+ley8KpjnJ1m+tJel5SQp7wEFIjzdvSA180jOmCcHpH4tmqOdO8/
RLjnuG9Duq0/A7QRdA2qNrpa218p+cVjzZizGdWLG1cE1uTqwdAAzcfX/Qk6Lm3J
2GL0pKaL1IdZxwpkPoUwvF10Zk=
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.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.net
Message-ID: <54247343.4070800@gmx.net>
Date: Thu, 25 Sep 2014 21:55:47 +0200
From: Michael Osipov <1983-01-06 AT gmx DOT net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /usr/bin/install doesn't install files from Makefile
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>
In-Reply-To: <54217F97.4000902@gmail.com>
X-UI-Out-Filterresults: notjunk:1;
X-IsSubscribed: yes

Am 2014-09-23 um 16:11 schrieb Marco Atzeri:
> On 22/09/2014 23:14, Michael Osipov wrote:
>> Am 2014-09-17 um 12:16 schrieb Marco Atzeri:
>>> On 17/09/2014 10:56, Michael Osipov wrote:
>>>> Am 2014-09-16 um 19:59 schrieb Csaba Raduly:
>>>>> Hi Michael,
>>>
>>>
>>>> Unfortunately, it is not:
>>>> ...
>>>> (cd /home/mosipov/asciidoc/bin; ln -sf asciidoc.py asciidoc)
>>>> (cd /home/mosipov/asciidoc/bin; ln -sf a2x.py a2x)
>>>>
>>>
>>> have you thought to look on asciidoc source ?
>>> The install system is very poor, so it is not an issue of make..
>>>
>>> However with
>>>
>>> $ autoreconf -ifv
>>> $ ./configure --prefix=/asciidoc
>>> $ make install DESTDIR="/tmp/foo"
>>>
>>> I was able to install in "/tmp/foo/asciidoc"
>>
>> Hi Marco,
>>
>> just tried to reproduce this on some other project which should work. I
>> have tried curl from GitHub master.
>>
>> I have the very same result. I cannot install in $HOME/curl but
>> make install DESTDIR="/tmp" successfully ends up in
>> /tmp/home/mosipov/curl.
>>
>> This is very strange.
>>
>> Michael
>>
>
> why strange ?

Strange because of:

> 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

Install does not work at all, if I do not supply the DESTDIR variable.
Regard where I want to install. That is the point.

Here is the output: http://pastebin.com/RQbAnz6e


> On asciidoc there is a mistake and the final dir is
>    ${DESTDIR}/${PREFIX}
>
> 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

That is nice. asciidoc is broken here. I will open up an issue on GitHub.

Michael


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