Hi, I tried to install R.2.14.1 but when running ./configure command, I got the following error message configure: error: --with-readline=yes (default) and headers/libs are not available All checking prior to this error message passed without any problem (see below). Cheers, Carol ---------------- [root at localhost R-2.14.1]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu loading site script './config.site' loading build-specific script './config.site' checking for pwd... /bin/pwd checking whether builddir is srcdir... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for gawk... gawk checking whether ln -s works... yes checking for bison... bison -y checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for sed... /bin/sed checking for which... /usr/bin/which checking for less... /usr/bin/less checking for gtar... /bin/gtar checking for tex... /usr/bin/tex checking for pdftex... /usr/bin/pdftex checking for pdflatex... /usr/bin/pdflatex checking for makeindex... /usr/bin/makeindex checking for makeinfo... /usr/bin/makeinfo checking whether makeinfo version is at least 4.7... yes checking for install-info... /sbin/install-info checking for texi2dvi... /usr/bin/texi2dvi checking for kpsewhich... /usr/bin/kpsewhich configure: WARNING: inconsolata.sty not found: PDF vignettes and package manuals will not be rendered optimally checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for gzip... /bin/gzip checking for bzip2... /usr/bin/bzip2 checking for firefox... /usr/bin/firefox using default browser ... /usr/bin/firefox checking for acroread... /usr/bin/acroread checking for notangle... false checking for pkg-config... /usr/bin/pkg-config checking for gcc... gcc 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 accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking how to run the C preprocessor... gcc -E checking for gfortran... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether __attribute__((visibility())) is supported... yes checking whether gcc accepts -fvisibility... yes checking whether gfortran accepts -fvisibility... yes 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... yes checking whether gcc accepts -g... yes checking for Objective C++ compiler... trying some possibilities checking whether g++ can compile ObjC++... no no working compiler found checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU Fortran 77 compiler... (cached) yes checking whether gfortran accepts -g... (cached) yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes 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++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux 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 gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking if gfortran supports -c -o file.o... (cached) yes checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux 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... no checking readline/history.h presence... no checking for readline/history.h... no checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking for rl_callback_read_char in -lreadline... no checking for main in -lncurses... yes checking for rl_callback_read_char in -lreadline... no checking for history_truncate_file... no
error message in R 2.1.14 installation
5 messages · carol white, Marc Schwartz, Peter Dalgaard
On Jan 12, 2012, at 13:03 , carol white wrote:
Hi, I tried to install R.2.14.1 but when running ./configure command, I got the following error message configure: error: --with-readline=yes (default) and headers/libs are not available All checking prior to this error message passed without any problem (see below).
You really should read the R Installation and Administration manual, and for that matter also the posting guide (e.g.: what OS is this? Debian? RedHat? Suse? Slackware?). Most likely you missed the need to install the _developer_ package for readline (called readline-dev or something like that) so that the C header files are not installed. -pd
Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
The OS is fedora 10. It's also a 32-bit architecture. Best, ----- Original Message ----- From: peter dalgaard <pdalgd at gmail.com> To: carol white <wht_crl at yahoo.com> Cc: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch> Sent: Thursday, January 12, 2012 1:27 PM Subject: Re: [R] error message in R 2.1.14 installation
On Jan 12, 2012, at 13:03 , carol white wrote:
Hi, I tried to install R.2.14.1 but when running ./configure command, I got the following error message configure: error: --with-readline=yes (default) and headers/libs are not available All checking prior to this error message passed without any problem (see below).
You really should read the R Installation and Administration manual, and for that matter also the posting guide (e.g.: what OS is this? Debian? RedHat? Suse? Slackware?). Most likely you missed the need to install the _developer_ package for readline (called readline-dev or something like that) so that the C header files are not installed. -pd
Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk? Priv: PDalgd at gmail.com
As Peter noted, you would need to install the readline-devel RPM and this is covered in the manual he referenced. Thus, via the command line, as root, you would want to use: yum install readline-devel and that should resolve your problem. In addition, Fedora 10 is around 3 years old and is no longer supported as a distribution for updates. That was the last version of Fedora that I ran before moving to OSX. Fedora has since released up through version 16. Fedora updates roughly twice per year and each version is only supported for about 13 months after release. You should really upgrade your computer to a newer version. Regards, Marc Schwartz
On Jan 12, 2012, at 6:38 AM, carol white wrote:
The OS is fedora 10. It's also a 32-bit architecture. Best, ----- Original Message ----- From: peter dalgaard <pdalgd at gmail.com> To: carol white <wht_crl at yahoo.com> Cc: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch> Sent: Thursday, January 12, 2012 1:27 PM Subject: Re: [R] error message in R 2.1.14 installation On Jan 12, 2012, at 13:03 , carol white wrote:
Hi, I tried to install R.2.14.1 but when running ./configure command, I got the following error message configure: error: --with-readline=yes (default) and headers/libs are not available All checking prior to this error message passed without any problem (see below).
You really should read the R Installation and Administration manual, and for that matter also the posting guide (e.g.: what OS is this? Debian? RedHat? Suse? Slackware?). Most likely you missed the need to install the _developer_ package for readline (called readline-dev or something like that) so that the C header files are not installed. -pd -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On Jan 12, 2012, at 13:38 , carol white wrote:
The OS is fedora 10. It's also a 32-bit architecture.
10? Aren't they at 15 or 16 by now? I guess you need yum install readline-devel or thereabouts.
Best, ----- Original Message ----- From: peter dalgaard <pdalgd at gmail.com> To: carol white <wht_crl at yahoo.com> Cc: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch> Sent: Thursday, January 12, 2012 1:27 PM Subject: Re: [R] error message in R 2.1.14 installation On Jan 12, 2012, at 13:03 , carol white wrote:
Hi, I tried to install R.2.14.1 but when running ./configure command, I got the following error message configure: error: --with-readline=yes (default) and headers/libs are not available All checking prior to this error message passed without any problem (see below).
You really should read the R Installation and Administration manual, and for that matter also the posting guide (e.g.: what OS is this? Debian? RedHat? Suse? Slackware?). Most likely you missed the need to install the _developer_ package for readline (called readline-dev or something like that) so that the C header files are not installed. -pd -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com