Reputation: 511
I am trying to compile the development version of R under OSX, but I cannot find the correct way to link to the X11 libraries. I think they are included in XQuartz, but linking to /opt/X11/lib
or /opt/X11/include/X11
using ./configure --x-libraries
still generates an error that the headers cannot be found.
What is the correct way to link to the X11 headers with a default XQuartz install?
Upvotes: 0
Views: 880
Reputation: 511
The X-specific options are both required ./configure --x-libraries=/opt/X11/lib/ --x-includes=/opt/X11/include
worked fine.
Upvotes: 2