[R] Difficulty Compiling RSQLite on Solaris x86 Using Studio 12 Compilers
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Oct 31 07:58:12 CET 2007
This isn't really an appropriate forum, and the problem seems to be
related to how you built R (why is dmake being used?)
I've just tried RSQLite on our x86_64 Solaris 10 box (as far as I know
SunOS 5.11 is not yet released but a preview), and it worked out of the
box.
You need help from someone familiar with your OS installation: this is
neither an R nor a generic Solaris issue.
On Tue, 30 Oct 2007, Aric Gregson wrote:
> 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.
What is 'make test'? We recommend 'make check', and it should work on a
properly set up Solaris system.
> 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}}
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list