durusmail: quixote-users: [Quixote-users] scgi with quixote on OpenBSD 3.2 compiling prob
scgi with quixote on OpenBSD 3.2 compiling prob
2003-04-09
[Quixote-users] scgi with quixote on OpenBSD 3.2 compiling prob
2003-04-10
[Quixote-users] scgi with quixote on OpenBSD 3.2 compiling prob
Simon Cusack
2003-04-10
Hi Paul,

thanks, your legend, it worked perfectly first time!

Regards, Simon.

Thursday, April 10, 2003, 6:41:05 AM, you wrote:

PC> Simon,

PC> You need to #ifdef out the _XOPEN_SOURCE define in passfd.c - under
PC> OpenBSD this suppresses the required u_xxxx typedefs in sys/types.h
PC> (see patch below).

PC> Also note that you may need to update the makefile to fix the install
PC> locations for the install_py & install_mod targets.

PC> Regards, PaulC


PC> *** passfd.c.orig       Wed Apr  9 16:28:38 2003
PC> --- passfd.c    Wed Apr  9 16:28:58 2003
PC> ***************
PC> *** 5,12 ****
PC> --- 5,14 ----
PC>     * Neil Schemenauer 
PC>     */

PC> + #ifndef __OpenBSD__
PC>    #ifndef _XOPEN_SOURCE
PC>    #define _XOPEN_SOURCE 500
PC> + #endif
PC>    #endif

PC>    #include "Python.h"


reply