This forum has been archived. All content is frozen. Please use KDE Discuss instead.

more script failure [SOLVED]

Tags: None
(comma "," separated)
DavePhillips
Registered Member
Posts
71
Karma
0

more script failure [SOLVED]

Wed Jun 20, 2012 11:26 am
Greetings,

It seems that something has reverted in recent invocations of the build script. I'm unable to complete a successful build on my Debian Squeeze and my Ubuntu 10.04 systems, the script fails here :

g++ -I/home/dlphilp/kdenlive/20120620/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I/usr/include/qt3 -I/usr/include/kde -DQT_THREAD_SUPPORT -I/usr/include/libexif -Wno-deprecated -c -o kdenlivetitle_wrapper.o kdenlivetitle_wrapper.cpp
kdenlivetitle_wrapper.cpp:23:24: fatal error: QtGui/QImage: No such file or directory
compilation terminated.
make[2]: *** [kdenlivetitle_wrapper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
qimage_wrapper.cpp:31:23: fatal error: kinstance.h: No such file or directory
compilation terminated.
make[2]: *** [qimage_wrapper.o] Error 1
make[2]: Leaving directory `/home/dlphilp/kdenlive/src/mlt/src/modules/qimage'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dlphilp/kdenlive/src/mlt/src/modules'
make: *** [all] Error 1
ERROR: Unable to build mlt
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build mlt


I do have one of the missing files:

dlphilp@avlinux:~$ ls /usr/include/qt4/QtGui/QImage
/usr/include/qt4/QtGui/QImage

but the script wants Qt3 (-I/usr/include/qt3) at this point. What's happening ? AFAICT it uses Qt4 up to here, then forgets about it.

My last successful build of Kdenlive was on 5/17. However, I've had no trouble building from the script for my Arch 64 system.

Any help would be appreciated, I'm at the end of my meager debugging skills. :)

Best,

dp
j-b-m
Registered Member
Posts
804
Karma
1

Re: more script failure

Wed Jun 20, 2012 8:02 pm
Oh, I just noticed that Dan did some recent changes to the QImage module configure script that break Qt4 detection. Working on a fix right now...
DavePhillips
Registered Member
Posts
71
Karma
0

Re: more script failure

Thu Jun 21, 2012 12:59 pm
Thanks, jbm. Could you post a note when it's fixed ?

Best,

dp
DavePhillips
Registered Member
Posts
71
Karma
0

Re: more script failure

Fri Jun 22, 2012 11:03 am
Tried to fix it myself this morning by uncommenting these lines :

# QT_INCLUDE_DIR="$(pkg-config --variable=prefix QtCore)/include"
# QT_LIB_DIR="$(pkg-config --variable=prefix QtCore)/lib"

But it made no difference, the script still failed at the same point as before.

Best,

dp
j-b-m
Registered Member
Posts
804
Karma
1

Re: more script failure

Mon Jun 25, 2012 6:12 am
Fixed now in MLT git.

regards
DavePhillips
Registered Member
Posts
71
Karma
0

Re: more script failure [SOLVED]

Mon Jun 25, 2012 11:49 am
Greetings,

Thanks for the update. Alas, the script still fails :

g++ -I/home/dlphilp/kdenlive/20120625/include -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I../.. -Wall -DPIC -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread -I/usr/include -I/usr/include/libexif -Wno-deprecated -c -o kdenlivetitle_wrapper.o kdenlivetitle_wrapper.cpp
qimage_wrapper.cpp:39:24: fatal error: QtGui/QImage: No such file or directory
compilation terminated.
make[2]: *** [qimage_wrapper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
kdenlivetitle_wrapper.cpp:23:24: fatal error: QtGui/QImage: No such file or directory
compilation terminated.
make[2]: *** [kdenlivetitle_wrapper.o] Error 1
make[2]: Leaving directory `/home/dlphilp/kdenlive/src/mlt/src/modules/qimage'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dlphilp/kdenlive/src/mlt/src/modules'
make: *** [all] Error 1
ERROR: Unable to build mlt
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build mlt
dlphilp@avlinux:~$


However, the addition of -I/usr/include/qt4 to the linkage fixes it. Where can I add it in the script to ensure success ? :)

Best,

dp

Note: Never mind, I figured it out. Very simple fix. I changed this line :

QT_INCLUDE_DIR="$(pkg-config --variable=prefix QtCore)/include"

to this :

QT_INCLUDE_DIR="$(pkg-config --variable=prefix QtCore)/include/qt4"

and everything builds without complaint.

Best,

dp
GMaq
Registered Member
Posts
47
Karma
0

Re: more script failure [SOLVED]

Wed Jul 11, 2012 1:35 pm
Hi,

I have the same problem not using the build script here: http://kdenlive.org/forum/mlt-080-fails-see-qt4-qimage-build-libs-when-present

However I just did a fresh pull from mlt git and I get the same error...

tester@av6devdesk:~/Build/mlt$ ./configure --prefix=/usr --enable-gpl --enable-gpl3 --qimage-libdir=/usr/lib/qt4/ --qimage-includedir=/usr/include/qt4/ --swig-languages=python
Configuring framework:
Configuring modules:
Configuring modules/avformat:
Configuring modules/core:
Configuring modules/decklink:
Configuring modules/dgraft:
Configuring modules/dv:
Configuring modules/effectv:
Configuring modules/feeds:
Configuring modules/frei0r:
Configuring modules/gtk2:
Libexif found, enabling auto rotate
Configuring modules/jackrack:
Configuring modules/kdenlive:
Configuring modules/kino:
Configuring modules/linsys:
Configuring modules/lumas:
Configuring modules/motion_est:
Configuring modules/normalize:
Configuring modules/oldfilm:
Configuring modules/plus:
Configuring modules/qimage:
Libexif found, enabling auto rotate
Qt version 3.x detected, will compile Qt3 qimage producer
Include directory: /usr/include/qt4/
qimage: KDE environment not found - disabling extra image formats
Configuring modules/resample:
Configuring modules/rotoscoping:
Configuring modules/rtaudio:
Configuring modules/sdl:
Configuring modules/sox:
Configuring modules/swfdec:
Configuring modules/videostab:
Configuring modules/vmfx:
Configuring modules/vorbis:
Configuring modules/xine:
Configuring modules/xml:
Configuring melt:
Configuring mlt++:
Configuring swig:
GPLv3 license used


GMaq
Registered Member
Posts
47
Karma
0

Re: more script failure [SOLVED]

Wed Jul 11, 2012 3:35 pm
OK,

If I remove the --qimage-libdir=/usr/lib/qt4/ --qimage-includedir=/usr/include/qt4/ then it works on mlt 0.8.1 from GIT



Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]