[R] Difficulty Compiling RSQLite on Solaris x86 Using Studio 12 Compilers

Aric Gregson agregson at mednet.ucla.edu
Tue Oct 30 23:33:52 CET 2007


Apologies if this is not the best list on which to ask for help. I have
compiled R 2.6.0 using Sun Studio 12 compilers. I can install most CRAN
and bioconductor packages that I need, with the exception of RSQLite.
Unfortunately this is critical for other packages that I need. I have
tried to compile it using R CMD INSTALL to generate a config.log file.
I don't know how to fix the reported error. I have tried commenting
out most of the test language in the configure file, but then there are
other complaints. 

I used Studio 12 to build 2.5.1 and it worked perfectly. The only issue
with the 2.6.0 build is that 'make test' fails and this did not happen
with 2.5.1. However, it appears to run fine.

Any ideas of how I can get RSQLite to compile? Or is there another list
to which I should address my question.

thanks,

aric

Here is an except from the config.log:
++++++++++++++++++++++++++++++++++++++++++++++++++++
/usr/bin/uname -p = i386
/bin/uname -X     = System = SunOS
Node = solenv
Release = 5.11
KernelID = snv_69
Machine = i86pc

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1313: checking for gcc
configure:1339: result: dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
/opt/studio12/SUNWspro/bin/cc -m64
configure:1583: checking for C compiler version
configure:1586: dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
/opt/studio12/SUNWspro/bin/cc -m64 --version </dev/null >&5
./configure: line 1587: dmake:: command not found
configure:1589: $? = 127
configure:1591: dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
/opt/studio12/SUNWspro/bin/cc -m64 -v </dev/null >&5
./configure: line 1592: dmake:: command not found
configure:1594: $? = 127
configure:1596: dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
/opt/studio12/SUNWspro/bin/cc -m64 -V </dev/null >&5
./configure: line 1597: dmake:: command not found
configure:1599: $? = 127
configure:1622: checking for C compiler default output file name
configure:1625: dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
/opt/studio12/SUNWspro/bin/cc -m64 dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
-xO5 -xc99 -xlibmieee -xlibmil -nofstore   conftest.c  >&5
./configure: line 1626: dmake:: command not found
configure:1628: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:1667: error: C compiler cannot create executables
See `config.log' for more details.

## ----------------- ##
## Output variables. ##
## ----------------- ##

-xO5 -xc99 -xlibmieee -xlibmil -nofstore'
/opt/studio12/SUNWspro/bin/cc -m64'
/opt/studio12/SUNWspro/bin/cc -m64'
CC='dmake: defaulting to parallel mode.
CFLAGS='dmake: defaulting to parallel mode.
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CPPFLAGS=''
PKG_LIBS=''
SHELL='/bin/bash'
See the man page dmake(1) for more information on setting up
the .dmakerc file.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
See the man page dmake(1) for more information on setting up
the .dmakerc file.
ac_ct_CC='dmake: defaulting to parallel mode.
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77


----------------------------------------------------------
IMPORTANT WARNING:  This email (and any attachments) is ...{{dropped:8}}



More information about the R-help mailing list