Compiling 2.5.1 on OpenBSD 4.1

nazgul nazgul at jsbsystems.com
Sat Jul 28 21:24:03 EDT 2007


Hi all,

In my prev post, I indicated I was using 2.5.1 on one box and 2.5p3 on the 
OpenBSD box.  I'm trying to build 2.5.1 on OpenBSD and I get this:

Modules/posixmodule.c:5701: error: `lstat' undeclared (first use in this 
function)

I browsed the source and don't understand why I'm getting it. I'm not a 
configure expert, but I did figure out that pyconfig.h has these set:

#define HAVE_LSTAT 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1

and that posixmodule.c includes sys/stat.h, sys/types.h (per the lstat 
manpage) as well as declaring lstat outright.

I'm stumped.  Any suggestions?  ./configure was run with no options.

TIA,
nazgul



More information about the Python-list mailing list