X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 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: References: <4C448319 DOT 3010806 AT gmail DOT com> Date: Mon, 19 Jul 2010 13:04:53 -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 Problems love me, getting some make issues now when i run make in the build directory. /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /home/rmcleod/cygwin/winsup/w32api/lib/../include/winsock2.h:64 note: previous declaration of 'fd_set' was here /usr/include/sys/select.h:109: error: conflicting types for 'select' /home/rmcleod/cygwin/winsup/w32api/lib/../include/winsock2.h632: note: previous declaration of 'select' was here I am doing this process on Ubuntu, as i believe thats how im supposed to cross compile something for cygwin; do it from linux. Thanks, Ryan On Mon, Jul 19, 2010 at 12:50 PM, Ryan McLeod wrote: > 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 =A0--with-newlib \ > --disable-shared =A0--enable-languages=3Dc,c++ > > On Mon, Jul 19, 2010 at 12:53 PM, Dave Korn = 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=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 tre= e. >> >>> ../../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