Results 1 to 4 of 4

Thread: R-2.7.0 install

  1. #1
    Join Date
    Jun 2008
    Beans
    2

    R-2.7.0 install

    Dear all,
    I have problems installing R-2.7.0 on Ubuntu.
    Steps taken:
    I removed previous version R-2.6.2 which I installed previously
    I downloaded the tar.gz file from CRAN
    georgiana@ghome:~/R-2.7.0$ tar -zxvf R-2.7.0.tar.gz
    georgiana@ghome:~/R-2.7.0$ ./configure

    I got the following error:
    configure: error: --with-x=yes (default) and X11 headers/libs are not available


    I searched on the forum list and I tried the following suggestions but nothing worked:
    georgiana@ghome:~/R-2.7.0$ sudo apt-get install x11-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package x11-dev
    georgiana@ghome:~/R-2.7.0$

    georgiana@ghome:~/R-2.7.0$ sudo apt-cache search xlibs dev
    xlibs-static-dev - transitional metapackage
    georgiana@ghome:~/R-2.7.0$
    I updated my source file and it looks like this:



    #deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    deb http://archive.canonical.com/ubuntu hardy partner
    deb-src http://archive.canonical.com/ubuntu hardy partner

    deb http://security.ubuntu.com/ubuntu hardy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
    deb http://security.ubuntu.com/ubuntu hardy-security universe
    deb-src http://security.ubuntu.com/ubuntu hardy-security universe
    deb http://security.ubuntu.com/ubuntu hardy-security multiverse
    deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

    Any help would be really appreciated!
    Thank you!

  2. #2
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: R-2.7.0 install

    Try to install the build essential files first:

    Code:
    sudo apt-get install build-essential
    and redo your ./configure.
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  3. #3
    Join Date
    Jun 2008
    Beans
    2

    Re: R-2.7.0 install

    It seems that the build essential is already installed, I still get the same error in ./configure:
    georgiana@ghome:~$ sudo apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    The following packages were automatically installed and are no longer required:
    libblas-dev libgfortran2 libpcre3-dev libpng12-dev libpcrecpp0
    libreadline5-dev gfortran-4.2 libgmp3c2 libjpeg62-dev gfortran libblas3gf
    tcl8.4 libmpfr1ldbl tk8.4 libncurses5-dev dpatch libbz2-dev
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    georgiana@ghome:~$

    BAsed on another suggestion, I tried to install libx11 -dev but it this is also already installed:
    georgiana@ghome:~$ sudo apt-get install libx11-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libx11-dev is already the newest version.
    libx11-dev set to manually installed.
    The following packages were automatically installed and are no longer required:
    libblas-dev libgfortran2 libpcre3-dev libpng12-dev libpcrecpp0
    libreadline5-dev gfortran-4.2 libgmp3c2 libjpeg62-dev gfortran libblas3gf
    tcl8.4 libmpfr1ldbl tk8.4 libncurses5-dev dpatch libbz2-dev
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
    georgiana@ghome:~$

    Any other suggestions on how to install R-2.7.0 are really appreciated!

  4. #4
    Join Date
    Apr 2005
    Beans
    849

    Re: R-2.7.0 install

    Hi, I installed 2.7.0 on ubuntu 8.04 using this guide
    http://ubuntuforums.org/showthread.php?t=639710

    just remember to change to the sources.list to some hardy instead of feisty.

    If you still have problems write back.
    Running 8.10 on a lenovo 3000 n200!
    Fingerprint reader doesn't work.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •