Saturday, February 09, 2008
Installing apxs2 on Ubuntu Server
Ah, another happy Saturday doing sysadmin crap. I had a lot of trouble scaring this information up, so maybe a blog post will help the next person.
In order to get apxs2 installed on Ubuntu (and probably Debian) you must install apache2-threaded-dev (or possibly a non-threaded equivalent).
You will start to care about that if, for example, you want to install Apache2::Cookie, which depends on APR::Request, which is messy. But oh, wait, that module is broken and won't install anyway. If I figure out how to fix it, I'll probably post again for the same imagined posterity... currently the thing says my perfectly good apache2 binary is bad.
Anyway, regardless of that problem, you will also be unable to install APR::Request without an apxs2 binary, and you'll have a hard time finding that on Ubuntu unless you
sudo apt-get install apache2-threaded-dev
(or equivalent).
Subscribe to:
Post Comments (Atom)
6 comments:
thank you, thank you! just what I needed. I can't install mod_python without apxs2 and I couldn't find the little bugger anywhere unless you build apache from scratch, and I really didn't want to build apache2 from scratch because it seems to permanently mess up using apt-get for it afterwards. I probably wouldn't have built it with the dev version anyway! So you have saved my ass.
-DaveB
Thanks! I'm sure you've helped others already, but I had to say thank you. ^_^
Ivo in Seattle
Hey. This is your imaginary posterity. Sorry it took so long to get back to you... but this helped me. Thanks.
Thanks also from me! Needed to keep a OTRS install going...
Awesome. Worked perfectly. Thanks for sharing :)
For those with a non-threaded apache (Ubuntu is prefork by default), use apt-get install apache-prefork-dev.
Post a Comment