Hi Bob, On 12/2/06, Bob Rossi <[EMAIL PROTECTED]> wrote:
First, and oddly enough, the buildconf script fails for me because build/buildcheck.sh doesn't recognize my libtool --version. I don't know sed well enough, and thought someone here would quickly be able to spot the problem. If not, I'll have to look deeper. $ libtool --version 2>/dev/null ltmain.sh (GNU libtool) 1.5.23a (1.1220.2.412 2006/10/13 14:13:30) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This command is failing by giving me no output. $ libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'
The following worked for me on Fedora Core 3, MSYS (MINGW32_NT-5.1 - 1.0.11), and Cygwin (CYGWIN_NT-5.1 - 1.5.18): $ cat <<EOF | sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'
ltmain.sh (GNU libtool) 1.5.23a (1.1220.2.412 2006/10/13 14:13:30) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. EOF
1.5.23a Could you let us know which version of sed you are using.
So, after patching autoconf, and making these two patches to apr, I was able to cross compile on cygwin with this command, ./configure apr_cv_tcp_nodelay_with_cork=no ac_cv_func_setpgrp_void=yes ac_cv_file__dev_zero=no --build=i686-pc-cygwin --host=i686-pc-mingw32 CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' I was able to take a sample program, and run it on a machine that did not have cygwin installed, and it ran fine. It was simply a hello world type program with apr stuff in it.
Have you tried the test suite? -- John