Announcement

Collapse
No announcement yet.

Can't Install R 2.7.2 on Kubuntu x86_64

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't Install R 2.7.2 on Kubuntu x86_64

    Hi!

    I'm trying to install the current version of the statistics package R (v. 2.7.2) on Kubuntu 8.04 running KDE 4.1. Unfortunately, when I run ./configure the process stops after checking readline/history.h.

    I don't know what this means. Can anyone offer some good advice or a roadmap for installation?

    TIA

    P.S.

    I installed R 2.6.2 from Ubuntu's package site, but the current version has some new features and improvements I'd like to use.

    #2
    Re: Can't Install R 2.7.2 on Kubuntu x86_64

    please post the output of the ./configure in whole or at around where it stops, otherwise we may be unable to help u....
    Wanna know more about Me and My computer then click here

    Comment


      #3
      Re: Can't Install R 2.7.2 on Kubuntu x86_64

      Originally posted by nowshining
      please post the output of the ./configure in whole or at around where it stops, otherwise we may be unable to help u....
      Here's about where it seems to crap out:

      checking if gfortran supports -c -o file.o... (cached) yes
      checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) 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... no
      checking for main in -ltermcap... no
      checking for main in -ltermlib... no
      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


      Until that point the answers to the questions are almost all "yes", and things are purring along.

      Comment


        #4
        Re: Can't Install R 2.7.2 on Kubuntu x86_64

        u are missing the readline development files - anytime it asks for any libs, headers, u will ned to apt-get install the needed development files then do a ./configure again until u don't get any errors..

        from a gutsy box readline dev files are shown to be...

        libreadline-dev
        Wanna know more about Me and My computer then click here

        Comment


          #5
          Re: Can't Install R 2.7.2 on Kubuntu x86_64

          Originally posted by nowshining
          u are missing the readline development files - anytime it asks for any libs, headers, u will ned to apt-get install the needed development files then do a ./configure again until u don't get any errors..

          from a gutsy box readline dev files are shown to be...

          libreadline-dev
          Thanks. I found and installed the readline libraries; and the configure and make commands seemed to work ok. But when I try to launch R from bash, I still get the 2.6.2 version. How do I get to 2.7.2?

          Comment


            #6
            Re: Can't Install R 2.7.2 on Kubuntu x86_64

            Originally posted by dplentini
            Originally posted by nowshining
            u are missing the readline development files - anytime it asks for any libs, headers, u will ned to apt-get install the needed development files then do a ./configure again until u don't get any errors..

            from a gutsy box readline dev files are shown to be...

            libreadline-dev
            Thanks. I found and installed the readline libraries; and the configure and make commands seemed to work ok. But when I try to launch R from bash, I still get the 2.6.2 version. How do I get to 2.7.2?
            I just noticed that 2.7.2 appears after a reboot. Looks like the problem is solved. Thanks again!!

            Comment


              #7
              Re: Can't Install R 2.7.2 on Kubuntu x86_64

              ah ur welcome i forgot to add - u may of needed to run sudo ldconfig manually...
              Wanna know more about Me and My computer then click here

              Comment

              Working...
              X