Find the answer to your Linux question:
Results 1 to 4 of 4
I have an OpenSUSE 12.2 KDE OS here at work, and want to install a software without root access. The software is Yakuake which I always use at home, README ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2013
    Posts
    2

    Compiling from source-no root access


    I have an OpenSUSE 12.2 KDE OS here at work, and want to install a software without root access. The software is Yakuake which I always use at home, README contents for compiling is as follows:

    1. tar xfvj yakuake-<version>.tar.bz2
    2. cd yakuake-<version>
    3. mkdir build
    4. cd build
    5. cmake -DCMAKE_INSTALL_PREFIX=<path to install to> ../
    6. make
    7. sudo make install

    Once I execute 5th command (cmake -DCMAKE_INSTALL_PREFIX=/home/myusername/bin/yakuake ../), I get this error:

    CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
    ERROR: cmake/modules/FindKDE4Internal.cmake not found in
    /home/myusername/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps
    Call Stack (most recent call first):
    CMakeLists.txt:5 (find_package)


    -- Configuring incomplete, errors occurred!

    Do you guys know how I can overcome this problem?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    It appears that cmake is not installed on your system. What distribution+version are you using?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2013
    Posts
    2
    Thanks for reply. I mentioned this in the beginning of my post. OpenSUSE 12.2 Mantis. KDE environment.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    So I see! Need new glasses I think...

    You can install stuff as a regular user by building the software from source, and installing it somewhere where you have permissions to do so. That may be in /usr/local, or it may be in your home directory. Most Linux source packages have a configure script that supports a --prefix=location option that will allow you to tell it where you want it to be installed, such as "--prefix=$HOME". That will install it in your local home directory. You may need to update your PATH and LD_LIBRARY_PATH environment variables to point to your local bin and lib directories in order for the package to run properly.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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