nullpointer
nullpointer

Reputation: 532

Error in making/building mupdf on Mac OS X

I simply using the make command to make/build the mupdf on Mac OS X Mavericks, from its source.

But I get this error:

fatal error: 'X11/Xlib.h' file not found

However X11 is installed on my Mac, and has an entry in the PATH environment variable as well.

Can anyone please help on how to get rid of this error and make/build MuPDF?

Upvotes: 1

Views: 853

Answers (1)

Kurt Pfeifle
Kurt Pfeifle

Reputation: 90285

Do you have MacPorts installed? If not, do so.

Then run:

sudo port -pf install xorg-libX11

This should install (amongst other files) /opt/local/include/X11/Xlib.h.

Upvotes: 1

Related Questions