Il giorno 03/ago/2011, alle ore 14:26, Gunnlaugur Thor Briem ha scritto:

> Hi,
> 
> As of revision 1339 http://projects.unbit.it/hg/uwsgi/rev/9fb2b23972a5 , 
> uwsgi fails to build with Py25 for me under Mac OS X 10.6.
> 
> The last revision that builds successfully is 1338. In 1339 onwards, the 
> build failure is:
> 
> $ make -f Makefile.Py25
> ...
> /usr/bin/gcc-4.2 -c -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="\"03 August 2011 
> 12:17:08\"" -DUWSGI_HAS_IFADDRS -mmacosx-version-min=10.5 
> -DUWSGI_LOCK_USE_OSX_SPINLOCK -DUWSGI_EVENT_USE_KQUEUE 
> -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE 
> -DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_UUID -DUWSGI_VERSION="\"0.9.8.3\"" 
> -DUWSGI_VERSION_BASE="0" -DUWSGI_VERSION_MAJOR="9" -DUWSGI_VERSION_MINOR="8" 
> -DUWSGI_VERSION_REVISION="3" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC 
> -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_LDAP 
> -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/opt/local/include/libxml2 
> -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 -DUWSGI_PLUGIN_DIR=\".\" 
> -DUWSGI_SPOOLER 
> -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);"
>  
> -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);"
>  
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
>  
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
>  -o plugins/python/pyloader.o plugins/python/pyloader.c
> cc1: warnings being treated as errors
> plugins/python/pyloader.c: In function ‘init_uwsgi_app’:
> plugins/python/pyloader.c:308: warning: dereferencing ‘void *’ pointer
> plugins/python/pyloader.c:308: error: request for member ‘ob_refcnt’ in 
> something not a structure or union
> plugins/python/pyloader.c:311: warning: dereferencing ‘void *’ pointer
> plugins/python/pyloader.c:311: error: request for member ‘ob_refcnt’ in 
> something not a structure or union
> plugins/python/pyloader.c:314: warning: dereferencing ‘void *’ pointer
> plugins/python/pyloader.c:314: error: request for member ‘ob_refcnt’ in 
> something not a structure or union
> make: *** [all] Error 1



should be fixed in latest tip


--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to