Re: Compiling 2.5.1 on OpenBSD 4.1

2007-07-31 Thread nazgul
> I don't have OpenBSD available, so I have to do all my research over > the web. I would really appreciate if this problem could be solved > "for good". In the past, it was always difficult that the *BSDs would > hide interfaces if I say that my program uses XOPEN/Unix. Python > uses a "POSIX+" ap

Re: Compiling 2.5.1 on OpenBSD 4.1

2007-07-29 Thread Martin v. Löwis
> __BSD_VISIBLE is there (it wasn't there before and that's what was causing my > original problem). > [EMAIL PROTECTED]:/bu/pkg/Python-2.5.1$ grep _BSD_SOURCE pyconfig.h > [EMAIL PROTECTED]:/bu/pkg/Python-2.5.1$ grep _BSD_VISIBLE pyconfig.h > #define __BSD_VISIBLE 1 It being in pyconfig.h is irr

Re: Compiling 2.5.1 on OpenBSD 4.1

2007-07-29 Thread nazgul
=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > It may work, but I don't like it. Can you please try this one instead, > and report whether it works? > Different error: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-protot

Re: Compiling 2.5.1 on OpenBSD 4.1

2007-07-29 Thread Martin v. Löwis
> Thanks Martin. Did I mention this was OpenBSD 4.1 in the original post? > Here's the patch: It may work, but I don't like it. Can you please try this one instead, and report whether it works? Thanks, Martin Index: configure ===

Re: Compiling 2.5.1 on OpenBSD 4.1

2007-07-29 Thread nazgul
=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: >> I'm stumped. Any suggestions? > > You will have to find the true declaration of lstat - reading > man pages or checking that everything "looks right" won't help. > > So where is lstat declared?

Re: Compiling 2.5.1 on OpenBSD 4.1

2007-07-28 Thread Martin v. Löwis
> I'm stumped. Any suggestions? You will have to find the true declaration of lstat - reading man pages or checking that everything "looks right" won't help. So where is lstat declared? Is it declared at all, and if so, is that declaration conditional perhaps? Produce a preprocessor output (pos