conda-forge / mod_wsgi-feedstock

A conda-smithy repository for mod_wsgi.
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

in py311 mod_wsgi-express install-module crashes #24

Open ReimarBauer opened 1 month ago

ReimarBauer commented 1 month ago

Solution to issue cannot be found in the documentation.

Issue

root@demo-system:/etc/apache2/mods-enabled# /home/user/Miniforge/envs/mssenv/bin/mod_wsgi-express  install-module
Traceback (most recent call last):
  File "/home/user/Miniforge/envs/mssenv/bin/mod_wsgi-express", line 11, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mod_wsgi/server/__init__.py", line 3843, in main
    cmd_install_module(args)
  File "/home/user/Miniforge/envs/mssenv/lib/python3.11/site-packages/mod_wsgi/server/__init__.py", line 3779, in cmd_install_module
    shutil.copyfile(where(), target)
  File "/home/user/Miniforge/envs/mssenv/lib/python3.11/shutil.py", line 258, in copyfile
    with open(dst, 'wb') as fdst:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib64/httpd/modules/mod_wsgi-py311.cpython-311-x86_64-linux-gnu.so'

When using the version from pypi there is not such an error

Installed packages

TBD

Environment info

TBD
ReimarBauer commented 1 month ago

it seems not to get that the apache2 dir is

/usr/lib/apache2/modules/