X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4C447342.5030907@gmx.de> Date: Mon, 19 Jul 2010 17:46:10 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.4) Gecko/20100608 Lightning/1.0b2 Thunderbird/3.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: configure error: cannot find install-sh or install.sh in ../.. "../../winsup/cygwin"/../.. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Am 19.07.2010 17:29, schrieb Ryan McLeod: > 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 > config.sub into the winsup directory, as i was getting configure > errors then with the install-sh. But now its asking for it > > in a directory that seems to be irrelevant to the install. configure > error: cannot find install-sh or install.sh > in ../.. "../../winsup/cygwin"/../.. > > Thanks for any assistance. Without looking at the actual issue (no time), and just as a pointer to a solution: If autoconf/automake are involved, there are pre-defined variables such as $(srcdir), $(top_srcdir) and similar that could replace hard-coded prefixes such as "../..". Details: Please see the "Preset Output Variables" section in the autoconf manual. -- Matthias Andree -- 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