Re: [Rd] location of Rconfig.h when using architecture-dependent subdirs

2010-09-29 Thread Prof Brian Ripley
On Wed, 29 Sep 2010, Konis Kjell wrote: My problem arose while trying to build Graphviz with a swig binding for R. The wrapper includes R_ext/RS.h which contains #include , then uses the pkg-config provided search path taken from libR.pc. Currently this is Cflags: -I${rincludedir} Could this b

Re: [Rd] location of Rconfig.h when using architecture-dependent subdirs

2010-09-29 Thread Konis Kjell
My problem arose while trying to build Graphviz with a swig binding for R. The wrapper includes R_ext/RS.h which contains #include , then uses the pkg-config provided search path taken from libR.pc. Currently this is Cflags: -I${rincludedir} Could this be changed to match R_XTRA_CPPFLAGS? Kjell

Re: [Rd] location of Rconfig.h when using architecture-dependent subdirs

2010-09-29 Thread Prof Brian Ripley
On Wed, 29 Sep 2010, Konis Kjell wrote: Hello, I just tried configuring R to use architecture-dependent subdirs $ r_arch=x86_64 ./configure --prefix=/u/smat/konis/testdir on a Debain Squeeze box $ uname -a Linux smapc007 2.6.32-5-686 #1 SMP Sat Sep 18 02:14:45 UTC 2010 i686 GNU/Linux A