Install of mod_wsgi on XAMPP Apache Failing

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Install of mod_wsgi on XAMPP Apache Failing

Postby mmkstarr » 28. August 2019 12:15

I am trying to install the mod_wsgi python web framework on XAMPP Apache and it's not detecting the core libs (which are present) and is spitting out tons of errors. I won't bother you with the details until someone requests for them further, but I just wanted to poll if anyone else had tried this and if so, if they had run into any issues, either.

Thanks.

Michael

https://github.com/GrahamDumpleton/mod_wsgi/issues/460
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Install of mod_wsgi on XAMPP Apache Failing

Postby Altrea » 28. August 2019 12:54

I won't bother you with any help until you bother us with the details.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9857
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Install of mod_wsgi on XAMPP Apache Failing

Postby mmkstarr » 01. September 2019 10:13

Code: Select all
C:\Windows\System32>pip install mod_wsgi
Collecting mod_wsgi
  Using cached https://files.pythonhosted.org/packages/26/03/a3ed5abc2e66c82c40b0735c2f819c898d136879b00be4f5537126b6a4a4/mod_wsgi-4.6.7.tar.gz
Installing collected packages: mod-wsgi
  Running setup.py install for mod-wsgi ... error
    ERROR: Command errored out with exit status 1:
     command: 'e:\computer stuff\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\starr\\AppData\\Local\\Temp\\pip-install-ms4hffl2\\mod-wsgi\\setup.py'"'"'; __file__='"'"'C:\\Users\\starr\\AppData\\Local\\Temp\\pip-install-ms4hffl2\\mod-wsgi\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\starr\AppData\Local\Temp\pip-record-btlpauex\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\starr\AppData\Local\Temp\pip-install-ms4hffl2\mod-wsgi\
    Complete output (206 lines):
    e:\computer stuff\python\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'bugtrack_url'
      warnings.warn(msg)
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\mod_wsgi
    copying src\__init__.py -> build\lib.win-amd64-3.7\mod_wsgi
    creating build\lib.win-amd64-3.7\mod_wsgi\server
    copying src\server\apxs_config.py -> build\lib.win-amd64-3.7\mod_wsgi\server
    copying src\server\environ.py -> build\lib.win-amd64-3.7\mod_wsgi\server
    copying src\server\__init__.py -> build\lib.win-amd64-3.7\mod_wsgi\server
    creating build\lib.win-amd64-3.7\mod_wsgi\server\management
    copying src\server\management\__init__.py -> build\lib.win-amd64-3.7\mod_wsgi\server\management
    creating build\lib.win-amd64-3.7\mod_wsgi\server\management\commands
    copying src\server\management\commands\runmodwsgi.py -> build\lib.win-amd64-3.7\mod_wsgi\server\management\commands
    copying src\server\management\commands\__init__.py -> build\lib.win-amd64-3.7\mod_wsgi\server\management\commands
    creating build\lib.win-amd64-3.7\mod_wsgi\docs
    copying docs\_build\html\__init__.py -> build\lib.win-amd64-3.7\mod_wsgi\docs
    creating build\lib.win-amd64-3.7\mod_wsgi\images
    copying images\__init__.py -> build\lib.win-amd64-3.7\mod_wsgi\images
    copying images\snake-whiskey.jpg -> build\lib.win-amd64-3.7\mod_wsgi\images
    running build_ext
    building 'mod_wsgi.server.mod_wsgi' extension
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    creating build\temp.win-amd64-3.7\Release\src
    creating build\temp.win-amd64-3.7\Release\src\server
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\mod_wsgi.c /Fobuild\temp.win-amd64-3.7\Release\src/server\mod_wsgi.obj
    mod_wsgi.c
    e:\computer stuff\python\include\pyconfig.h(288): warning C4005: 'PLATFORM': macro redefinition
    E:\computer stuff\website\xampp\apache\include\os.h(42): note: see previous definition of 'PLATFORM'
    src/server\mod_wsgi.c(471): warning C4267: 'initializing': conversion from 'size_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(472): warning C4267: 'initializing': conversion from 'size_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(580): warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(729): warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(775): warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(1860): warning C4244: '=': conversion from 'Py_ssize_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(3468): warning C4244: '=': conversion from 'Py_ssize_t' to 'long', possible loss of data
    src/server\mod_wsgi.c(6099): warning C4244: 'return': conversion from '__int64' to 'long', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_apache.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_apache.obj
    wsgi_apache.c
    e:\computer stuff\python\include\pyconfig.h(288): warning C4005: 'PLATFORM': macro redefinition
    E:\computer stuff\website\xampp\apache\include\os.h(42): note: see previous definition of 'PLATFORM'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_buckets.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_buckets.obj
    wsgi_buckets.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_convert.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_convert.obj
    wsgi_convert.c
    src/server\wsgi_convert.c(93): warning C4244: '=': conversion from 'Py_ssize_t' to 'long', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_daemon.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_daemon.obj
    wsgi_daemon.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_interp.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_interp.obj
    wsgi_interp.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    src/server\wsgi_interp.c(1046): warning C4244: 'initializing': conversion from 'Py_ssize_t' to 'long', possible loss of data
    src/server\wsgi_interp.c(2159): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
    src/server\wsgi_interp.c(2197): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_logger.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_logger.obj
    wsgi_logger.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    src/server\wsgi_logger.c(258): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
    src/server\wsgi_logger.c(277): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
    src/server\wsgi_logger.c(310): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
    src/server\wsgi_logger.c(320): warning C4244: '=': conversion from '__int64' to 'long', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_memory.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_memory.obj
    wsgi_memory.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_metrics.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_metrics.obj
    wsgi_metrics.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    src/server\wsgi_metrics.c(691): warning C4244: '=': conversion from 'Py_ssize_t' to 'long', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_restrict.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_restrict.obj
    wsgi_restrict.c
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_server.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_server.obj
    wsgi_server.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_stream.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_stream.obj
    wsgi_stream.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    src/server\wsgi_stream.c(191): warning C4267: 'function': conversion from 'size_t' to 'long', possible loss of data
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_thread.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_thread.obj
    wsgi_thread.c
    E:\computer stuff\website\xampp\apache\include\os.h(42): warning C4005: 'PLATFORM': macro redefinition
    e:\computer stuff\python\include\pyconfig.h(288): note: see previous definition of 'PLATFORM'
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IE:/computer stuff/website/xampp/apache/include" "-Ie:\computer stuff\python\include" "-Ie:\computer stuff\python\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt" /Tcsrc/server\wsgi_validate.c /Fobuild\temp.win-amd64-3.7\Release\src/server\wsgi_validate.obj
    wsgi_validate.c
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:e:\computer stuff\python\libs" "/LIBPATH:e:\computer stuff\python\PCbuild\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64" /EXPORT:PyInit_mod_wsgi build\temp.win-amd64-3.7\Release\src/server\mod_wsgi.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_apache.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_buckets.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_convert.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_daemon.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_interp.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_logger.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_memory.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_metrics.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_restrict.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_server.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_stream.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_thread.obj build\temp.win-amd64-3.7\Release\src/server\wsgi_validate.obj /OUT:build\lib.win-amd64-3.7\mod_wsgi\server\mod_wsgi.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\src/server\mod_wsgi.cp37-win_amd64.lib "e:\computer stuff\python/libs/python37.lib" "E:/computer stuff/website/xampp/apache/lib/libhttpd.lib" "E:/computer stuff/website/xampp/apache/lib/libapr-1.lib" "E:/computer stuff/website/xampp/apache/lib/libaprutil-1.lib" "E:/computer stuff/website/xampp/apache/lib/libapriconv-1.lib"
       Creating library build\temp.win-amd64-3.7\Release\src/server\mod_wsgi.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\src/server\mod_wsgi.cp37-win_amd64.exp
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_brigade_flatten
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_thread_mutex_create
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_ipsubnet_test
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pool_cleanup_register
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_md5
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_time_now
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_itoa
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_banner
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_hash_set
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_hook_translate_name
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_hash_make
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_add_common_vars
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_str_tolower
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_set_content_length
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_scoreboard_image
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_mpm_query
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_palloc
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_satisfies
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_getword_conf
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pstrndup
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_threadkey_private_create
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_hash_overlay
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_remote_host
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_document_root
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_some_auth_required
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_no2slash
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_brigade_create
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_strerror
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_make
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_check_cmd_context
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_brigade_destroy
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_elts
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_brigade
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_array_push
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_port
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_brigade_cleanup
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_array_append
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_scoreboard_global
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_ipsubnet_create
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pstrdup
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_strtoi64
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_limit_req_body
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_add
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_escape_html2
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_thread_mutex_lock
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_sockaddr_info_get
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_hook_handler
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_register_provider
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_discard_request_body
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pool_userdata_set
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_find_path_info
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_regexec
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_pregsub
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_transient_create
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_add_version_component
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_psprintf
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_hook_access_checker
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_add_cgi_vars
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_unset
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_psignature
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_thread_mutex_unlock
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_allow_options
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_name
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_hook_child_init
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_dynamic_fn_retrieve
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_set_content_type
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_log_error_
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pool_userdata_get
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pstrcat
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_flush_create
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_type_eos
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_off_t_toa
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_log_rerror_
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_array_make
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_hash_get
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_hook_post_config
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_get
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_run_generate_log_id
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_pass_brigade
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pstrmemdup
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_setn
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_ap_pregcomp
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_stat
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_array_cat
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_table_set
    mod_wsgi.obj : error LNK2001: unresolved external symbol __imp_apr_pool_cleanup_null
    wsgi_apache.obj : error LNK2001: unresolved external symbol __imp_apr_conv_utf8_to_ucs2
    wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_make
    wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_copy
    wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_free
    wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_alloc
    wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_destroy
    wsgi_buckets.obj : error LNK2001: unresolved external symbol __imp_apr_bucket_shared_split
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_ap_show_mpm
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_apr_hash_pool_get
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_apr_hash_next
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_apr_hash_this
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_apr_hash_first
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_description
    wsgi_interp.obj : error LNK2001: unresolved external symbol __imp_ap_get_server_built
    wsgi_metrics.obj : error LNK2001: unresolved external symbol __imp_ap_get_scoreboard_process
    wsgi_metrics.obj : error LNK2001: unresolved external symbol __imp_ap_get_scoreboard_worker_from_indexes
    wsgi_metrics.obj : error LNK2001: unresolved external symbol __imp_ap_exists_scoreboard_image
    wsgi_thread.obj : error LNK2001: unresolved external symbol __imp_apr_threadkey_private_get
    wsgi_thread.obj : error LNK2001: unresolved external symbol __imp_apr_threadkey_private_set
    build\lib.win-amd64-3.7\mod_wsgi\server\mod_wsgi.cp37-win_amd64.pyd : fatal error LNK1120: 105 unresolved externals
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\link.exe' failed with exit status 1120
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'e:\computer stuff\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\starr\\AppData\\Local\\Temp\\pip-install-ms4hffl2\\mod-wsgi\\setup.py'"'"'; __file__='"'"'C:\\Users\\starr\\AppData\\Local\\Temp\\pip-install-ms4hffl2\\mod-wsgi\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\starr\AppData\Local\Temp\pip-record-btlpauex\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10

Re: Install of mod_wsgi on XAMPP Apache Failing

Postby mmkstarr » 01. September 2019 10:14

Let me know if you need anything else.
mmkstarr
 
Posts: 23
Joined: 11. February 2019 03:48
XAMPP version: XAMPP for Windows 7.3.1-0
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests