Hi,
I am currently trying to install mod_wsgi on a server without root access. Since the server did not have the packages apache2-dev and libapr1-dev installed, which I believe are necessary for mod_wsgi to work, I downloaded and unpacked them and added their ./usr/bin directories to $PATH.
Finally, I tried to install mod_wsgi via pip3 for the local user, however I get the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/apr-1-config': '/usr/bin/apr-1-config'
Which makes sense, because the apr-1-config file ist not in that directory but instead in $HOME/libapr1-dev/usr/bin. Is there any way I can let the installation script know to look in this directory instead?
Sidenote: As a quick workaround I also tried to install mod_wsgi-standalone, which however gives the following error:
RuntimeError: Failed to build APR.
Thanks in advance!
Best,
Sebastian