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

Trying to install version .5 on Ubuntu Feisty (7.04)

Tags: None
(comma "," separated)
ebisudave
Registered Member
Posts
87
Karma
0

Although I know version .5 is available in the next version of Ubuntu (Gutsy, 7.10) which is due out in two weeks, I'd like to try to install version .5 in Feisty now.



There are two reasons: one is that I have a video editing project that I would like to complete on October 14th, which is before Gutsy is set to release.



The other reason is that version .4 has a problem with project configuration settings which I'm hoping is resolved in version .5.

(The problem is described here: http://www.kdenlive.org/bbforum/viewtopic.php?f=6&t=274)



I tried to install the repository for Feisty, but get this error:


http://download.tuxfamily.org/3v1deb/dists/feisty/Release:
Unable to find expected entry 3v1n0|/source/Sources in Meta-index file (malformed Release file?)


I then tried to install from source as per the instructions here: http://doc.ubuntu-fr.org/kdenlive and have been stopped at every turn by compile errors.



When trying to make Kdenlive, it says:

/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:122: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:98: warning: unused variable ‘drawWidth’
Error creating ./kdenlive/trackviewvideobackgrounddecorator.o. Exit status 1.


I tried the script provided here: http://www.kdenlive.org/bbforum/viewtopic.php?f=8&t=100, but it dies saying:

cd: 166: can't cd to ffmpeg



I have, many times, installed ffmpeg and ffmpeg related devolpment files, so I'm not sure why it can't "cd" to it.



Anyway, is it possible to get version .5 on Feisty, and if so, which set of instructions should I be following?



Thank you for any advice.

herrej01
Registered Member
Posts
48
Karma
0

Hi,



I recomend you the installation from svn (your second option). In this way you'll get an updated version with some new features that I hope will help with your project.



I'm also in Ubuntu 7.04 and running kdenlive without any problem. From your message, I understand you've already installed MLT, MLT++, FFMPEG and the rest of dependencies according to what's stated in the wiki. If that's true, installation of kdenlive is quite easy. I'll explain how I did it (maybe there are other options, but I can assure you this is working in Ubuntu !):



Open a terminal session.

Enter command to obtain source from svn : svn co https://kdenlive.svn.sourceforge.net/sv ... k/kdenlive

Move to kdenlive directory (automatically created by previous command): cd kdenlive

Run bootstrap to create configuration file: sh bootstrap

Configure: ./configure --enable-debug=full

Make: make

Make install: sudo make install



Following these instructions and with the needed dependencies I hope you'll not have any problem. If any, just shout !



Regards.

JM

ebisudave
Registered Member
Posts
87
Karma
0

JM,



Thank you for the instructions.



However, at the "make" stage, I still get stopped on an error. It does not seem to be dependency problem, it seems to be a code problem. I've included the output here:



/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:29:23: error: mlt++/Mlt.h: No such file or directory
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp: In member function ‘virtual void Gui::TrackViewVideoBackgroundDecorator::paintClip(double, double, QPainter&, DocClipRef*, QRect&, bool)’:
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:93: warning: converting to ‘int’ from ‘double’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:96: warning: converting to ‘int’ from ‘double’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:101: error: variable ‘Mlt::Producer m_producer’ has initializer but incomplete type
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:108: error: variable ‘Mlt::Filter m_convert’ has initializer but incomplete type
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:109: error: ‘mlt_image_rgb24a’ was not declared in this scope
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:111: error: ‘mlt_image_format’ was not declared in this scope
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:111: error: expected `;' before ‘format’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:118: error: invalid use of undefined type ‘struct Mlt::Frame’
/home/dave/kdenlive/kdenlive/kthumb.h:42: error: forward declaration of ‘struct Mlt::Frame’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:118: error: ‘format’ was not declared in this scope
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:122: warning: possible problem detected in invocation of delete operator:
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:116: warning: ‘frame’ has incomplete type
/home/dave/kdenlive/kdenlive/kthumb.h:42: warning: forward declaration of ‘struct Mlt::Frame’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:122: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:98: warning: unused variable ‘drawWidth’
Error creating ./kdenlive/trackviewvideobackgrounddecorator.o. Exit status 1.
make: *** [all] Error 1


Is there a way to resolve this?

herrej01
Registered Member
Posts
48
Karma
0

Hi,



seems that your MLT installation is not OK ! Try to reinstall in the same way as you did with kdenlive:



svn co https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt

cd mlt

./configure --enable-gpl --avformat-swscale --enable-motion-est --enable-mmx --enable-debug

make

sudo make install



svn co https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++

cd mlt++

./configure --enable-debug

make

sudo make install



and then repeat the process for kdenlive. Let me know if any problem.



Regards.

JM

ebisudave
Registered Member
Posts
87
Karma
0

JM,



Thank you for continuing to help me out with this.



I'm getting errors with installing MLT as well, so I'm going to include all the commands I used to get to the point where it breaks down. Perhaps I'm missing something still?




sudo aptitude install kdelibs4-dev libqt4-dev unsermake python2.4 libsdl-image1.2 libsdl-image1.2-dev libsdl1.2-dev libsamplerate0 libsamplerate0-dev libogg0 libogg-dev libvorbis0a libvorbis-dev libdv4 libdv4-dev libjack0.100.0 libjack0.100.0-dev sox sox-dev libxml2 libxml2-dev ladspa-sdk

cd ~

svn co svn://svn.mplayerhq.hu/ffmpeg/trunk

cd trunk

./configure --enable-gpl --enable-shared --enable-libvorbis --enable-libogg --enable-pp --enable-libmp3lame --enable-libxvid

make

sudo make install

cd ..

svn co https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt

cd mlt

./configure --enable-gpl --avformat-swscale --enable-motion-est --enable-mmx --enable-debug

make


And that's where I hit this error:




ocal/lib -L../../framework -lavformat -lavcodec -lavutil -lmlt -lswscale
/usr/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
make[2]: *** [../libmltavformat.so] Error 1
make[2]: Leaving directory `/home/dave/mlt/src/modules/avformat'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dave/mlt/src/modules'
make: *** [all] Error 1


So even though the ffmpeg installation apparently went smoothly, the MLT installation is not happy.



Is there yet still another package or configuration I am missing?



Thank you for your help and hard work.

ebisudave
Registered Member
Posts
87
Karma
0

Sorry to follow up on my own posting, but I found this web page which seemed relevant to my problem:

http://aur.archlinux.org/packages.php?do_Details=1&ID=5457&O=0&L=0&C=0&K=&SB=n&SO=a&PP=25&do_MyPackages=1&do_Orphans=&SeB=nd



So I tried compiling ffmpeg with this command:


./configure --enable-gpl --enable-shared --enable-libvorbis --enable-libogg --enable-pp --enable-libmp3lame --enable-libxvid --enable-swscaler


(Note the extra "--enable-swscaler" at the end.)



ffmpeg compiled and installed again without problems. But, MLT died at the "make" stage again, just at a different point:




cc -shared -o ../libmltsox.so factory.o filter_sox.o -lst `libst-config --libs` -L../../framework -lmlt
/usr/bin/ld: cannot find -lmad
collect2: ld returned 1 exit status
make[2]: *** [../libmltsox.so] Error 1
make[2]: Leaving directory `/home/dave/mlt/src/modules/sox'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dave/mlt/src/modules'
make: *** [all] Error 1


I hope that information helps to reveal what the problem on my machine is.



Thank you for any advice or help.

ddennedy
Registered Member
Posts
1315
Karma
1

Apparantly, 'libst-config --libs' is telling it to link with libmad, but libmad is not available. Try installing libmad package.



ebisudave
Registered Member
Posts
87
Karma
0

ddennedy,



Thank you for that tip. I installed the "libmad0-dev" package, and that finally got me through to the end the MLT installation. Then MLT++ went without a hitch.



Then I went back to try and build Kdenlive, but, unfortunately, it died again on the "make" stage. I tried to read if this latest error to see if it was yet another dependency problem, but I can't discern if that is the case.




compiling /home/dave/kdenlive/kdenlive/kdenlive.cpp
g++ -DHAVE_CONFIG_H -I./kdenlive -I/home/dave/kdenlive/kdenlive -I. -I/usr/include/kde -I/usr/share/qt3/include -I. -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c /home/dave/kdenlive/kdenlive/kdenlive.cpp -o ./kdenlive/kdenlive.o -Wp,-MD,./kdenlive/.deps/kdenlive.TUo
In file included from /home/dave/kdenlive/kdenlive/kdenlive.cpp:117:
/home/dave/kdenlive/kdenlive/trackpanelclipmovefunction.h:166:2: warning: #warning - The following method is a bad example for programming design.
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::parseProfiles()’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:308: error: ‘MLT_PREFIX’ was not declared in this scope
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::initActions()’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:802: warning: unused variable ‘projectDeleteMarkers’
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::setProjectFormat(QString)’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:2224: warning: passing ‘double’ for argument 1 to ‘static void KdenliveSettings::setDisplaywidth(int)’
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotSaveSubClip()’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:2805: warning: converting to ‘int’ from ‘double’
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotSetClipDuration()’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:3482: warning: unused variable ‘ok’
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotProjectDeleteClips(QStringList)’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:3652: warning: unused variable ‘refClip’
/home/dave/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotProjectImportCue()’:
/home/dave/kdenlive/kdenlive/kdenlive.cpp:3851: warning: converting to ‘int’ from ‘double’
Error creating ./kdenlive/kdenlive.o. Exit status 1.
make: *** [all] Error 1


On the up side, it does seem like I'm getting close.



Can anyone decipher this latest error?

herrej01
Registered Member
Posts
48
Karma
0

Hi



If your FFMPEG, MLT & MLT++ installations are OK it should not have any reason why kdenlive is not installed !!



Another try.



Open a root terminal

Go to the source directory for kdenlive (I think in your case is /home/dave/kdenlive) and do:

make clean

sh bootstrap

./configure

make

make install



If this is not working, that means you maybe still have problems with MLT. Probably it has been compiled in a wrong directory, so try to find MLT libs in /usr/lib and, i.e. inigo in /usr/bin. If you can find them there, really I'm lost, as we'll have the same configuration, so :cry:

If programs are not found, try to reinstall MLT without the --prefix option and repeat kdenlive installation.



Hope you'll be lucky now !

JB

ebisudave
Registered Member
Posts
87
Karma
0

JB,



Thank you for the help.



Unfortunately, installing with your instructions as root did not help and I got this error:




compiling /home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp
g++ -DHAVE_CONFIG_H -I./kdenlive -I/home/dave/kdenlive/kdenlive -I. -I/usr/include/kde -I/usr/share/qt3/include -I. -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c /home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp -o ./kdenlive/trackviewvideobackgrounddecorator.o -Wp,-MD,./kdenlive/.deps/trackviewvideobackgrounddecorator.TUo
In file included from /usr/local/include/mlt++/Mlt.h:24,
from /home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:29:
/usr/local/include/mlt++/MltConsumer.h:26:27: error: framework/mlt.h: No such file or directory
In file included from /usr/local/include/mlt++/Mlt.h:34,
from /home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:29:
/usr/local/include/mlt++/MltMiracle.h:24:36: error: miracle/miracle_server.h: No such file or directory
/usr/local/include/mlt++/MltMiracle.h:25:33: error: miracle/miracle_log.h: No such file or directory
In file included from /usr/local/include/mlt++/Mlt.h:43,
from /home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:29:
/usr/local/include/mlt++/MltResponse.h:24:38: error: valerie/valerie_response.h: No such file or directory
/usr/local/include/mlt++/MltProperties.h:39: error: ‘mlt_properties’ does not name a type
/usr/local/include/mlt++/MltProperties.h:44: error: expected `)' before ‘properties’
/usr/local/include/mlt++/MltProperties.h:47: error: ‘mlt_properties’ does not name a type
/usr/local/include/mlt++/MltProperties.h:64: error: ‘mlt_destructor’ has not been declared
/usr/local/include/mlt++/MltProperties.h:64: error: ‘mlt_serialiser’ has not been declared
/usr/local/include/mlt++/MltProperties.h:80: error: ‘mlt_listener’ has not been declared
/usr/local/include/mlt++/MltFrame.h:37: error: ‘mlt_frame’ does not name a type
/usr/local/include/mlt++/MltFrame.h:39: error: expected `)' before ‘frame’
/usr/local/include/mlt++/MltFrame.h:42: error: ‘mlt_frame’ does not name a type
/usr/local/include/mlt++/MltFrame.h:43: error: ‘mlt_properties’ does not name a type
/usr/local/include/mlt++/MltFrame.h:44: error: expected ‘;’ before ‘(’ token
/usr/local/include/mlt++/MltFrame.h:45: error: expected ‘;’ before ‘(’ token
/usr/local/include/mlt++/MltFrame.h:46: error: expected ‘;’ before ‘(’ token
/usr/local/include/mlt++/MltService.h:40: error: ‘mlt_service’ does not name a type
/usr/local/include/mlt++/MltService.h:44: error: expected `)' before ‘service’
/usr/local/include/mlt++/MltService.h:46: error: ‘mlt_service’ does not name a type
/usr/local/include/mlt++/MltService.h:49: error: ‘mlt_properties’ does not name a type
/usr/local/include/mlt++/MltService.h:54: error: ‘mlt_service_type’ does not name a type
/usr/local/include/mlt++/MltConsumer.h:37: error: ‘mlt_consumer’ does not name a type
/usr/local/include/mlt++/MltConsumer.h:43: error: expected `)' before ‘consumer’
/usr/local/include/mlt++/MltConsumer.h:45: error: ‘mlt_consumer’ does not name a type
/usr/local/include/mlt++/MltConsumer.h:46: error: ‘mlt_service’ does not name a type
/usr/local/include/mlt++/MltDeque.h:33: error: ‘mlt_deque’ does not name a type
/usr/local/include/mlt++/MltEvent.h:33: error: ‘mlt_event’ does not name a type
/usr/local/include/mlt++/MltEvent.h:35: error: field ‘mlt_event’ has incomplete type
/usr/local/include/mlt++/MltEvent.h:38: error: ‘mlt_event’ does not name a type
/usr/local/include/mlt++/MltField.h:39: error: ‘mlt_field’ does not name a type
/usr/local/include/mlt++/MltField.h:41: error: expected `)' before ‘field’
/usr/local/include/mlt++/MltField.h:44: error: ‘mlt_field’ does not name a type
/usr/local/include/mlt++/MltField.h:45: error: ‘mlt_service’ does not name a type
/usr/local/include/mlt++/MltFilter.h:37: error: ‘mlt_filter’ does not name a type
/usr/local/include/mlt++/MltFilter.h:42: error: expected `)' before ‘filter’
/usr/local/include/mlt++/MltFilter.h:44: error: ‘mlt_filter’ does not name a type
/usr/local/include/mlt++/MltFilter.h:45: error: ‘mlt_service’ does not name a type
/usr/local/include/mlt++/MltGeometry.h:34: error: field ‘item’ has incomplete type
/usr/local/include/mlt++/MltGeometry.h:36: error: ‘mlt_geometry_item’ does not name a type
/usr/local/include/mlt++/MltGeometry.h: In member function ‘bool Mlt::GeometryItem::key()’:
/usr/local/include/mlt++/MltGeometry.h:37: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘int Mlt::GeometryItem::frame()’:
/usr/local/include/mlt++/MltGeometry.h:38: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘void Mlt::GeometryItem::frame(int)’:
/usr/local/include/mlt++/MltGeometry.h:39: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘float Mlt::GeometryItem::x()’:
/usr/local/include/mlt++/MltGeometry.h:40: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘void Mlt::GeometryItem::x(float)’:
/usr/local/include/mlt++/MltGeometry.h:41: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘float Mlt::GeometryItem::y()’:
/usr/local/include/mlt++/MltGeometry.h:42: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘void Mlt::GeometryItem::y(float)’:
/usr/local/include/mlt++/MltGeometry.h:43: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘float Mlt::GeometryItem::w()’:
/usr/local/include/mlt++/MltGeometry.h:44: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘void Mlt::GeometryItem::w(float)’:
/usr/local/include/mlt++/MltGeometry.h:45: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘float Mlt::GeometryItem::h()’:
/usr/local/include/mlt++/MltGeometry.h:46: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘void Mlt::GeometryItem::h(float)’:
/usr/local/include/mlt++/MltGeometry.h:47: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘float Mlt::GeometryItem::mix()’:
/usr/local/include/mlt++/MltGeometry.h:48: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: In member function ‘void Mlt::GeometryItem::mix(float)’:
/usr/local/include/mlt++/MltGeometry.h:49: error: ‘item’ was not declared in this scope
/usr/local/include/mlt++/MltGeometry.h: At global scope:try to reinstall MLT without the --prefix option and repeat kdenlive installation
/usr/local/include/mlt++/MltGeometry.h:55: error: ‘mlt_geometry’ does not name a type
/usr/local/include/mlt++/MltMiracle.h:37: error: ‘miracle_server’ does not name a type
/usr/local/include/mlt++/MltMiracle.h:39: error: ‘parser_execute’ does not name a type
/usr/local/include/mlt++/MltMiracle.h:40: error: ‘parser_received’ does not name a type
/usr/local/include/mlt++/MltMiracle.h:41: error: ‘parser_push’ does not name a type
/usr/local/include/mlt++/MltMiracle.h:45: error: ‘mlt_properties’ does not name a type
/usr/local/include/mlt++/MltProducer.h:38: error: ‘mlt_producer’ does not name a type
/usr/local/include/mlt++/MltProducer.h:44: error: expected `)' before ‘producer’
/usr/local/include/mlt++/MltProducer.h:48: error: ‘mlt_producer’ does not name a type
/usr/local/include/mlt++/MltProducer.h:50: error: ‘mlt_producer’ does not name a type
/usr/local/include/mlt++/MltProducer.h:51: error: ‘mlt_service’ does not name a type
/usr/local/include/mlt++/MltMultitrack.h:38: error: ‘mlt_multitrack’ does not name a type
/usr/local/include/mlt++/MltMultitrack.h:40: error: expected `)' before ‘multitrack’
/usr/local/include/mlt++/MltMultitrack.h:44: error: ‘mlt_multitrack’ does not name a type
/usr/local/include/mlt++/MltMultitrack.h:45: error: ‘mlt_producer’ does not name a type
/usr/local/include/mlt++/MltMultitrack.h:47: error: ‘mlt_whence’ has not been declared
/usr/local/include/mlt++/MltParser.h:43: error: ‘mlt_parser’ does not name a type
/usr/local/include/mlt++/MltParser.h:48: error: ‘mlt_properties’ does not name a type
/usr/local/include/mlt++/MltPlaylist.h:41: error: expected `)' before ‘*’ token
/usr/local/include/mlt++/MltPlaylist.h:43: error: ‘mlt_playlist_clip_info’ has not been declared
/usr/local/include/mlt++/MltPlaylist.h:60: error: ‘mlt_playlist’ does not name a type
/usr/local/include/mlt++/MltPlaylist.h:65: error: expected `)' before ‘playlist’
/usr/local/include/mlt++/MltPlaylist.h:67: error: ‘mlt_playlist’ does not name a type
/usr/local/include/mlt++/MltPlaylist.h:68: error: ‘mlt_producer’ does not name a type
/usr/local/include/mlt++/MltPlaylist.h:73: error: ‘mlt_whence’ has not been declared
/usr/local/include/mlt++/MltResponse.h:31: error: ‘valerie_response’ does not name a type
/usr/local/include/mlt++/MltResponse.h:33: error: expected `)' before ‘response’
/usr/local/include/mlt++/MltResponse.h:36: error: ‘valerie_response’ does not name a type
/usr/local/include/mlt++/MltTokeniser.h:33: error: ‘mlt_tokeniser’ does not name a type
/usr/local/include/mlt++/MltTractor.h:41: error: ‘mlt_tractor’ does not name a type
/usr/local/include/mlt++/MltTractor.h:45: error: expected `)' before ‘tractor’
/usr/local/include/mlt++/MltTractor.h:49: error: ‘mlt_tractor’ does not name a type
/usr/local/include/mlt++/MltTractor.h:50: error: ‘mlt_producer’ does not name a type
/usr/local/include/mlt++/MltTransition.h:36: error: ‘mlt_transition’ does not name a type
/usr/local/include/mlt++/MltTransition.h:41: error: expected `)' before ‘transition’
/usr/local/include/mlt++/MltTransition.h:43: error: ‘mlt_transition’ does not name a type
/usr/local/include/mlt++/MltTransition.h:44: error: ‘mlt_service’ does not name a type
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp: In member function ‘virtual void Gui::TrackViewVideoBackgroundDecorator::paintClip(double, double, QPainter&, DocClipRef*, QRect&, bool)’:
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:93: warning: converting to ‘int’ from ‘double’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:96: warning: converting to ‘int’ from ‘double’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:109: error: ‘mlt_image_rgb24a’ was not declared in this scope
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:111: error: ‘mlt_image_format’ was not declared in this scope
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:111: error: expected `;' before ‘format’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:118: error: ‘class Mlt::Frame’ has no member named ‘get_image’
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:118: error: ‘format’ was not declared in this scope
/home/dave/kdenlive/kdenlive/trackviewvideobackgrounddecorator.cpp:98: warning: unused variable ‘drawWidth’
Error creating ./kdenlive/trackviewvideobackgrounddecorator.o. Exit status 1.
make: *** [all] Error 1


I have an MLT directory here:

/usr/lib/mlt

And it has one subdirectory called "modules".



I also have an "inigo" in /usr/bin.



I'm not sure what you mean by this:

Quote:
try to reinstall MLT without the --prefix option and repeat kdenlive installation


So far as I can tell, I never used a --prefix option on any of the installations.

So I guess I'm just stuck then?

herrej01
Registered Member
Posts
48
Karma
0

Hi,



as far as I understand from your error log, kdenlive is trying to find MLT in /usr/local, when you've installed it in /usr. One possible solution is reinstalling MLT using option --prefix=/usr/local, but do not know if it will work !



I'm just upgrading my computer to Gutsy, so in a few hours (if everything goes well ;) ) I'll reinstall kdenlive from scratch. If you're not yet successful, I'll take note of all steps and let you know.



Regards.

JM

ebisudave
Registered Member
Posts
87
Karma
0

JM,



Thank you for your continued help and suggestions.



Unfortunately, going back and reinstalling MLT with the "--prefix=/usr/local" option did not solve the problem. The make process for Kdenlive still dies in the same spot as I last reported.



Please do let me know if your install on Gutsy reveals any possible solutions.



Thank you.

herrej01
Registered Member
Posts
48
Karma
0

Well, here I'm again. Finally I've been able to install Gutsy (a little bit difficult to make WIFI connection work !) and also kdenlive again.



As promised, here are the steps I follow. I've been successful, so understand following them you'll be able to install also in Feisty.



1) Install from Synaptic the following packages



qt4-dev-tools, kdelibs4-dev, libsdl1.2-dev, libsdl-image1.2-dev, libsamplerate0, libsamplerate0-dev, libdv4-dev, ladspa-sdk, libjack-dev, swh-plugins, sox, sox-dev, libmad0-dev, subversion, libgsm1-dev, autotools-dev, g++, automake1.9, autoconf.



Some other packs are needed but, or are already installed by default in Ubuntu or are dependencies of the previous ones and are automatically installed by Synaptic.



2) Open a session in the root terminal and goto to /usr/src (maybe it works also in other directories, but that's where I went !)



cd /usr/src



3) Get and install FFMPEG



svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

cd ffmpeg

./configure --enable-gpl --enable-shared --enable-libvorbis --enable-libogg --enable-pp --enable-swscaler

make

make install

cd ..



4) Get and install MLT and MLT++



svn co https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt mlt

cd mlt

./configure --enable-gpl --disable-mmx --avformat-swscale --enable-motion-est

make

make install

cd ..

svn co https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++ mlt++

cd mlt++

./configure

make

make install

cd ..



(to be honest, I' using mlt version 0.2.4, not the last svn version but I think that will not be a problem. In any case, if you want to be sure download the tar file for version 0.2.4 from sourceforge, copy to /usr/src, extract it and you'll get the directory mlt-0.2.4. Then cd to this directory and configure, make and install as previously stated)



5) Get and install kdenlive



svn co https://kdenlive.svn.sourceforge.net/sv ... k/kdenlive kdenlive

cd kdenlive

sh bootstrap

./configure --enable-debug=full

make (it takes soooooooome time)

make install

cd ..



And hoops, I got it :lol:



Hope this works OK also for you. I can not see any reason why not !!!! (If you're successful, let me know and I'll include these instructions in the wiki)



Regards.

JM

ebisudave
Registered Member
Posts
87
Karma
0

JM,



Thank you for all your hard work.



Unfortunately, the new instructions did not produce better results.



Using the latest MLT checked out with svn, I got the same error when making Kdenlive that I last reported.



I tried to use MLT version 2.4 as you suggested as an alternative, but Kdenlive returned a different error when I ran make:



compiling /usr/src/kdenlive/kdenlive/kdenlive.cpp
g++ -DHAVE_CONFIG_H -I./kdenlive -I/usr/src/kdenlive/kdenlive -I. -I/usr/include/kde -I/usr/share/qt3/include -I. -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c /usr/src/kdenlive/kdenlive/kdenlive.cpp -o ./kdenlive/kdenlive.o -Wp,-MD,./kdenlive/.deps/kdenlive.TUo
In file included from /usr/src/kdenlive/kdenlive/kdenlive.cpp:117:
/usr/src/kdenlive/kdenlive/trackpanelclipmovefunction.h:166:2: warning: #warning - The following method is a bad example for programming design.
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::parseProfiles()’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:308: error: ‘MLT_PREFIX’ was not declared in this scope
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::initActions()’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:802: warning: unused variable ‘projectDeleteMarkers’
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::setProjectFormat(QString)’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:2224: warning: passing ‘double’ for argument 1 to ‘static void KdenliveSettings::setDisplaywidth(int)’
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotSaveSubClip()’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:2805: warning: converting to ‘int’ from ‘double’
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotSetClipDuration()’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:3482: warning: unused variable ‘ok’
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotProjectDeleteClips(QStringList)’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:3652: warning: unused variable ‘refClip’
/usr/src/kdenlive/kdenlive/kdenlive.cpp: In member function ‘void Gui::KdenliveApp::slotProjectImportCue()’:
/usr/src/kdenlive/kdenlive/kdenlive.cpp:3851: warning: converting to ‘int’ from ‘double’
Error creating ./kdenlive/kdenlive.o. Exit status 1.
make: *** [all] Error 1


I've noticed that at Trevino's Ubuntu Repository, http://3v1n0.tuxfamily.org/dists/feisty/3v1n0/index.html, they have updated their version of Kdenlive to .5. However, when I installed from that method, there was a dependency problem with a package called libree6.



Some of the comments on that web page indicate that this is an error, so I've added a comment asking if it can be corrected for this package. Maybe I can get Kdenlive .5 this way if they respond.

herrej01
Registered Member
Posts
48
Karma
0

Hi,



sorry but I can not be of much more help. For sure it's something wrong with your MLT installation and kdenlive can not find it, but if you've followed the steps I can not understand why :cry:



I've found another topic with the same problem. Here's the link



viewtopic.php?f=8&t=181



and maybe it can help you. But, first of all, try to make clean your mlt, mlt++ and kdenlive installations and try again. Open a root terminal, enter into the corresponding source directories and type make clean. Then follow again the steps to compile.



If none of these options work for you, I think the best you can do is install Gutsy beta (or wait a few days for the final version). Kdenlive will be found in the universe directory in version 0.5, so hope it will be enough for your needs.



Regards.

JM



Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]