From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: /usr/bin/install doesn't install files from Makefile
Date: Tue, 23 Sep 2014 14:27:00 -0000 [thread overview]
Message-ID: <54217F97.4000902@gmail.com> (raw)
In-Reply-To: <54209126.9030706@gmx.net>
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
next prev parent reply other threads:[~2014-09-23 14:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-14 13:38 Michael Osipov
2014-09-14 14:35 ` Marco Atzeri
2014-09-15 14:36 ` Csaba Raduly
2014-09-16 14:17 ` Michael Osipov
2014-09-16 20:32 ` Csaba Raduly
2014-09-17 9:02 ` Michael Osipov
2014-09-17 11:21 ` Marco Atzeri
2014-09-17 23:03 ` Michael Osipov
2014-09-22 23:49 ` Michael Osipov
2014-09-23 14:27 ` Marco Atzeri [this message]
2014-09-23 16:05 ` Andrey Repin
2014-09-25 20:37 ` Michael Osipov
2014-09-14 19:16 Michael Osipov
2014-09-14 22:29 ` Marco Atzeri
2014-09-15 10:06 ` Michael Osipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54217F97.4000902@gmail.com \
--to=marco.atzeri@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).