Comment 8 for bug 1073147

Revision history for this message
Robert Hernandez (0-robert) wrote :

# You have to recompile mod-python and/or mod-wsgi.

# Remove mods
apt-get remove libapache2-mod-python libapache2-mod-wsgi

# Get dependencies
apt-get build-dep libapache2-mod-python libapache2-mod-wsgi

# Build mod-python
mkdir /tmp/python
cd /tmp/python
apt-get source libapache2-mod-python
cd libapache2-mod-python-[x.x.x]
dpkg-buildpackage -rfakeroot -b

#Build mod-wsgi
mkdir /tmp/wsgi
cd /tmp/wsgi
apt-get source libapache2-mod-wsgi
cd mod-wsgi-[x.x.x]
dpkg-buildpackage -rfakeroot -b

# Install newly compiled packages
dpkg -i /tmp/python/libapache2-mod-python-[x.x].deb /tmp/wsgi/libapache2-mod-wsgi-[x.x].deb