I ran into the same issue and again it was not having proper PATH (with include folders set) and LD_LIBRARY_PATH set.
-----Original Message----- From: André Beló [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:24 PM To: Bhola, Gautam Cc: [email protected] Subject: Re: [R] problem to install R on linux Hi, thanks for your e-mail, but it was not the case. I found the lines with the "readline/readline.h" information. This was because I did not have the realine package installed. After installing it I was able to install the R-2.0.0 using the .rpm binary version, however, I'm still not able to install the v2.2.1 from the source. Now I'm getting the following error after the ./configure command: "... checking whether we can compute C Make dependencies... yes, using gcc -MM checking whether gcc supports -c -o FILE.lo... yes checking how to get verbose linking output from gfortran... configure: WARNING: c ompilation failed checking for Fortran libraries of gfortran... checking how to get verbose linking output from gcc... -v checking for C libraries of gcc... -L/usr/local/lib -L/usr/lib/gcc/i586-mandriva -linux-gnu/4.0.1 -L/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../.. -lgcc_s checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... configure: error: cannot compile a s imple Fortran program See `config.log' for more details." I guess this is related to my compiler but I have no clue about how to fix it... Thanks, AB Bhola, Gautam wrote: > Hi > > I had similar issue which was resolved by ensuring that I have the > lib/include folder for readline in my LD_LIBRARY_PATH and PATH respectively. > > > Thanks > Gautam Bhola > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Beló > Sent: Wednesday, February 08, 2006 1:09 PM > To: [email protected] > Subject: [R] problem to install R on linux > > Dear members, > > this can sound trivial for some people but I don't have experience on > compilation. > > I'm trying to install R-2.2.1 on a laptop running Mandriva 2006. I > already installed many of the recommended packages/libraries but it > seems that something is still missing. The problem is that I cannot > identify... Could somebody give me some advise? > > I put the output of the command "./configure" bellow. When I tryed to > install the R-2.0.0-1mdk.i586.rpm I got: > > [EMAIL PROTECTED] Download]# rpm -i R-2.0.0-1mdk.i586.rpm > warning: R-2.0.0-1mdk.i586.rpm: Header V3 DSA signature: NOKEY, key ID > 6c60ceea > error: Failed dependencies: > info is needed by R-2.0.0-1mdk.i586 > [EMAIL PROTECTED] Download]# > > > Thanks in advance, > AB > > > [EMAIL PROTECTED] R-2.2.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 working makeinfo... found > checking for gawk... gawk > checking for egrep... grep -E > checking whether ln -s works... yes > checking for ranlib... ranlib > checking for bison... no > checking for byacc... no > checking for ar... ar > checking for a BSD-compatible install... /usr/bin/install -c > checking for sed... /bin/sed > checking for less... /usr/bin/less > checking for perl... /usr/bin/perl > checking whether perl version is at least 5.004... yes > checking for dvips... /usr/bin/dvips > checking for tex... /usr/bin/tex > checking for latex... /usr/bin/latex > checking for makeindex... /usr/bin/makeindex > checking for pdftex... /usr/bin/pdftex > checking for pdflatex... /usr/bin/pdflatex > checking for makeinfo... /usr/bin/makeinfo > checking for unzip... /usr/bin/unzip > checking for zip... /usr/bin/zip > checking for gzip... /bin/gzip > checking for firefox... no > checking for mozilla... no > checking for netscape... no > checking for galeon... no > checking for kfmclient... no > checking for opera... no > checking for gnome-moz-remote... /usr/bin/gnome-moz-remote > using default browser ... /usr/bin/gnome-moz-remote > checking for acroread... /usr/bin/acroread > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > 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 ANSI C... none needed > checking how to run the C preprocessor... gcc -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... no > checking whether gfortran accepts -g... no > 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 for a sed that does not truncate output... /bin/sed > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking how to recognise dependent libraries... pass_all > 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 dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking the maximum length of command line arguments... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ranlib... (cached) ranlib > checking for strip... strip > checking if gcc static flag works... yes > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc supports -c -o file.o... 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 > configure: creating libtool > appending configuration tag "CXX" to libtool > 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 > checking if g++ PIC flag -fPIC works... yes > checking if g++ supports -c -o file.o... 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 whether stripping libraries is possible... yes > appending configuration tag "F77" to libtool > 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... no > checking if gfortran supports -c -o file.o... no > 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 whether stripping libraries is possible... yes > checking whether makeinfo version is at least 4.7... yes > 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 > configure: error: --with-readline=yes (default) and headers/libs are not > available > [EMAIL PROTECTED] R-2.2.1]# > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ---------------------------------------------------------------------- > LEGAL NOTICE > Unless expressly stated otherwise, this message is confidential and may be > privileged. It is intended for the addressee(s) only. Access to this E-mail > by anyone else is unauthorized. If you are not an addressee, any disclosure > or copying of the contents of this E-mail or any action taken (or not taken) > in reliance on it is unauthorized and may be unlawful. If you are not an > addressee, please inform the sender immediately. > > ---------------------------------------------------------------------- LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}} ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
