Re: building apr on cygwin for mingw

2006-12-11 Thread Bob Rossi
On Sun, Dec 10, 2006 at 08:42:29PM +1100, John Vandenberg wrote: On 12/9/06, Bob Rossi [EMAIL PROTECTED] wrote: On Wed, Dec 06, 2006 at 09:07:20AM +1100, John Vandenberg wrote: We should first check whether the libtool developers intentionally added that blank line; if they can fix the

Re: building apr on cygwin for mingw

2006-12-11 Thread John Vandenberg
On 12/12/06, Bob Rossi [EMAIL PROTECTED] wrote: On Sun, Dec 10, 2006 at 08:42:29PM +1100, John Vandenberg wrote: On 12/9/06, Bob Rossi [EMAIL PROTECTED] wrote: On Wed, Dec 06, 2006 at 09:07:20AM +1100, John Vandenberg wrote: We should first check whether the libtool developers intentionally

Re: building apr on cygwin for mingw

2006-12-08 Thread Bob Rossi
On Wed, Dec 06, 2006 at 09:07:20AM +1100, John Vandenberg wrote: We should first check whether the libtool developers intentionally added that blank line; if they can fix the regression on their side, it means that the next stable version of libtool will work with older source tarballs of apr.

Re: building apr on cygwin for mingw

2006-12-05 Thread Joe Orton
On Fri, Dec 01, 2006 at 10:10:39PM -0500, Bob Rossi wrote: Secondly, the APR_CHECK_SIZEOF_EXTENDED isn't working for me because the default for the cross compiled size is 8. However, ssize_t for me is 4. So, the configure fails. I made this change: Can't you set ac_cv_sizeof_ssize_t=4 to get

Re: building apr on cygwin for mingw

2006-12-05 Thread Bob Rossi
On Tue, Dec 05, 2006 at 12:34:36PM +, Joe Orton wrote: On Fri, Dec 01, 2006 at 10:10:39PM -0500, Bob Rossi wrote: Secondly, the APR_CHECK_SIZEOF_EXTENDED isn't working for me because the default for the cross compiled size is 8. However, ssize_t for me is 4. So, the configure fails. I

Re: building apr on cygwin for mingw

2006-12-05 Thread William A. Rowe, Jr.
Failed Tests Total FailFailed % === testdso 5 4 80.00% testpipe 9 2 22.22% testpipe errors are expected. Filesystem pipes on windows do not behave in a

Re: building apr on cygwin for mingw

2006-12-05 Thread Bob Rossi
On Tue, Dec 05, 2006 at 02:55:09PM -0600, William A. Rowe, Jr. wrote: Failed TestsTotal FailFailed % === testdso 5 4 80.00% testpipe9 2 22.22% testpipe

Re: building apr on cygwin for mingw

2006-12-05 Thread William A. Rowe, Jr.
If you force dlopen and dlsym to 0, see what happens. dso/win32/dso.c, is the source we should be compiling, not the dso/unix/dso.c. Can you check that? Bob Rossi wrote: On Tue, Dec 05, 2006 at 02:55:09PM -0600, William A. Rowe, Jr. wrote: Failed TestsTotal FailFailed %

Re: building apr on cygwin for mingw

2006-12-05 Thread William A. Rowe, Jr.
Bob Rossi wrote: Thanks for the quick response. This is the output of my configure run. Is something obviously wrong here? also - check that APR_HAS_DSO is 1.

Re: building apr on cygwin for mingw

2006-12-05 Thread Bob Rossi
Hi, Well, here is the compile command. /bin/sh /home/bobbybrasko/rcs/svn/vigilant/vigilant/builddir/vigilant-tools/apr/libtool --silent --mode=compile gcc -mno-cygwin -g -O0 -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -I./include

Re: building apr on cygwin for mingw

2006-12-05 Thread John Vandenberg
On 12/6/06, Bob Rossi [EMAIL PROTECTED] wrote: On Tue, Dec 05, 2006 at 10:16:52AM +1100, John Vandenberg wrote: 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

Re: building apr on cygwin for mingw

2006-12-05 Thread Bob Rossi
On Wed, Dec 06, 2006 at 08:30:55AM +1100, John Vandenberg wrote: The problem appears to be that libtool is now emitting a blank line before the line that contains the version string; try $ libtool --version 2/dev/null | sed -e '/^$/d;s/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q' Works like a

Re: building apr on cygwin for mingw

2006-12-05 Thread William A. Rowe, Jr.
Bob Rossi wrote: Hi, Well, here is the compile command. /bin/sh /home/bobbybrasko/rcs/svn/vigilant/vigilant/builddir/vigilant-tools/apr/libtool --silent --mode=compile gcc -mno-cygwin -g -O0 -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -I./include

Re: building apr on cygwin for mingw

2006-12-05 Thread John Vandenberg
On 12/6/06, Bob Rossi [EMAIL PROTECTED] wrote: On Wed, Dec 06, 2006 at 08:30:55AM +1100, John Vandenberg wrote: The problem appears to be that libtool is now emitting a blank line before the line that contains the version string; try $ libtool --version 2/dev/null | sed -e

Re: building apr on cygwin for mingw

2006-12-05 Thread Andrew Teirney
Bob Rossi wrote: On Tue, Dec 05, 2006 at 03:35:21PM -0600, William A. Rowe, Jr. wrote: Bob Rossi wrote: Hi, Well, here is the compile command. /bin/sh /home/bobbybrasko/rcs/svn/vigilant/vigilant/builddir/vigilant-tools/apr/libtool --silent --mode=compile gcc -mno-cygwin -g -O0

Re: building apr on cygwin for mingw

2006-12-04 Thread Bob Rossi
On Fri, Dec 01, 2006 at 10:10:39PM -0500, Bob Rossi wrote: Hi, I've successfully cross compiled apr on cygwin to mingw. I've already had one patch go upstream to autoconf, which fixes a problem AC_CHECK_SIZEOF. I have two very small other problems, that need to be sent upstream, and then

Re: building apr on cygwin for mingw

2006-12-04 Thread John Vandenberg
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

Re: Building APR with Cygwin?

2005-07-12 Thread John Vandenberg
On 7/12/05, Dan Johnson [EMAIL PROTECTED] wrote: Hi Dan, Has anyone build APR 1.1.1 on Cygwin? I found some packages at Cygwin's site but they were 0.9.5 and 0.9.6. I tried building the Unix distribution directly but the configure script dies with decision on anonymous shared

RE: Building APR with Cygwin?

2005-07-12 Thread Dan Johnson
-5253 -Original Message- From: John Vandenberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 12:37 AM To: Dan Johnson Cc: dev@apr.apache.org Subject: Re: Building APR with Cygwin? On 7/12/05, Dan Johnson [EMAIL PROTECTED] wrote: Hi Dan, Has anyone build APR 1.1.1 on Cygwin? I

RE: Building APR with Cygwin?

2005-07-12 Thread Cliff Woolley
On Tue, 12 Jul 2005, Dan Johnson wrote: The problem is that I need to compile using MinGW under Cygwin, and MinGW doesn't provide any of the shared memory header files (shm.h, sys/mmap.h, sys/mman.h, etc.) so the test fails. A quick Google shows that a few other people have had this problem

Re: Building APR with Cygwin?

2005-07-12 Thread John Vandenberg
On 7/13/05, Dan Johnson [EMAIL PROTECTED] wrote: The problem is that I need to compile using MinGW under Cygwin, and MinGW doesn't provide any of the shared memory header files (shm.h, sys/mmap.h, sys/mman.h, etc.) so the test fails. Dan, It sounds like you are building for MinGW, and