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