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

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.

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

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?

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

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.

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.

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

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?

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

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?

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

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.

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

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.

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

Happily, I can report some progress.

Something in the thread you suggested I look at triggered an idea that I should have had earlier. I still had MLT version 2.2 installed from a previous installation of Kdenlive .4. I had assumed that installing MLT 4.2 with svn would overwrite it, but apparently not.

So, I removed MLT 2.2, and then did the whole process again, and Kdenlive .5 installed!

But, I'm not out of the woods yet.

I think it's not installing in the right place or something. At first I was checking out the svn into /usr/src, and installing from there, but I couldn't find the bin file to execute kdenlive. So then I downloaded kdenlive into my home directory. Then I found that kdenlive was installing into the same directory it is compiling in. So, to start kdenlive, I have to go to /home/dave/kdenlive/kdenlive and run ./kdenlive. That doesn't seem right somehow.

In any case, when I try running it, I get this error at the command line:

~/kdenlive/kdenlive$ ./kdenlive
kbuildsycoca running...
kdenlive:  + + YOUR MLT INSTALL WAS FOUND IN: /usr/local
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
kdenlive: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file kdenliveui.rc
KCrash: Application 'kdenlive' crashing...

And then the "KDE Crash Handler" shows me this error:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234889008 (LWP 23268)]
[KCrash handler]
#6  0xb701b07b in QMenuData::insertAny () from /usr/lib/libqt-mt.so.3
#7  0xb701b865 in QMenuData::insertItem () from /usr/lib/libqt-mt.so.3
#8  0x0814bd65 in KdenliveApp (this=0x82c14c8, newDoc=false, parent=0x0, 
    name=0x0) at /home/dave/kdenlive/kdenlive/kdenlive.cpp:235
#9  0x0819a795 in main (argc=136645868, argv=0xbfc964f4)
    at /home/dave/kdenlive/kdenlive/main.cpp:94

Is there something I should know about how and where to install Kdenlive so that it's in the right directory?

Do the errors above indicate what I can do to get Kdenlive to work?

Hi,

well, it seems you're near the end :)

No matter from where you install kdenlive (home, /usr/src, ...) if you follow the instructions the kdenlive binary should be installed in /usr/bin, so you can find it there.

If it's not there, that means something is wrong with the installation or you've defined another path (this is, i.e. what the script you tried in the first message is doing). If this is the case, kdenlive needs to know the right path for the rest of programs or it will not run.

My recommendation is to start again from scratch (please do make clean before !! in all directories) and check that kdenlive has been installed in the right directory.

Regards and good luck !
JM

JM,

Total success! From a slightly different angle, though.

I had posted a question about Kdenlive on a thread in the Ubuntu forums, and someone suggested a way to get Kdenlive from the Gutsy repository onto a Feisty version of Ubuntu:
http://ubuntuforums.org/showthread.php?p=3500669&posted=1#post3500669

It worked perfectly. I now have Kdenlive running, and at this very moment I'm trying out a test rendering to see if some issues in 0.4 have been corrected. So far it looks great, and Kdenlive is definitely still the best video editor on Linux.

But I do have a question still. The version number I see in the repository is 0.5. But when I open Kdenlive and look under "Help->About", it says it's version 0.6svn.

Is it possible that somehow the svn installs I've been doing, as reported in this thread, have somehow combined with, or in some other way affected my installation?

Or is it that I'm just unclear on the numbering for the different versions?