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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4C448319.3010806@gmail.com>
References: <AANLkTim0sc0lEQDsnWbOj7GQr8R1nkB8LcAj8FOat1LS AT mail DOT gmail DOT com> <4C448319 DOT 3010806 AT gmail DOT com>
Date: Mon, 19 Jul 2010 12:50:36 -0400
Message-ID: <AANLkTikTnpM12Y5x0wqTs_0NaX98g4BuP4i-qAdLXTI2@mail.gmail.com>
Subject: Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../..
From: Ryan McLeod <r DOT mcleod20 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Thanks Dave,

In case anyone else has the issue, here's what i did:

Paths were /home/rmcleod/cygwin/winsup and /home/rmcleod/cygwin/build.
Copy an install-sh, config.guess and config.sub into
/home/rmcleod/cygwin. cd to build. Run:
/home/rmcleod/cygwin/winsup/configure \
--prefix=3D/myprefix/xelerance/cross/win2k --target=3Di686-pc-cygwin
--without-headers  --with-newlib \
--disable-shared  --enable-languages=3Dc,c++

On Mon, Jul 19, 2010 at 12:53 PM, Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com> wr=
ote:
> 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=3D/myprefix/cross
>> --target=3Di686-pc-cygwin --without-headers \
>>
>> --with-newlib --disable-shared --enable-languages=3Dc,c++
>>
>> changes to:
>>
>> ../winsup/configure --prefix=3D/myprefix/xelerance/cross/win2k
>> --target=3Di686-pc-cygwin --without-headers \
>>
>> --with-newlib --disable-shared --enable-languages=3Dc,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
>
> =A0It's bad advice. =A0Use 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.
>
> =A0That shouldn't be necessary either. =A0The top-level copies should be =
the only
> ones.
>
> =A0 =A0cheers,
> =A0 =A0 =A0DaveK
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

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