readthedocs build error

12 views
Skip to first unread message

Lou King

unread,
Apr 21, 2020, 2:26:08 PM4/21/20
to modwsgi
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?

Graham Dumpleton

unread,
Apr 21, 2020, 4:55:29 PM4/21/20
to mod...@googlegroups.com
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.

--
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 modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/59ef2f08-1d39-4e8e-989f-56f628f17486%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages