ceph / mod-proxy-fcgi

mod_proxy_fcgi for apache 2.2
Other
7 stars 4 forks source link

Changes to make build work for Debian 7 #11

Open lpalgarvio opened 8 years ago

lpalgarvio commented 8 years ago

Hello

Got it to build for Debian 7. But had to do some workarounds. The makefiles can probably be fixed to avoid this (namely the apxs binary path in configure.ac and the top_srcdir in makefiles/configure).

apt-get install autoconf gcc libc6-dev apache2-threaded-dev;
git clone https://github.com/ceph/mod-proxy-fcgi;
cd mod-proxy-fcgi;
ln -sf apxs2 /usr/bin/apxs;
autoconf;
./configure;
sed -i "s>top_srcdir\=>top_srcdir\=.>" Makefile;
mkdir -p build;
ln -sf /usr/share/apache2/build/instdso.sh build/instdso.sh;
make;
make install;
make clean;
chmod 644 /usr/lib/apache2/modules/mod_proxy_fcgi.so;
printf "# Depends: proxy\nLoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so" > /etc/apache2/mods-available/proxy_fcgi.load;
a2enmod proxy_fcgi;
cd ..;
rm -Rf mod-proxy-fcgi;
rm /usr/bin/apxs;

i did not test the module yet.

lpalgarvio commented 8 years ago

referencing the issue on launchpad for ubuntu https://bugs.launchpad.net/precise-backports/+bug/1422417

AmbassadorTux commented 8 years ago

The commands above made the package work for Ubuntu 12.04 as well. Thanks!