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: <4C448319 DOT 3010806 AT gmail DOT com> Date: Mon, 19 Jul 2010 12:50:36 -0400 Message-ID: Subject: Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../.. From: Ryan McLeod To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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