[Rd] Cannot make 3 different R installations for 3 different valgrind-instrumentation levels

pleydell at supagro.inra.fr pleydell at supagro.inra.fr
Wed Aug 26 13:26:51 CEST 2009


> 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



More information about the R-devel mailing list