I was going through the config.log after installing R successfully on a
Linux ppc64 machine. However, I could not install the MCMCpack and looked at
the config.log file for gcc and g++ errors.I found some of them and have
pasted them below. Please let me know if they can affect the installation of
other packages on R.
------------------
configure:7479: checking whether we are using the GNU Objective C compiler
configure:7508: gcc -c  -I/usr/local/include conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:7514: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "R"
| #define PACKAGE_TARNAME "R"
| #define PACKAGE_VERSION "2.5.0"
| #define PACKAGE_STRING "R 2.5.0"
| #define PACKAGE_BUGREPORT "r-bugs@R-project.org"
| #define PACKAGE "R"
| #define VERSION "2.5.0"
| #define R_PLATFORM "powerpc64-unknown-linux-gnu"
| #define R_CPU "powerpc64"
| #define R_VENDOR "unknown"
| #define R_OS "linux-gnu"
| #define Unix 1
| #define R_ARCH ""
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| /* end confdefs.h.  */
|
| int
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
|
|   ;
|   return 0;
| }
configure:7548: result: no
configure:7553: checking whether gcc accepts -g
configure:7583: gcc -c -g -I/usr/local/include conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:7589: $? = 1
configure: failed program was:
| /* confdefs.h.  */
.........................
configure:7638: gcc -c  -I/usr/local/include conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:7644: $? = 1
configure: failed program was:
| /* confdefs.h.  */
.......................
configure:7694: gcc -c -g -I/usr/local/include conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:7700: $? = 1
configure: failed program was:
| /* confdefs.h.  */
.......................
configure:7739: result: no
configure:7792: gcc -c  -I/usr/local/include conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:7798: $? = 1
configure: failed program was:
| /* confdefs.h.  */
......................
configure:41100: gcc -m64 -std=gnu99 -o conftest -mminimal-toc
-fno-optimize-sibling-calls -g -O2  -I/usr/local/include  -L/usr/local/lib
conftest.c -framework vecLib  -ldl -lm  >&5
gcc: vecLib: No such file or directory
cc1: error: unrecognized command line option "-framework"
configure:41106: $? = 1
configure: failed program was:
| /* confdefs.h.  */
........................
configure:46650: gcc -m64 -std=gnu99 -o conftest -mminimal-toc
-fno-optimize-sibling-calls -g -O2  -I/usr/local/include  -L/usr/local/lib
conftest.c -framework CoreFoundation  -ldl -lm  >&5
gcc: CoreFoundation: No such file or directory
cc1: error: unrecognized command line option "-framework"
configure:46656: $? = 1
configure: failed program was:
| /* confdefs.h.  */
........................
configure:56212: gcc -m64 -std=gnu99 -o conftest -mminimal-toc
-fno-optimize-sibling-calls -g -O2  -I/usr/local/include
 -I/System/Library/Frameworks/CoreFoundation.framework/Headers
-L/usr/local/lib conftest.c  -ldl -lm -framework CoreFoundation >&5
gcc: CoreFoundation: No such file or directory
cc1: error: unrecognized command line option "-framework"
configure:56218: $? = 1
configure: failed program was:
| /* confdefs.h.  */
.......................
configure:56300: gcc -m64 -std=gnu99 -o conftest -mminimal-toc
-fno-optimize-sibling-calls -g -O2  -I/usr/local/include
 -I/System/Library/Frameworks/CoreFoundation.framework/Headers
-L/usr/local/lib conftest.c  -ldl -lm -framework CoreFoundation >&5
gcc: CoreFoundation: No such file or directory
cc1: error: unrecognized command line option "-framework"
configure:56306: $? = 1
configure: failed program was:
| /* confdefs.h.  */
......................
R is now configured for powerpc64-unknown-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc -m64 -std=gnu99  -mminimal-toc
-fno-optimize-sibling-calls -g -O2
  Fortran 77 compiler:       gfortran -m64  -mminimal-toc
-fno-optimize-sibling-calls -g -O2

  C++ compiler:              gxx -m64
  Fortran 90/95 compiler:    gfortran -m64 -g -O2
  Obj-C compiler:

  Interfaces supported:
  External libraries:        readline
  Additional capabilities:   iconv, MBCS, NLS
  Options enabled:           shared BLAS, R profiling, Java

  Recommended packages:      yes



--------------------------------

I am assuming that the C++ compiler should have been g++. must have been a
typo while configuring. Should anything be done with respect to the other
gcc errors??
Thanks,
Vivek

	[[alternative HTML version deleted]]

