Open jakobneufeld opened 2 years ago
Can you please attach /run/user/1000/pip-install-2s0l6qkp/wxpython_864fc262cda54d66b46fb61001cc1799/build/waf/3.9/gtk3/config.log
so we can see what waf doesn't like about your environment?
@swt2c I fixed the issue kind of by adding the open gl headers, but now I get this issue
checking if std::basic_string<wchar_t> works... no
configure: error: Can't use --enable-std_string without std::wstring or std::basic_string<wchar_t>
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "/run/user/1000/pip-install-cer34i5c/wxpython_9ac138f340274539afe1578ca86161fa/build.py", line 1510, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "/run/user/1000/pip-install-cer34i5c/wxpython_9ac138f340274539afe1578ca86161fa/buildtools/build_wxwidgets.py", line 372, in main
exitIfError(wxBuilder.configure(dir=wxRootDir, options=configure_opts),
File "/run/user/1000/pip-install-cer34i5c/wxpython_9ac138f340274539afe1578ca86161fa/buildtools/build_wxwidgets.py", line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error running configure
Finished command: build_wx (0m4.448s)
Finished command: build (0m4.448s)
Command '"/home/drzoidberg/pythonpkgshell/envtest/bin/python" -u build.py build' failed with exit code 1.
----------------------------------------
ERROR: Command errored out with exit status 1: /home/drzoidberg/pythonpkgshell/envtest/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/run/user/1000/pip-install-cer34i5c/wxpython_9ac138f340274539afe1578ca86161fa/setup.py'"'"'; __file__='"'"'/run/user/1000/pip-install-cer34i5c/wxpython_9ac138f340274539afe1578ca86161fa/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /run/user/1000/pip-record-omb22_2y/install-record.txt --single-version-externally-managed --compile --install-headers /home/drzoidberg/pythonpkgshell/envtest/include/site/python3.9/wxPython Check the logs for full command output.
@swt2c Thanks so much for replying anyway!
Honestly I did not expect a response, because most package maintainers hate NixOS users :laughing:
Honestly I did not expect a response, because most package maintainers hate NixOS users laughing
I try not to hate anybody. :-) I'm even more confused now about the error as it seems to be saying that your system doesn't support std::wstring.
Operating system: Nixos/ linux wxPython version & source: pypi Python version & source: 3.9
Description of the problem:
I get this error when I build wxPython in venv.
Code Example (click to expand)
```python # Put code sample here ```