Dear R-HELP,

We are compiling R-2.12.1 for 64 bits onto a Sun Sparc machine below:
SunOS 5.10 Generic_142900-13 sun4u sparc SUNW,Netra-T12

The source was compiled successfully with "gcc version 3.4.6" by using the 
default configuration and has produced R-2.12.1 in 32 bits.

Compiling R-2.12.1 for the 64 bits by configuring the config.site file as 
follow:
     CC="gcc -m64"
     F77="f77 -m64"
     CXX="g++ -m64"
     FC=$F77
     CPPFLAGS='-I/usr/sfw/include'
     LDFLAGS='-L/usr/lib/64 -L/usr/sfw/lib/64 -L/usr/sfw/lib/sparcv9 
-L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/sparcv9'


has produced following messages:
configure: error: --with-readline=yes (default) and headers/libs are not 
available
See attached configure.out.txt file and config.site file .
 

Appreciate your help to identify the missing header/libs when compiling 
R-2.12.1 for 64 bits on the above platform ?

The R-2.11.1 compiled version from Sunfreeware download is verified to be 
32 bits.
> .Machine$sizeof.pointer
[1] 4
This should return 8 for 64 bits.

Would  there be a compiled version of R-2.12.1 64 bits available for 
download ?

Thanks
Ted Fong

NOTICE TO RECIPIENT:  If you are not the intended recipient of this 
e-mail, you are prohibited from sharing, copying, or otherwise using or 
disclosing its contents.  If you have received this e-mail in error, 
please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or 
saving them.  Thank you.
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /usr/bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking whether ln -s works... yes
checking for bison... bison -y
checking for ar... ar
checking for a BSD-compatible install... tools/install-sh -c
checking for sed... /usr/xpg4/bin/sed
checking for tr... /usr/xpg4/bin/tr
checking for which... /usr/bin/which
checking for less... /usr/bin/less
checking for perl... /usr/bin/perl
checking whether perl version is at least 5.8.0... yes
checking for gtar... /usr/sfw/bin/gtar
checking for tex... no
checking for latex... no
checking for pdftex... no
checking for pdflatex... no
checking for makeindex... no
checking for makeinfo... /usr/sfw/bin/makeinfo
checking whether makeinfo version is at least 4.7... yes
checking for install-info... /usr/sfw/bin/install-info
checking for texi2dvi... /usr/sfw/bin/texi2dvi
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for gzip... /usr/bin/gzip
checking for bzip2... /usr/bin/bzip2
checking for firefox... no
checking for mozilla... /usr/sfw/bin/mozilla
using default browser ... /usr/sfw/bin/mozilla
checking for acroread... /usr/bin/acroread
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc -m64
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m64 accepts -g... yes
checking for gcc -m64 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -m64 -E
checking whether gcc -m64 needs -traditional... no
checking how to run the C preprocessor... gcc -m64 -E
defining F77 to be f77 -m64
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 -m64 accepts -g... no
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 accepts -g... yes
checking how to run the C++ preprocessor... g++ -m64 -E
checking whether __attribute__((visibility())) is supported... no
checking whether gcc -m64 accepts -fvisibility... no
checking whether f77 -m64 accepts -fvisibility... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking for Objective C++ compiler... trying some possibilities
checking whether g++ -m64 can compile ObjC++... yes
g++ -m64
checking for a sed that does not truncate output... (cached) /usr/xpg4/bin/sed
checking for fgrep... /usr/sfw/bin/ggrep -F
checking for ld used by gcc -m64... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from gcc -m64 object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ -m64 accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -m64 -E
checking whether we are using the GNU Fortran 77 compiler... (cached) no
checking whether f77 -m64 accepts -g... (cached) no
checking for objdir... .libs
checking if gcc -m64 supports -fno-rtti -fno-exceptions... no
checking for gcc -m64 option to produce PIC... -fPIC -DPIC
checking if gcc -m64 PIC flag -fPIC -DPIC works... yes
checking if gcc -m64 static flag -static works... no
checking if gcc -m64 supports -c -o file.o... yes
checking if gcc -m64 supports -c -o file.o... (cached) yes
checking whether the gcc -m64 linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++ -m64... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ -m64 linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking for g++ -m64 option to produce PIC... -fPIC -DPIC
checking if g++ -m64 PIC flag -fPIC -DPIC works... yes
checking if g++ -m64 static flag -static works... no
checking if g++ -m64 supports -c -o file.o... yes
checking if g++ -m64 supports -c -o file.o... (cached) yes
checking whether the g++ -m64 linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 -m64 option to produce PIC... -KPIC
checking if f77 -m64 PIC flag -KPIC works... no
checking if f77 -m64 static flag -Bstatic works... no
checking if f77 -m64 supports -c -o file.o... no
checking if f77 -m64 supports -c -o file.o... (cached) no
checking whether the f77 -m64 linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking for cos in -lm... yes
checking for sin in -lm... yes
checking for dlopen in -ldl... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for rl_callback_read_char in -lreadline... no
checking for main in -lncurses... no
checking for main in -ltermcap... yes
checking for rl_callback_read_char in -lreadline... no
checking for history_truncate_file... no
configure: error: --with-readline=yes (default) and headers/libs are not 
available
#! /bin/sh

### This file is part of R.
###
### R is free software; you can redistribute it and/or modify it under
### the terms of the GNU General Public License as published by the Free
### Software Foundation; either version 2 of the License, or (at your
### option) any later version.
###
### R is distributed in the hope that it will be useful, but WITHOUT ANY
### WARRANTY; without even the implied warranty of MERCHANTABILITY or
### FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
### License for more details.
###
### You should have received a copy of the GNU General Public License
### along with R; if not, a copy is available at
### http://www.r-project.org/Licenses/

## By means of this file you can (also) provide default values for the
## configuration process.  To set variables, uncomment the VAR=DEFAULT 
## lines and set DEFAULT according to your needs.
## See etc/Renviron.in for further variables you may wish to set.

## The command used to spool PostScript files to the printer.
## If unspecified, the system will look for either 'lpr' or 'lp'.
## R_PRINTCMD=lpr

## The paper size for the local (PostScript) printer.
## It must either be left blank or set to one of 'a4' or 'letter'.
## If left blank the system will use 'a4'.
## R_PAPERSIZE=a4

## Set the default behavior of R when ending a session
## Set this to one of '--save' or '--no-save' depending whether you
## want automatic saving of '.RData' or not.
## Note that this applies to interactive and batch use, 
## but NOT to the utility R CMD BATCH 
## (which defaults to --save irrespective of this setting)
## R_BATCHSAVE=

## The command which runs the C compiler.
## If unspecified, a search is made for gcc and cc (in that order).
## To override this choice, specify the name of the command which runs
## the compiler here, for example 'c99'.
## It is also convenient to set the architecture here, e.g. 'gcc -m32'.
## CC=
CC='gcc -m64'

## Debugging and optimization options for the C compiler.
## Use this to specify CFLAGS for the version of the C compiler
## specified above.
## If unspecified, defaults to '-g -O2' for gcc, 
## and '-g' in all other cases except icc (for which see R-admin.html).
## CFLAGS=

## Defines for C compilation.
## Use this to specify defines to be used in the compilation of R,
## e.g. -DUSE_TYPE_CHECKING_STRICT
## DEFS=

## The following additional CFLAGS to be used only in the main
## compilation and only in building shared objects respectively.
## For example, on some systems one needs 'MAIN_CFLAGS=-pg' when
## profiling.
## MAIN_CFLAGS=
## SHLIB_CFLAGS=

## Header file search directory ('-IDIR') and any other miscellaneous
## options (such as defines) for the C preprocessor and compiler.
## If unset defaults to '-I/usr/local/include', with '-I/sw/include'
## prepended on systems using Fink with root '/sw'.
## CPPFLAGS=
CPPFLAGS='-I/usr/sfw/include'

## The command which runs the FORTRAN 77 compiler.
## If this is not specified, a search is made for
## f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran ftn g95
## f90 xlf90 pgf90 pghpf epcf90
## g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77
## On HPUX fort77 is the POSIX compliant FORTRAN compiler, and replaces
## f77 in the search list.
## If CC is gcc, first preference is given to the matching FORTRAN
## compiler (g77 or gfortran).
## If none of these is found, R cannot be compiled.
## F77=
F77='f77 -m64'

## Options for the FORTRAN 77 compiler.
## Use this to specify FFLAGS for the version of the compiler specified
## above.  If unspecified, defaults to '-g -O2' for g77/gfortran, 
## otherwise '-g' if this is accepted, otherwise ''.
## FFLAGS=

## Options for safe compilation under the FORTRAN 77 compiler.
## Use this to specify FFLAGS for the version of the compiler specified
## above, using as accurate a result as possible, e.g. no optimization
## or using -ffloat-store.
## SAFE_FFLAGS=

## The following additional FFLAGS to be used only in the main
## compilation and only in building shared objects respectively.
## For example, on some systems one needs 'MAIN_FFLAGS=-pg' when
## profiling.
## MAIN_FFLAGS=
## SHLIB_FFLAGS=

## The command to be used to load the main R binary.
## This is usually the FORTRAN 77 or C compiler, but the automatic
## choice can be overriden by means of this variable.
## MAIN_LD=

## The flags which are necessary for loading main program which will
## load DLLs at runtime.  HP-UX and Linux-elf are examples of platforms
## which use this.  These platforms are already taken care of by
## configure, and anything set here will be in addition unless MAIN_LD
## is given.
## For example, one can set flags for profiling here.
## MAIN_LDFLAGS=

## Any special flags which must be used when compiling C code to be
## turned into a shared object.  This is typically something like
## '-fpic' or '-fPIC'.  If this variable is left unspecified an attempt
## is made to automatically detect the correct value.
## CPICFLAGS=

## The following variable can be used to provide any PIC flags for the
## FORTRAN 77 compiler.  If this variable is left unspecified an
## attempt is made to automatically detect the correct value.
## FPICFLAGS=

## The command to be used to create shared objects which contain object
## files from a C or FORTRAN 77 compiler only.  This is usually the C
## compiler or 'ld', but the automatic choice can be overridden by means
## of this variable.
## SHLIB_LD=

## Any special flags which are required by the linker when creating
## shared objects containing object files from a C or FORTRAN 77
## compiler only.  This is usually automatically detected by configure,
## and anything set here will be in addition unless SHLIB_LD is given.
## SHLIB_LDFLAGS=

## ditto for a dynamic library: DYLIB_LDFLAGS defaults to SHLIB_LDFLAGS
## DYLIB_LD=
## DYLIB_LDFLAGS=

## The appropriate 'lib' dir, normally 'lib', but 'lib64' on Linux on
## x86_64, mips64, ppc64, sparc64, s390x but not ia64.
## LIBnn=

## Stripping ('-s'), path ('-L'), and any other miscellaneous options
## for the linker.
## '-L' options set here will be prepended to LD_LIBRARY_PATH (or its
## system equivalent) at run time.
## If unset defaults to '-L/usr/local/lib', with '-L/sw/lib' prepended
## on systems using Fink with root '/sw'.
## On some Linux 64-bit systems its default is -L/usr/local/lib64.
## If LIBnn is set it defaults to -L/usr/local/$LIBnn.
## LDFLAGS=
LDFLAGS='-L/usr/lib/64 -L/usr/sfw/lib/64 -L/usr/sfw/lib/sparcv9 
-L/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/sparcv9'


## The command which runs the C++ compiler.  It not specified, configure
## uses the values of the environment variables 'CXX' or 'CCC' if set,
## and then looks under the names 'c++', 'g++', 'gcc', 'CC', 'cxx', and
## 'cc++' (in that order).
## CXX=
CXX='g++ -m64'

## Options for the C++ compiler.
## CXXFLAGS=

## Any special flags which must be used when compiling C++ code to be
## turned into a shared object.  If this variable is left unspecified
## an attempt is made to automatically detect the correct value.
## CXXPICFLAGS=

## The command to be used to load shared objects which contain object
## files from the C++ compiler.  This is usually the C++ compiler/linker,
## but the automatic choice can be overridden by means of this
## variable.
## SHLIB_CXXLD=

## Any special flags which are required when creating shared objects
## containing object files from a C++ compiler.  This is usually
## automatically detected by configure, and anything set here will be in
## addition unless SHLIB_CXXLD is given.
## SHLIB_CXXLDFLAGS=


## FORTRAN 95 compiler: optional for use in packages.
## Analogous to the F77 and CXX settings.
## FC=
FC=$F77
## FCFLAGS=
## FCPICFLAGS=
## SHLIB_FCLD=${FC}
## Unlike SHLIB_CXXLDFLAGS, SHLIB_fcldflags is never additional
## SHLIB_FCLDFLAGS=${SHLIB_LDFLAGS}
## Additional libraries needed to link a shared object, e.g. on x86 Solaris
## FCLIBS=

## Tcl/Tk settings.
## Use TCLTK_LIBS for all '-L' and '-l' options needed for linking
## against the Tcl and Tk library.
## TCLTK_LIBS=
## Use TCLTK_CPPFLAGS for all '-I' options needed for finding the tcl.h
## and tk.h headers.
## TCLTK_CPPFLAGS=

## Browser default
## Default setting for the R_BROWSER env variable
## If unset configure searches in turn for (currently)
## firefox mozilla galeon opera xdg-open kfmclient gnome-moz-remote open
## and uses the full path.
## R_BROWSER=

## BLAS and LAPACK settings
## Use BLAS_LIBS for all '-L' and '-l' options needed for linking
## against an external BLAS implementation.
## BLAS_LIBS=
## Use LAPACK_LIBS for all '-L' and '-l' options needed for linking
## against an external LAPACK implementation.  
## Note that (see R-admin) that our main intention is to allow a
## LAPACK-containing BLAS to be used, so this is rarely needed, and
## it is not used if the BLAS already contains LAPACK.
## LAPACK_LIBS=

## Make name.
## Set this if you want to use a make by another name.
## For example, if your GNU make is called 'gmake', use 'MAKE=gmake'.
## MAKE=

## Tar name
## Set this to prefer a tar which has the capability to automagically
## read compressed archives.  The default is to choose 'gtar' or
## 'gnutar'(normally GNU tar) then 'tar'.
## Note that 'bsdtar' (from the libarchive project) is known to create
## archives in a non-POSIX format that untar() cannot read,
## so should be avoided.
## TAR=
______________________________________________
R-help@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.

Reply via email to