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

Build script with instructions (NEW)

Tags: None
(comma "," separated)
ddennedy
Registered Member
Posts
1315
Karma
1

Build script with instructions (NEW)

Sat Mar 05, 2011 11:48 pm
This is a new version of the build script that was born out of the old Kdenlive Build Wizard and published as a standalone Bash script elsewhere here on the forum. I am not maintaining the script and making the latest version available for download from the MLT wiki:

http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts#Kdenlive


waynevid
Registered Member
Posts
118
Karma
0
I keep getting this error when trying to rerun the Builder script.

LOG: About to run command: git reset --hard
HEAD is now at c76374c Use AVERROR_EXIT with url_interrupt_cb.
LOG: About to run command: git --no-pager pull git://git.ffmpeg.org/ffmpeg.git master
fatal: The remote end hung up unexpectedly
ERROR: Unable to git pull sources for ffmpeg
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to git pull sources for ffmpeg

The first time I ran the script, everything worked and I was able to compile successfully. Subsequent runs failed with the same error message. I've tried this on 2 different computers without success. Is this a problem with ffmpeg, my computers, or the script?

waynevid


ddennedy
Registered Member
Posts
1315
Karma
1
Your script is outdated due to the ffmpeg git repo location changing. Please download a new version. Also, 'rm -rf src/ffmpeg' from the location where you are placing and running the script.


waynevid
Registered Member
Posts
118
Karma
0
Thanks for the tip. I downloaded the new script, removed the src/ffmpeg directory, then ran it. However, I now get the following error on both computers:

[AS] vp8/encoder/x86/sad_mmx.asm.o
[AS] vp8/encoder/x86/dct_mmx.asm.o
[AS] vp8/encoder/x86/subtract_mmx.asm.o
[AS] vp8/encoder/x86/dct_sse2.asm.o
[AS] vp8/encoder/x86/variance_impl_sse2.asm.o
[AS] vp8/encoder/x86/sad_sse2.asm.o
[AS] vp8/encoder/x86/fwalsh_sse2.asm.o
[AS] vp8/encoder/x86/quantize_sse2.asm.o
[AS] vp8/encoder/x86/subtract_sse2.asm.o
vp8/encoder/x86/quantize_sse2.asm:153: error: expected `]'
make[1]: *** [vp8/encoder/x86/quantize_sse2.asm.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [.DEFAULT] Error 2
ERROR: Unable to build libvpx
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build libvpx

---------------------------------------

What does expected `]' mean?

Thanks,
waynevid


hatsch
Registered Member
Posts
5
Karma
0
same problem here. there seems to be an issue with the master branch of libvpx and --enable-shared as a configure option. at least it compiles without that option.
issue to follow: http://code.google.com/p/webm/issues/detail?id=309
waynevid
Registered Member
Posts
118
Karma
0
Yes, you are correct. It compiles after removing the --enable-shared option.

waynevid


hatsch
Registered Member
Posts
5
Karma
0
i changed the configuration variable in the build script to

LIBVPX_HEAD=bali

now the script works again. i'll keep that until the bug in libvpx master isn't resolved.
waynevid
Registered Member
Posts
118
Karma
0
Did you change all of the other LIBVPX_HEAD variables and did you put the --enable-shared option back in after doing that?

waynevid


markoc
Registered Member
Posts
342
Karma
1
After using the build script successfully a few times (last time was 20110427), i ran into a problem today....

After successfull compilation of ffmpeg, frei0r and mlt, it aborts soon after starting to compile Kdenlive, like this:



Generating positionedit.moc
Generating projectlist.moc
Generating complexparameter.moc
Generating customruler.moc
Generating timecodedisplay.moc
Generating kdenlivesettingsdialog.moc
/home/mc/kdenlive/src/kdenlive/thumbnailer/westleypreview.cpp: In static member function 'static uint MltPreview::imageVariance(QImage)':
/home/mc/kdenlive/src/kdenlive/thumbnailer/westleypreview.cpp:133:20: error: 'class QVarLengthArray' has no member named 'at'
/home/mc/kdenlive/src/kdenlive/thumbnailer/westleypreview.cpp:139:42: error: 'class QVarLengthArray' has no member named 'at'
Generating KoSliderCombo.moc
make[2]: *** [thumbnailer/cmake_bindir/CMakeFiles/westleypreview.dir/westleypreview.o] Error 1
make[1]: *** [thumbnailer/cmake_bindir/CMakeFiles/westleypreview.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Generating profilesdialog.moc
Generating onmonitorcornersitem.moc
Generating slideshowclip.moc
Generating effectslistwidget.moc
Generating dragvalue.moc
Generating wizard.moc
Linking CXX executable kdenlive_render
Generating monitormanager.moc
[ 12%] Built target kdenlive_render
Generating graphicsscenerectmove.moc
Generating headertrack.moc
Generating geometrywidget.moc
Generating renderer.moc
Generating mainwindow.moc
Generating monitor.moc
Generating clipdurationdialog.moc
Generating trackdialog.moc
Generating beziersplinewidget.moc
Generating audiosignal.moc
Generating clipproperties.moc
Generating unicodedialog.moc
Generating kdenlivedoc.moc
Generating statusbarmessagelabel.moc
Generating splineitem.moc
Generating simpletimelinewidget.moc
Generating cliptranscode.moc
Generating colorpickerwidget.moc
Generating keyframeedit.moc
Generating doubleparameterwidget.moc
Generating clipitem.moc
Generating kis_curve_widget.moc
Generating transitionsettings.moc
Generating simplekeyframewidget.moc
Generating trackview.moc
Generating recmonitor.moc
Generating markerdialog.moc
Generating managecapturesdialog.moc
Generating effectslistview.moc
Generating projectlistview.moc
Generating effectstackview.moc
Generating documentchecker.moc
Generating cornerswidget.moc
Generating rotowidget.moc
Generating smallruler.moc
Generating keyframehelper.moc
Generating tracksconfigdialog.moc
Generating moc_transition.cpp
Generating moc_mltdevicecapture.cpp
Generating moc_stopmotion.cpp
Generating moc_effectstackedit.cpp
Generating moc_jogaction.cpp
Generating moc_capturehandler.cpp
Generating moc_spectrogram.cpp
Generating moc_videoglwidget.cpp
Generating moc_clipmanager.cpp
Generating moc_dvdwizardmenu.cpp
Generating moc_dvdwizardchapters.cpp
Generating moc_titlewidget.cpp
Generating moc_jogshuttle.cpp
Generating moc_capture.cpp
Generating moc_abstractgfxscopewidget.cpp
Generating moc_parameterplotter.cpp
Generating moc_vectorscopegenerator.cpp
Generating moc_audiospectrum.cpp
Generating moc_docclipbase.cpp
Generating moc_archivewidget.cpp
Generating moc_geometryval.cpp
Generating moc_colorplaneexport.cpp
Generating moc_dvdwizardvob.cpp
Generating moc_renderwidget.cpp
Generating moc_abstractaudioscopewidget.cpp
Generating moc_dvdwizard.cpp
Generating moc_encodingprofilesdialog.cpp
Generating moc_abstractscopewidget.cpp
Generating moc_colortools.cpp
Generating moc_abstractmonitor.cpp
Generating moc_abstractclipitem.cpp
Generating moc_noteswidget.cpp
Generating moc_customtrackview.cpp
Generating moc_vectorscope.cpp
Generating moc_waveformgenerator.cpp
Generating moc_abstractgroupitem.cpp
Generating moc_initeffects.cpp
Generating moc_waveform.cpp
Generating moc_histogram.cpp
[ 12%] Built target kdenlive_automoc
make: *** [all] Error 2
ERROR: Unable to build kdenlive
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build kdenlive
mc@mcpc14:~/kdenlive>


Any ideas what could have gone wrong here?



j-b-m
Registered Member
Posts
804
Karma
1
Should be fixed now in svn, please try again.
markoc
Registered Member
Posts
342
Karma
1
Thanks, compiles OK now.
AlexK
Registered Member
Posts
31
Karma
0
The build script site is having troubles:
http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts

...gives a 503.

I'm trying to use kdenlive (0.8) on AV Linux 5.0. Version 0.8 has errors, and AV Linux is based on Debian stable, and needs *not* to have changed repositories. The build script looks to be the perfect solution. But I cannot get it!

Any other sources for the script?
AlexK
Registered Member
Posts
31
Karma
0
I found the original script:
http://www.kdenlive.org/forum/kdenlive-0771-and-078-simultaneously

It needs the ffmpeg git repository changing:

# REPOLOCS[0]="git://git.ffmpeg.org/ffmpeg.git"
# 2011-06-21 ffmpeg git repo changed
REPOLOCS[0]="git://git.videolan.org/ffmpeg.git"

I was feeling very pleased with myself (and congrats for an excellent piece of work in the script) until it hit the git repo for mlt:

KBWLOG: About to run command: git --no-pager clone git://mltframework.org/mlt.git
Cloning into mlt...

Well, not at the moment it will not. Continuous 503 errors on MLT, for hours & hours. Bugger!

Any mirror git repos for MLT that I can trust?
AlexK
Registered Member
Posts
31
Karma
0
mltframework.org is back. Thank you Thank you Thank you!

I had been attempting to use git://anonscm.debian.org/pkg-kde/krap/mlt.git (which contains neither source code nor, not too surprisingly, a configure script) when I checked for the umpteenth time & it was back. Have now downloaded version 11 build-kdenlive.sh, and will soon find out just how good your bash skills are (!) (looks good so far).

Many thanks, and glad (for you, as well as me) that you got it back.
AlexK
Registered Member
Posts
31
Karma
0
Error compiling swfdec:

Requested 'cairo >= 1.9.4' but version of cairo is 1.8.10
Requested 'cairo-png >= 1.9.4' but version of cairo-png is 1.8.10

My distribution is from the AV Linux 5.0 DVD, which is based on Debian Squeeze (stable). The updated packages are within Sid (unstable). Naturally, if I attempt to do that, numerous other packages will be removed / updated. I suspect that I am going to land in dependency hell (been there, done that, no more thanks).

(as I am about to type this, I know it to be a lame question)

swfdec + lame are not within the earlier build-kdenlive.sh, and are also not mentioned on the install-from-source page:
http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source

Is either actually *required* to build kdenlive? If so, is there a method to also build cairo in the same manner, so that kdenlive & associated routines will refer to it & not to the locally-installed libraries? I'm not experienced enough with compiling to be able to answer that question, though I'm very happy to hack the build script, using the existing code as a template.

Ah well.


Bookmarks



Who is online

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