You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't add tkinter because of missing libx11-dev package #19
Every time I'm trying to build python with all modules it failing on tkinter.
Main reason is missing libx11-dev package but even if I install libx11-dev package it's still failing because of "1 problematic" issue with tkinter.
I would love to find a way to make tkinter compile as well, it is tricky indeed to successfully compile it.
In the logs you attached, without libx11-dev, tk C compilation indeed fails with:
fatal error: X11/Xlib.h: No such file or directory
The logs with tk show that tk indeed compiled correctly, however, something later didn't work, in the NN-cpython.log file
Activity
zsimic commentedon Jul 5, 2023
I would love to find a way to make tkinter compile as well, it is tricky indeed to successfully compile it.
In the logs you attached, without libx11-dev, tk C compilation indeed fails with:
The logs with tk show that tk indeed compiled correctly, however, something later didn't work, in the
NN-cpython.logfile8tm commentedon Jul 5, 2023
My log from cpython:
15-cpython.log
Maybe this will help a little:
https://mail.python.org/pipermail/tkinter-discuss/2005-January/000307.html
https://mail.python.org/pipermail/tkinter-discuss/2005-January/000308.html
https://github.com/biosbits/python/blob/bits/setup.py#L1930C32-L1930C32