[SOLVED] Error compiling under KDE 4.4.1 and QT 4.6.2??

Hi folks,

I upgraded to KDE 4.4.1 and QT 4.6.
Now the wizard gives me an error:

Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2'.

I can't believe that it is not possible to build kdenlive against QT 4.6.

The complete log of the wizard is below.

Has someone an idea, what the heck is going on?

Thanx
Tom
--------------------------------------------------------------------------------------------------
Setting dcopref to kmdr-executor-14301
Setting configfile to /home/th/.kdenliveBuilderWizard.rc
KBWLOG: Sat Mar 13 18:23:50 CET 2010
KBWLOG: /tmp/kbw.script.sh.20100313.182349.oBTka8FiR starting
KBWLOG: Using kmdr-executor-14301 for feedback
KBWTRACE: Entering read_configuration @ =
KBWDEBUG: Reading configuration from /home/th/.kdenliveBuilderWizard.rc
KBWDEBUG: Setting ACTION_COMPILE_INSTALL=0
KBWDEBUG: Setting ACTION_GET_COMPILE_INSTALL=1
KBWDEBUG: Setting ACTION_GET_ONLY=0
KBWDEBUG: Setting AUTOCHECKVERSION=1
KBWDEBUG: Setting AUTO_APPEND_DATE=1
KBWDEBUG: Setting CREATE_STARTUP_SCRIPT=1
KBWDEBUG: Setting ENABLE_FREI0R=1
KBWDEBUG: Setting FFMPEG_ADDITIONAL_OPTIONS=
KBWDEBUG: Setting FFMPEG_HEAD=1
KBWDEBUG: Setting FFMPEG_REVISION=22110
KBWDEBUG: Setting FFMPEG_SUPPORT_AAC=1
KBWDEBUG: Setting FFMPEG_SUPPORT_H264=1
KBWDEBUG: Setting FFMPEG_SUPPORT_MP3=1
KBWDEBUG: Setting FFMPEG_SUPPORT_THEORA=1
KBWDEBUG: Setting FFMPEG_SUPPORT_X11GRAB=0
KBWDEBUG: Setting FREI0R_HEAD=1
KBWDEBUG: Setting FREI0R_REVISION=1216596301eeab7d6b807cee54579718a8363855
KBWDEBUG: Setting INSTALL_AS_ROOT=0
KBWDEBUG: Setting INSTALL_DIR=/home/th/kdenlive_Entwicklung/compiled_versions/
KBWDEBUG: Setting KDENLIVE_HEAD=1
KBWDEBUG: Setting KDENLIVE_REVISION=4347
KBWDEBUG: Setting MLTPP_HEAD=1
KBWDEBUG: Setting MLTPP_REVISION=1497
KBWDEBUG: Setting MLT_DISABLE_QIMAGE=0
KBWDEBUG: Setting MLT_DISABLE_SOX=0
KBWDEBUG: Setting MLT_HEAD=1
KBWDEBUG: Setting MLT_REVISION=e1729616b392a9ba47390264e4d25a414f79fd74
KBWDEBUG: Setting QT_INCLUDE_DIR=/usr/include/
KBWDEBUG: Setting QT_LIB_DIR=/usr/lib/
KBWDEBUG: Setting SOURCES_CLEAN=1
KBWDEBUG: Setting SOURCE_DIR=/home/th/kdenlive_Entwicklung/src
KBWDEBUG: Setting USE_KDE4=1
KBWDEBUG: Setting VERSION=0.9.90
KBWTRACE: Entering set_globals @ =
KBWDEBUG: GET=1, COMPILE_INSTALL=1, NEED_SUDO=0
KBWDEBUG: CREATE_STARTUP_SCRIPT=1
KBWDEBUG: SUBDIRS = frei0r ffmpeg mlt kdenlive
KBWDEBUG: Using install dir FINAL_INSTALL_DIR=/home/th/kdenlive_Entwicklung/compiled_versions//20100313
KBWDEBUG: Using make -j2 for compilation
KBWLOG: Checking for sudo requirement
KBWLOG: Done checking for sudo requirement
KBWTRACE: Entering prepare_feedback @ =
KBWDEBUG: Adding 3 steps for get
KBWDEBUG: Adding 1 step for get frei0r
KBWDEBUG: Adding 3 steps for clean on get
KBWDEBUG: Adding 1 step for clean frei0r
KBWDEBUG: Adding 9 steps for compile-install
KBWDEBUG: Adding 3 steps for compile-install frei0r
KBWDEBUG: Adding 1 step for script creating
KBWLOG: Number of steps determined to 21
KBWTRACE: Entering feedback_init @ = 21
KBWTRACE: Entering cmd @ = dcop kmdr-executor-14301 KommanderIf setMaximum ProgressBar 21
KBWLOG: About to run command: dcop kmdr-executor-14301 KommanderIf setMaximum ProgressBar 21
KBWTRACE: Entering feedback_set_progress @ = 0
KBWTRACE: Entering cmd @ = dcop kmdr-executor-14301 KommanderIf setText ProgressBar 0
KBWLOG: About to run command: dcop kmdr-executor-14301 KommanderIf setText ProgressBar 0
KBWTRACE: Entering perform_action @ =
KBWTRACE: Entering test_kde4_available @ =
KBWTRACE: Entering cmd @ = kde4-config -v
KBWLOG: About to run command: kde4-config -v
Qt: 4.6.2
KDE Development Platform: 4.4.1 (KDE 4.4.1) "release 225"
kde4-config: 1.0
KBWDEBUG: Versions found: QT: 4.6.2, KDE:
KBWTRACE: Entering is_newer_equal @ = 4.6.2 4.4.0
KBWDEBUG: A = 4 6 2, B = 4 4 0
KBWTRACE: Entering is_newer_equal @ = 4.1.0
KBWDEBUG: A = 4 1 0, B =
/tmp/kbw.script.sh.20100313.182349.oBTka8FiR: line 599: test: : integer expression expected
KBWERROR: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
KBWTRACE: Entering feedback_result @ = FAILURE Some kind of error occured: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
KBWTRACE: Entering feedback_status @ = FAILURE Some kind of error occured: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
KBWTRACE: Entering cmd @ = dcop kmdr-executor-14301 KommanderIf setText LabelFeedback FAILURE Some kind of error occured: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
KBWLOG: About to run command: dcop kmdr-executor-14301 KommanderIf setText LabelFeedback FAILURE Some kind of error occured: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
/tmp/kbw.script.sh.20100313.182349.oBTka8FiR: line 213: 14469 Killed keep_checking_abort
KBWTRACE: Entering cmd @ = dcop kmdr-executor-14301 KommanderIf execute ScriptObjectAddStatusLine
KBWLOG: About to run command: dcop kmdr-executor-14301 KommanderIf execute ScriptObjectAddStatusLine

KBWTRACE: Entering cmd @ = dcop kmdr-executor-14301 KommanderIf setText LabelFinalResult FAILURE Some kind of error occured: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
KBWLOG: About to run command: dcop kmdr-executor-14301 KommanderIf setText LabelFinalResult FAILURE Some kind of error occured: Building kdenlive for KDE4 was selected, but sufficiently new versions of KDE4 and Qt4 was not found. Needed KDE version 4.1.0, found . Needed Qt version 4.4.0, found 4.6.2
KBWTRACE: Entering cmd @ = dcop kmdr-executor-14301 KommanderIf execute ScriptObjectDone
KBWLOG: About to run command: dcop kmdr-executor-14301 KommanderIf execute ScriptObjectDone

I think the Kdenlive Build Wizard hasn't been updated lately, so it wouldn't work with qt 4.6 and Kdenlive 0.7.7. You'd probably be better off either compiling mlt, frei0r and Kdenlive by hand (not very hard, once you've got all the dependencies sorted out), or use the sunab2 ppa for fresh svn builds if you're using Ubuntu.

The build wizard uses "kde4-config" to retrieve current QT and KDE versions. From KDE 4.4.0 on, the output of the tool changed as regard KDE, what makes the build wizard lost.

Previously the output probably looks like: KDE: 4.3.5
Now it looks like: KDE Development Platform: 4.4.1 (KDE 4.4.1)

Using your favorite text editor, you can edit the wizard and search for KDE_VER=
Replace pre-KDE 4.4 value : KDE_VER=`kde4-config -v | grep -i KDE: | awk '{print $2}'`
With: KDE_VER=`kde4-config -v | grep -i "KDE Development Platform:" | awk '{print $4}'`

It worked for me.

Hey Goups,

great solution!!

Your patch also works for me.

Thank you for your hint, did you post this also under kde-apps.org on the wizard page?

Tom