From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23041 invoked by alias); 23 Sep 2014 14:11:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23030 invoked by uid 89); 23 Sep 2014 14:11:44 -0000 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 Received: from mail-la0-f44.google.com (HELO mail-la0-f44.google.com) (209.85.215.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 23 Sep 2014 14:11:43 +0000 Received: by mail-la0-f44.google.com with SMTP id q1so8754338lam.17 for ; Tue, 23 Sep 2014 07:11:40 -0700 (PDT) X-Received: by 10.112.130.68 with SMTP id oc4mr30878394lbb.41.1411481499790; Tue, 23 Sep 2014 07:11:39 -0700 (PDT) Received: from [172.21.188.197] ([62.154.173.198]) by mx.google.com with ESMTPSA id as5sm4819833lac.46.2014.09.23.07.11.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Sep 2014 07:11:38 -0700 (PDT) Message-ID: <54217F97.4000902@gmail.com> Date: Tue, 23 Sep 2014 14:27:00 -0000 From: Marco Atzeri 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@cygwin.com Subject: Re: /usr/bin/install doesn't install files from Makefile References: <5415790E.8030209@gmx.net> <54181257.5050500@gmx.net> <54194CCA.9070101@gmx.net> <54195F78.5010701@gmail.com> <54209126.9030706@gmx.net> In-Reply-To: <54209126.9030706@gmx.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00347.txt.bz2 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