Skip to content
Prev 9497 / 15075 Next

library not found for -lX11

But those paths should not be used unconditionally (as you have).  They 
are not right for most x86_64 Linux, Solaris, ... and they might not 
even be right on Mac OS X (depending on the X installation).

And PKG_CPPFLAGS was correct: that means flags for cpp, the C 
pre-processor, not for C++ (which is macro PKG_CXXFLAGS).  See 'Writing 
R Extensions'.
On 29/11/2012 12:39, Jakson Alves de Aquino wrote: