Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220145 - media-libs/mlt-0.2.4-r2 fails to build when running kde4
Summary: media-libs/mlt-0.2.4-r2 fails to build when running kde4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-03 19:29 UTC by Olivier Huber
Modified: 2008-11-13 21:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2008-05-03 19:29:45 UTC
When I try to emerge mlt in a kde4 session it fails because the configure script in src/modules/qimage relies on $KDEDIR, and thus include the wrong headers :

 g++ -O2 -march=pentium-m -pipe -fomit-frame-pointer -O2 -march=pentium-m -pipe -fomit-frame-pointer -Wall -fPIC -DPIC    -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC    -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC    -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I../../ -I/usr/qt/3/include -I/usr/kde/4.0/include -Wno-deprecated   -c -o qimage_wrapper.o qimage_wrapper.cpp
qimage_wrapper.cpp:31:23: erreur: kinstance.h : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de qimage_wrapper.cpp:32:
/usr/kde/4.0/include/kimageio.h:11:30: erreur: QtCore/QStringList : Aucun fichier ou répertoire de ce type
/usr/kde/4.0/include/kimageio.h:12:26: erreur: QtCore/QString : Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de /usr/kde/4.0/include/kio/kio_export.h:24,
          à partir de /usr/kde/4.0/include/kimageio.h:14,
          à partir de qimage_wrapper.cpp:32:
/usr/kde/4.0/include/kdemacros.h:162:29: erreur: QtCore/qglobal.h : Aucun fichier ou répertoire de ce type
qimage_wrapper.cpp:42: erreur: expected initializer before ‘*’ token
qimage_wrapper.cpp: In function ‘void qimage_delete(void*)’:
qimage_wrapper.cpp:50: erreur: ‘instance’ was not declared in this scope
qimage_wrapper.cpp:50: erreur: type ‘<type error>’ argument given to ‘delete’, expected pointer
qimage_wrapper.cpp:51: erreur: ‘instance’ was not declared in this scope
qimage_wrapper.cpp: In function ‘void init_qimage()’:
qimage_wrapper.cpp:80: erreur: ‘instance’ was not declared in this scope
qimage_wrapper.cpp:81: erreur: expected type-specifier before ‘KInstance’
qimage_wrapper.cpp:81: erreur: expected `;' before ‘KInstance’
qimage_wrapper.cpp:82: erreur: ‘registerFormats’ is not a member of ‘KImageIO’


I know this a little bit strange since mlt only run with kde3.5, and I think mlt will build under kde3.5, but it won't build qimage if I try to emerge mlt just after boot with no DE.

An ugly fix is to call (re)define KDEDIR by doing like that : KDEDIR=/usr/kde/3.5/ econf but I wonder how to get this properly.
Comment 1 Alexis Ballier gentoo-dev 2008-10-28 06:11:24 UTC
could you please try with 0.3.0?
(i'm not using kde4 myself and dont feel like building it :p)
Comment 2 Olivier Huber 2008-11-13 21:27:38 UTC
(In reply to comment #1)
> could you please try with 0.3.0?

It works with 0.3.2 and kde 4.1

I'm closing it.