On 29/11/2012 13:23, Jakson Alves de Aquino wrote:
On Thu, Nov 29, 2012 at 10:05 AM, Prof Brian Ripley
<[email protected]> wrote:
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).
Sorry, but I don't known how to find the correct path at compile time.
Use a configure script: see 'Writing R Extensions' (and see how R itself
does it).
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'.
Thanks for the information. I'll fix it.
--
Brian D. Ripley, [email protected]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac