On Wednesday, April 9, 2003, at 09:24 AM, Simon Cusack wrote: > Anybody compiled scgi on OpenBSD3.2 for use with quixote? > > I am using apache 1.3, I am not in the chroot environment (one step at > a time :) > > I have the straight quixote CGI version working, and have managed to > compile > the mod_scgi but the python part of the scgi module wont compile I get > > /user/include/sys/event.h:53:syntax error before 'u_int' Simon, You need to #ifdef out the _XOPEN_SOURCE define in passfd.c - under OpenBSD this suppresses the required u_xxxx typedefs in sys/types.h (see patch below). Also note that you may need to update the makefile to fix the install locations for the install_py & install_mod targets. Regards, PaulC *** passfd.c.orig Wed Apr 9 16:28:38 2003 --- passfd.c Wed Apr 9 16:28:58 2003 *************** *** 5,12 **** --- 5,14 ---- * Neil Schemenauer*/ + #ifndef __OpenBSD__ #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 500 + #endif #endif #include "Python.h"