delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/23/10:12:01

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=XhbJU9n811MIlK6m0fCtzlJp3937Xjkr6sHiSPFbF3I
nOEoN8hTN0DsfFNmIkPj/4BgqGK/yhnbu18l5X9l7IJUcGFkmdSsgnY9Yqt2j5um
M3q0dpe+mtCRMeDKF4xCU4zkxEjP6mHfCcTIgubbxLEee2q4fSKm3oUVv9MrHh30
=
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=Ds2iro7HQbB2XcD/DFyPRNGwXOU=; b=mJiFlhsL3kmBxFQHH
bP/SFrdndW+ul2r/QTl+DOjyWby3/m6hU0G9zUn/u6atCNQ1YNjOhJtuZlzeARfj
pQsW0Iy/+oMJYv5DcT0HjaDdmyhe195RpFTn8qAw2S8GEurlSHqh9hBTZhbTXhsp
RNfaPwUgLrJbPDXqc+G1ZUkdhk=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f44.google.com
X-Received: by 10.112.130.68 with SMTP id oc4mr30878394lbb.41.1411481499790; Tue, 23 Sep 2014 07:11:39 -0700 (PDT)
Message-ID: <54217F97.4000902@gmail.com>
Date: Tue, 23 Sep 2014 16:11:35 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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>
In-Reply-To: <54209126.9030706@gmx.net>
X-IsSubscribed: yes

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 ?

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}

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

Regards
Marco








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