ASKBOT / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k stars 626 forks source link

pip install askbot in chroot jailed virtual host #782

Open Napoleon-BlownApart opened 5 years ago

Napoleon-BlownApart commented 5 years ago

[Ubuntu14.04, Apache2.4, MariaDB, Python 2.7, JailKit 2.17]

I am in the process of setting up ASKBOT on one of my jailed virtual hosts. I have setup the jail with a ssh user, which can run Python 2.7, use virtualenvwrapper, and am able to connect to my MariaDB server through 127.0.0.1 rather than localhost. Tested and working.

To install ASKBOT, I used pip install askbot and after it installed a bunch of stuff (including DJango 1.8 and a 15MB Pillow), the installer now wants to compile regex_2/_regex.c but complained it couldn't find x86_64-linux-gnu-gcc. This is a bit of a surprise because I'm not that excited about setting up GCC inside the jail.

Would anyone be able to recommend what I should do at this point?

martin-bts commented 5 years ago

You can check if a precompiled python regex package is provided through your distribution's package manager. Askbot doesn't seem to ask for a specific version.