delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/19/11:46:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C447342.5030907@gmx.de>
Date: Mon, 19 Jul 2010 17:46:10 +0200
From: Matthias Andree <matthias DOT andree AT gmx DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2 Thunderbird/3.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../..
References: <AANLkTim0sc0lEQDsnWbOj7GQr8R1nkB8LcAj8FOat1LS AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTim0sc0lEQDsnWbOj7GQr8R1nkB8LcAj8FOat1LS@mail.gmail.com>
X-IsSubscribed: yes
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

Am 19.07.2010 17:29, schrieb Ryan McLeod:
> I get the above error when I am trying to cross-compile openswan for
> cygwin as laid out here:
> http://www.cygwin.com/ml/cygwin/2005-08/msg00175.html
> 
> The only thing i do differently is:
> 
> ../../winsup/configure --prefix=/myprefix/cross
> --target=i686-pc-cygwin --without-headers \
> 
> --with-newlib --disable-shared --enable-languages=c,c++
> 
> changes to:
> 
> ../winsup/configure --prefix=/myprefix/xelerance/cross/win2k
> --target=i686-pc-cygwin --without-headers \
> 
> --with-newlib --disable-shared --enable-languages=c,c++
> 
> The prefix change is mentioned as that in the openswan documents, but
> considering i only go up one directory from winsup
> 
> and into a build directory from there, not sure why he specified
> ../../winsup. I did have to copy install-sh, config.guess and
> config.sub into the winsup directory, as i was getting configure
> errors then with the install-sh. But now its asking for it
> 
> in a directory that seems to be irrelevant to the install. configure
> error: cannot find install-sh or install.sh
> in ../.. "../../winsup/cygwin"/../..
> 
> Thanks for any assistance.

Without looking at the actual issue (no time), and just as a pointer to a solution:

If autoconf/automake are involved, there are pre-defined variables such as
$(srcdir), $(top_srcdir) and similar that could replace hard-coded prefixes such
as "../..".

Details: Please see the "Preset Output Variables" section in the autoconf manual.

-- 
Matthias Andree

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