uWSGI Installation (from sources)

From version 0.9.4 you can use the included Makefile that will compile the server based on your system setup (you need the python and libxml2 development headers):

Python2.5:

make

Python2.6

make -f Makefile.Py26

On older versions you have to use the following instructions:

Linux 2.6 (python and libxml2 developer packages istalled)

For Python 2.5

make -f Makefile.Linux.Py25

For Python 2.6

make -f Makefile.Linux.Py26

For Python 2.4

make -f Makefile.Linux.Py24

On MacOSX

Universal binary

make -f Makefile.OSX.ub.Py25

Intel

make -f Makefile.OSX.x86.Py25

PowerPC

make -f Makefile.OSX.ppc.Py25

On FreeBSD

make -f Makefile.FreeBSD.Py25

The Apache2 module (apxs2 istalled)

apxs2 -i -c mod_uwsgi.c

(on OSX 64bit)

sudo apxs -i -a -c -Wc,'-arch x86_64' -Wl,'-arch x86_64' mod_uwsgi.c