-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS: cannot build remacs due to libxml/tree.h file not found #1557
Comments
In addition to having the libxml2 library installed, you also need the libxml2 library's headers installed. The headers are not normally installed with the library because most users never compile any software on their computer, so it would be a waste of space. Since I don't use a mac, I can't tell you how to install these headers. On my computer I would run If you want to build Remacs without going through the trouble of finding these headers, you can run configure the |
@db48x Thanks for your help. I work fine when add |
I was able to build with libxml using:
before running autogen/configure/make. But, I've the same issue of editor not displaying any text on macOS. |
@wingyplus the blank screen is likely due to other Mac issues on the latest builds of MacOS. Several of us have stayed behind to work around this but I know that isn't an option for those with new hardware. |
@shaleh can it build with nox option? As my daily life, I didn't uses emacs via GUI but from terminal itself. |
@wingyplus it should work. We use the nox option as part of the Travis test. We build both with and without a gui for every PR on Linux and MacOS. Please let us know if that doesn't successfully build or run. |
macOS 10.15 (Catalina) has libxml2 built-in you just need to specify paths, this works:
I'm revisiting remacs on my mac now |
Compilation works, GUI doesn't work, run in terminal works. You probably need to merge some commits by Alan Third to get macOS GUI work in 10.15 Catalina |
Thanks for the update @cjohansson Can you guess as to why |
No I have no idea |
Step to reproduce
Expected:
make
should be fineActual:
This is a build log from my machine https://gist.github.com/wingyplus/cfb1de708870ada1cab1183c66efaa06.
The text was updated successfully, but these errors were encountered: