Results 1 to 8 of 8

Thread: [SOLVED] How do I install latest cmake ahead of ubuntu?

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    [SOLVED] How do I install latest cmake ahead of ubuntu?

    I end up extracting all of these files which certainly do not belong in my personal directory, unless maybe I move the cmake file into the /usr/bin/? and add it to some registry?

    Building LMMS got quite simple since 0.4.0 as everything is managed
    by cmake now. Therefore make sure you have CMake (>= 2.6.0 recommended) and
    then run


    mkdir build
    cd build
    cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
    make
    sudo make install
    It looks like I may only have to do this one thing, unless cmake will require access to its parent directory.

    Will this work?
    P4, 2.8 Ghz, 1 GB RAM

  2. #2
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I install latest cmake ahead of ubuntu?

    I tried that but now it is asking me to make a cmake root. It is also asking for a modules directory in usr/bin which is easy, but ...
    P4, 2.8 Ghz, 1 GB RAM

  3. #3
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I install latest cmake ahead of ubuntu?

    According to qmake, I can probably do one of two things.

    1. Download an .sh file, run it with /bin/sh and follow the instructions. (What kind of command line would you use to run this and what directory would the sh file have to be in?)

    2. Untare a regular tar file, but in which directory, as it won't work in the personal directory and the untarred package gives you four parent directories - bin, share, man, and doc.
    Last edited by seaworthy4life; August 25th, 2008 at 12:59 AM.
    P4, 2.8 Ghz, 1 GB RAM

  4. #4
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I install latest cmake ahead of ubuntu?

    Ok. I copied the .sh file to the root. Then, I thought this would work when I ran this line.

    justin@justin-desktop:~$ sudo chmod +x /cmake-2.6.1-Linux-i386.sh

    Next thing is that I am supposed to get this shell or something like ./cmake-2.6.1-Linux-i386.sh , but it is not happening. Not sure where to go from here.

    I think that maybe the script is missing the proper "shebang line" at the beginning.
    P4, 2.8 Ghz, 1 GB RAM

  5. #5
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I install latest cmake ahead of ubuntu?

    voila, the shebang line, justin@justin-desktop:~$ sudo sh /cmake-2.6.1-Linux-i386.sh , and it ends up putting it in your personal box.
    P4, 2.8 Ghz, 1 GB RAM

  6. #6
    Join Date
    Jun 2007
    Beans
    48
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I install latest cmake ahead of ubuntu?

    ... but it did not register cmake correctly, so I would need to figure out how to utilize these 4 directories of qmake LOCKED in my personal box for the qmake lmms to work properly.

    This is the wall that I am at.

    justin@justin-desktop:~/Desktop/LMMS/lmms-0.4.0-beta2/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
    CMake Error: Could not find CMAKE_ROOT !!!
    CMake has most likely not been installed correctly.
    Modules directory not found in
    /usr/bin
    CMake Error: Error executing cmake::LoadCache(). Aborting.
    Last edited by seaworthy4life; August 25th, 2008 at 01:43 AM.
    P4, 2.8 Ghz, 1 GB RAM

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
  •