Sorry to tag onto this as well, but as of 1.9.18, the Python 3 plugin does not seem to be compiling on Ubuntu 12.04 x64 either.
/usr/bin/ld: /usr/lib/python3.3/config-3.3m/libpython3.3m.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /usr/lib/python3.3/config-3.3m/libpython3.3m.a: could not read symbols: Bad value collect2: ld returned 1 exit status stdout: using profile: buildconf/core.ini detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/4.6/include', '/usr/local/include', '/usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed', '/usr/include/x86_64-linux-gnu', '/usr/include'] *** uWSGI building and linking plugin plugins/python *** [gcc -pthread] /usr/lib/uwsgi//python33_plugin.so *** unable to build python33 plugin *** The plugin builds just fine in uWSGI 1.9.16 and 1.9.17. On Fri, Oct 11, 2013 at 7:33 AM, Roberto De Ioris <[email protected]> wrote: > > > FreeBSD does not have sendfile.h: > > > > uwsgi.h: > > ------- > > #ifdef __linux__ > > #include <sys/sendfile.h> > > #include <sys/epoll.h> > > #elif defined(__FreeBSD_kernel__) > > #include <sys/sendfile.h> > > #include <sys/event.h> > > #elif defined(__sun__) > > --------- > > > > From sendfile(2): > > > > SYNOPSIS > > #include <sys/types.h> > > #include <sys/socket.h> > > #include <sys/uio.h> > > > > > > Now 1.9.18 does not build under FreeBSD: > > > > /usr/local/bin/python2.7 uwsgiconfig.py --build > > In file included from core/protocol.c:1: > > In file included from core/utils.c:1: > > ./uwsgi.h:314:10: fatal error: 'sys/sendfile.h' file not found > > #include <sys/sendfile.h> > > ^ > > ./uwsgi.h:314:10: fatal error: 'sys/sendfile.h' file not found > > #include <sys/sendfile.h> > > ^ > > 1 error generated. > > > > > > which FreeBSD version ? i have tried both 8 and 9 without problems > > > -- > Roberto De Ioris > http://unbit.it > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > -- * Jon Chappell* [email protected]
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
