From pleydell at supagro.inra.fr  Wed Aug 26 13:26:51 2009
From: pleydell at supagro.inra.fr (pleydell at supagro.inra.fr)
Date: Wed, 26 Aug 2009 13:26:51 +0200
Subject: [Rd] Cannot make 3 different R installations for 3
	different	valgrind-instrumentation levels
In-Reply-To: <20090826124729.ad1ilt691u880w0w@web.supagro.inra.fr>
References: <20090825183131.19kjcomatupco0wg@web.supagro.inra.fr>
	<D30ADD33-3339-409D-B2E2-9090B4E14CD8@r-project.org>
	<20090826124729.ad1ilt691u880w0w@web.supagro.inra.fr>
Message-ID: <20090826132651.t2m1ls0bsyokow0c@web.supagro.inra.fr>

> is suspect installing to seperate _vg0, _vg1 and _vg2 directories 
> could be the problem. I'll retry and post the results.

Well, the following script didn't work

cd /usr/local/lib
sudo mkdir R
cd /usr/local/lib/R
sudo /usr/local/src/R-2.9.2/configure --enable-memory-profiling
--with-valgrind-instrumentation=2 r_arch=vg2
sudo make
sudo make install
sudo /usr/local/src/R-2.9.2/configure --enable-memory-profiling
--with-valgrind-instrumentation=1 r_arch=vg1
sudo make
sudo make install
sudo /usr/local/src/R-2.9.2/configure --enable-memory-profiling
--with-valgrind-instrumentation=0 r_arch=vg0
sudo make
sudo make latex
sudo make dvi
sudo make pdf
sudo make info
sudo make help
sudo make html
sudo make install

the relevent lines of config.log appear to be

configure:5546: gcc -E -I/usr/local/include conftest.c
conftest.c:16:28: error: ac_nonexistent.h: No such file or directory
configure:5552: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "R"
| #define PACKAGE_TARNAME "R"
| #define PACKAGE_VERSION "2.9.2"
| #define PACKAGE_STRING "R 2.9.2"
| #define PACKAGE_BUGREPORT "r-bugs at R-project.org"
| #define PACKAGE "R"
| #define VERSION "2.9.2"
| #define R_PLATFORM "i686-pc-linux-gnu"
| #define R_CPU "i686"
| #define R_VENDOR "pc"
| #define R_OS "linux-gnu"
| #define Unix 1
| #define R_ARCH "vg2"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5585: result: gcc -E
configure:5614: gcc -E -I/usr/local/include conftest.c
configure:5620: $? = 0
configure:5651: gcc -E -I/usr/local/include conftest.c
conftest.c:16:28: error: ac_nonexistent.h: No such file or directory
configure:5657: $? = 1
configure: failed program was:
| /* confdefs.h.  */

any ideas?
David



[Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels
pleydell at supagro.inra.fr