delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/19/12:32:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C448319.3010806@gmail.com>
Date: Mon, 19 Jul 2010 17:53:45 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
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

On 19/07/2010 16:29, Ryan McLeod wrote:
> 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

  It's bad advice.  Use an absolute path to configure, and be sure to build in
a directory that is parallel to (rather than a subdir of) the source tree.

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

  That shouldn't be necessary either.  The top-level copies should be the only
ones.

    cheers,
      DaveK

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