Libexpat missing when using Python from python.org

Ryan Long ryan.long at oarcorp.com
Mon Oct 3 15:32:40 UTC 2022


Hello,

Following Chris's advice, I installed Python 3.10.6 from Python's 
website. It gets me past the header check for gdb, but then it reports


checking whether to use expat... yes

checking for libexpat... no

configure: error: expat is missing or unusable

make[1]: *** [configure-gdb] Error 1

make: *** [all] Error 2


What's the best way to get Libexpat on macOS?

I was able to successfully build it with the python installed from 
Homebrew after disabling the building of gsed.

Thanks,

Ryan



More information about the devel mailing list