LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me to install sysinfo:/ I think i got source.. :( (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-to-install-sysinfo-i-think-i-got-source-705633/)

QueenZ 02-18-2009 08:35 AM

Help me to install sysinfo:/ I think i got source.. :(
 
Hello.
I'm on Kubuntu (KDE 4.2) 8.10

I wanted this KDE App > http://www.kde-apps.org/content/show...?content=98808

I downloaded it, unarchived and got 2 folders: po and src and readme document that contains pretty much nothing..

see? http://i40.tinypic.com/2j46fpc.png

The question is.. how do i install it now?? I don't see any installation files.. :(

pixellany 02-18-2009 08:40 AM

The site you linked has the installation instructions...

But first: check with your package manager to see if you can install it that way.

i92guboj 02-18-2009 08:46 AM

Quote:

Originally Posted by pixellany (Post 3448276)
The site you linked has the installation instructions...

But first: check with your package manager to see if you can install it that way.

Note that you will be needing the kde4 devel stuff, to what degree I don't know. So it might be a pain to install this if you don't compile kde4 from source yourself. Or you just might need to install a few -dev or -devel package in your distro.

This is a kio-slave, so try also looking for extra packages for kioslaves in your package manager, and also read the info in that page from kde-look.org that you linked above.

More than probably, someone has already packaged that for debian, and if not, you can always try to convert an rpm using a tool like alien. You could also request a deb package in that thread.

QueenZ 02-18-2009 08:52 AM

Install procedure:
- unpack source code,
- create build directory,
- in build directory run “cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` .. “,
- as root run make and make install.


- I unpacked :)
- What's a build directoy? How do i create it?
- What prefix??
- make says "No target specified and no makefile found"


I've got nowhere so far.. :(

i92guboj 02-18-2009 08:57 AM

Quote:

Originally Posted by QueenZ (Post 3448285)
Install procedure:
- unpack source code,
- create build directory,

mkdir build
cd build

Then continue.

Quote:

- in build directory run “cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` .. “,
- as root run make and make install.
As said, you are going to need the kde4 devel packages. The makefile will be created by cmake, then you should be able to "make". Another entirely different thing is whether it will be able to complete or not.

QueenZ 02-18-2009 09:01 AM

ok i did like it says and go this.. did it fail or not..?

Quote:

queenz@queenz-ubuntu:~/Desktop/sysinfo-2.0/src/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix` ..
kde4-config: Unexpected argument '–prefix'.
kde4-config: Use --help to get a list of available command line options.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:7 (kde4_add_plugin):
Unknown CMake command "kde4_add_plugin".


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
queenz@queenz-ubuntu:~/Desktop/sysinfo-2.0/src/build$

i92guboj 02-18-2009 09:48 AM

Quote:

Originally Posted by QueenZ (Post 3448297)
ok i did like it says and go this.. did it fail or not..?

Yes. It failed. I suggest posting in the kde-apps.org thread. This is most likely due to some problem in the sources. It's not uncommon, I've seen it many times, just google for "Unknown CMake command kde4_add_plugin".

craigevil 02-18-2009 02:15 PM

http://packages.ubuntu.com/search?se...ywords=sysinfo

Its already in the ubuntu repos. apt-cache search sysinfo

You best bet is to learn how to use APT.
Software Management - Community Ubuntu Documentation
https://help.ubuntu.com/community/SoftwareManagement

Advanced package management
https://help.ubuntu.com/8.04/add-app.../advanced.html

APT HOWTO
http://www.debian.org/doc/manuals/ap.../index.en.html


All times are GMT -5. The time now is 03:29 AM.