RTD is not going to have Apache (runtime+dev packages) installed, so no. You are going to have to disable it by telling RTD to use a different requirements file, or if you really don't need RTD building any packages, tell it there is no requirements file you want used.
> On 22 Apr 2020, at 4:26 am, Lou King <[email protected]> wrote: > > with my standard requirements.txt that includes mod-wsgi, I get a build error > for my project on readthedocs.org: > > Collecting mod-wsgi==4.7.0 > Using cached mod_wsgi-4.7.0.tar.gz (497 kB) > ERROR: Command errored out with exit status 1: > command: > /home/docs/checkouts/readthedocs.org/user_builds/runningroutes/envs/stable/bin/python > -c 'import sys, setuptools, tokenize; sys.argv[0] = > '"'"'/tmp/pip-install-nj8d1vpq/mod-wsgi/setup.py'"'"'; > __file__='"'"'/tmp/pip-install-nj8d1vpq/mod-wsgi/setup.py'"'"';f=getattr(tokenize, > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > egg_info --egg-base /tmp/pip-install-nj8d1vpq/mod-wsgi/pip-egg-info > cwd: /tmp/pip-install-nj8d1vpq/mod-wsgi/ > Complete output (5 lines): > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/tmp/pip-install-nj8d1vpq/mod-wsgi/setup.py", line 168, in > <module> > 'missing Apache httpd server packages.' % APXS) > RuntimeError: The 'apxs' command appears not to be installed or is not > executable. Please check the list of prerequisites in the documentation for > this package and install any missing Apache httpd server packages. > ---------------------------------------- > ERROR: Command errored out with exit status 1: python setup.py egg_info Check > the logs for full command output. > > > Is there any way this could allow installation on readthedocs such that I > don't need a separately configured rtd-requirements.txt file? > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/59ef2f08-1d39-4e8e-989f-56f628f17486%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/59ef2f08-1d39-4e8e-989f-56f628f17486%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/2EB5CB7F-A544-48FF-8385-F2D96AABEC60%40gmail.com.
