This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../..
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 19 Jul 2010 17:53:45 +0100
- Subject: Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../..
- References: <AANLkTim0sc0lEQDsnWbOj7GQr8R1nkB8LcAj8FOat1LS@mail.gmail.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