python 2.3.2 and openbsd 3.4

Yuri Pimenov icct at nnov.stelt.ru
Wed Nov 12 03:45:38 EST 2003


Hello, all.

Im trying to build python 2.3.2 on openbsd 3.4.
First of all, ./configure complains several times about unability to
test sys/select.h, sys/lock.h files:

...
checking ncurses.h usability... no
checking ncurses.h presence... yes
configure: WARNING: ncurses.h: present but cannot be compiled
configure: WARNING: ncurses.h: check for missing prerequisite headers?
configure: WARNING: ncurses.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
...
checking sys/audioio.h usability... no
checking sys/audioio.h presence... yes
configure: WARNING: sys/audioio.h: present but cannot be compiled
configure: WARNING: sys/audioio.h: check for missing prerequisite headers?
configure: WARNING: sys/audioio.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
...
checking sys/lock.h usability... no
checking sys/lock.h presence...
configure: WARNING: sys/lock.h: present but cannot be compiled
configure: WARNING: sys/lock.h: check for missing prerequisite headers?
configure: WARNING: sys/lock.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
...
checking sys/select.h usability... no
checking sys/select.h presence... yes
configure: WARNING: sys/select.h: present but cannot be compiled
configure: WARNING: sys/select.h: check for missing prerequisite
headers?
configure: WARNING: sys/select.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

then, after gmake all i got:

icct at service ..ild/Python-2.3.2% gmake all
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o Modules/python.o
Modules/python.c
In file included from /usr/include/sys/select.h:38,
                 from Include/pyport.h:118,
                 from Include/Python.h:48,
                 from Modules/python.c:3:
/usr/include/sys/event.h:53: syntax error before `u_int'
/usr/include/sys/event.h:55: syntax error before `u_short'
gmake: *** [Modules/python.o] Error 1
                                                   
Any ideas how to fix this?
Btw, python 2.2.x builds without a single complain.
-- 
Yuri Pimenov




More information about the Python-list mailing list