Can anyone assist with building uWSGI under Python3.2.3 on FreeBSD9 ? I get the error with uwsgi-1.2.4 and uwsgi-1.3-snapshot2:
> [cc] plugins/python/wsgi_subhandler.o > cc1: warnings being treated as errors > plugins/python/wsgi_subhandler.c: In function 'uwsgi_request_subhandler_wsgi': > plugins/python/wsgi_subhandler.c:54: warning: dereferencing 'void *' pointer > plugins/python/wsgi_subhandler.c:54: error: request for member '_file' in > something not a structure or union Confirm both build ok under Python2.7.2. Full trace: [root@howarth-dev /usr/home/simonyarde/uwsgi-1.2.4]# python3.2 uwsgiconfig.py --build using profile: buildconf/default.ini detected include path: ['/usr/include/gcc/4.2', '/usr/include'] configured CFLAGS: -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_BUILD_DATE="\"13 July 2012 09:44:55\"" -DUWSGI_HAS_IFADDRS -I/usr/local/include -DUWSGI_HAS_EXECINFO -DUWSGI_LOCK_USE_POSIX_SEM -DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_EMBEDDED -DUWSGI_UDP -I/usr/local/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_VERSION="\"1.2.4\"" -DUWSGI_VERSION_BASE="1" -DUWSGI_VERSION_MAJOR="2" -DUWSGI_VERSION_MINOR="4" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/local/include/libxml2 -I/usr/local/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(car bon);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);" *** uWSGI compiling server core *** [cc] utils.o [cc] protocol.o [cc] socket.o [cc] logging.o [cc] master.o [cc] master_utils.o [cc] emperor.o [cc] notify.o [cc] mule.o [cc] subscription.o [cc] plugins.o [cc] lock.o [cc] cache.o [cc] queue.o [cc] event.o [cc] signal.o [cc] cluster.o [cc] rpc.o [cc] gateway.o [cc] loop.o [cc] lib/rbtree.o [cc] lib/amqp.o [cc] rb_timers.o [cc] main.o [cc] proto/base.o [cc] proto/uwsgi.o [cc] proto/http.o [cc] proto/fastcgi.o [cc] regexp.o [cc] routing.o [cc] async.o [cc] ini.o [cc] yaml.o [cc] snmp.o [cc] sendfile.o [cc] xmlconf.o [cc] spooler.o *** uWSGI compiling embedded plugins *** [cc] plugins/python/python_plugin.o [cc] plugins/python/pyutils.o [cc] plugins/python/pyloader.o [cc] plugins/python/wsgi_handlers.o [cc] plugins/python/wsgi_headers.o [cc] plugins/python/wsgi_subhandler.o cc1: warnings being treated as errors plugins/python/wsgi_subhandler.c: In function 'uwsgi_request_subhandler_wsgi': plugins/python/wsgi_subhandler.c:54: warning: dereferencing 'void *' pointer plugins/python/wsgi_subhandler.c:54: error: request for member '_file' in something not a structure or union [root@howarth-dev /usr/home/simonyarde/uwsgi-1.2.4]# uname -a FreeBSD howarth-dev 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 [root@howarth-dev /usr/home/simonyarde/uwsgi-1.2.4]# python3.2 --version Python 3.2.3 _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
