This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../..


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=/myprefix/xelerance/cross/win2k --target=i686-pc-cygwin
--without-headers  --with-newlib \
--disable-shared  --enable-languages=c,c++

On Mon, Jul 19, 2010 at 12:53 PM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
> 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
>
>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]