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
with my homebrew install on arch linux i run homebrew in a non standard prefix ie. ~/homebrew that said, i believe this issue could effect standard prefix installations of homebrew as well.
i think the homebrew ci is able to produce a working bottle because it sets up a fresh homebrew installation to where tcl-tk is not installed in the environment. that said if someone has explicitly installed tcl-tk and then installs [email protected] from source the configure script for python will pick up on the tcl-tk install in the path and attempt to configure [email protected] with tcl-tk support thus running into the tkinter build / linking error.
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
with my homebrew install on arch linux i run homebrew in a non standard prefix ie.
~/homebrew
that said, i believe this issue could effect standard prefix installations of homebrew as well.What happened (include all command output)?
running
brew install [email protected] -v -s
will fail.i think the homebrew ci is able to produce a working bottle because it sets up a fresh homebrew installation to where tcl-tk is not installed in the environment. that said if someone has explicitly installed tcl-tk and then installs [email protected] from source the configure script for python will pick up on the tcl-tk install in the path and attempt to configure [email protected] with tcl-tk support thus running into the tkinter build / linking error.
in the [email protected] formula file there is the below snippet,
homebrew-core/Formula/p/[email protected]
Lines 189 to 193 in a82002a
that snippet essentially does nothing. one can verify by running the below command,
run,
open up the
config.log
do a search fortkinter
and notice the values set within theconfig.log
i ended up using the same technique that macports uses for disabling tcl-tk ie. seen below,
https://github.com/Homebrew/homebrew-core/blob/5024d5b785db171580f43ce223e0eb6a3b6a0c45/patches/python-3.12-disable-tkinter.patch
What did you expect to happen?
a working python installation, ie. a configure build link of python without failure.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: