Tarquinnn
Tarquinnn

Reputation: 511

Compiling R under OSX with X11 Support

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

Answers (1)

Tarquinnn
Tarquinnn

Reputation: 511

The X-specific options are both required ./configure --x-libraries=/opt/X11/lib/ --x-includes=/opt/X11/include worked fine.

Upvotes: 2

Related Questions