PDA

View Full Version : Step compile problem


smarion
December 17th, 2007, 01:49 PM
Hi,
I'm in desperate need of help.

I've been unsuccessfully trying to compile Step on my PC.
http://edu.kde.org/step/obtain.php

I get this error in the compile process:
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIRS ..
CMake Error: ERROR: Could not find KDE4 kde4-config
-- Configuring done


I presume that the problem is because I can't find the right KDE library and gmm. I tried to install kdebase-dev-kde4 but I get an error with the kdebase-runtime-bin-kde4 package.

Any help would be appreciated. :-)

lustefaniak
January 13th, 2008, 01:19 PM
use
export PATH=$PATH:/usr/lib/kde4/bin
and then try to compile

smarion
January 13th, 2008, 01:47 PM
Thanks for the reply!

I menaged to overcome that problem and a few more on the way.

Now, I'm getting the following error following make:

/usr/bin/ld: cannot find -lphonon
collect2: ld returned 1 exit status
make[2]: *** [step/step] Error 1
make[1]: *** [step/CMakeFiles/step.dir/all] Error 2
make: *** [all] Error 2

lustefaniak
January 13th, 2008, 06:28 PM
you need to install libphonon-dev.
also installing kde4-devel should fix your build env

smarion
January 13th, 2008, 06:32 PM
Works now.

Forgot about the devel package... Thanks!