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

Simple kdenlive builter script - version 2.0

Tags: None
(comma "," separated)
herrej01
Registered Member
Posts
48
Karma
0

Hi all,



I'm experiencing some problems trying to build kdenlive with the script. I'm receiving the following message:



install -m 644 producers.dat filters.dat transitions.dat consumers.dat "~/build/kdenlive.2007-08-03_18_39/share/mlt/modules"

install: el destino, `~/build/kdenlive.2007-08-03_18_39/share/mlt/modules', no es un directorio

make[1]: *** [install] Error 1

make[1]: se sale del directorio `/usr/src/mlt/src/modules'



It's saying destination ~/build/kdenlive.2007-08-03_18_39/share/mlt/modules is not a directory and then exiting /usr/src/mlt/src/modules with error 1.



Don't know if somebody has reported this error yet, as I've been out for some days. If so, sorry !



Any clue ?



Regards. Joan

amonsul
Registered Member
Posts
21
Karma
0

Hi all!



I have feisty 32bit and im trying to install kdenlive 0.6. I have autoconf 2.63 but when i build the sources i get this error:



make[1]: Verlasse Verzeichnis '/home/amonsul/Desktop/mlt++/test'
Bootstrap is now trying to create a ./configure script suitable for Kdenlive
WARNING: running bootstrap is only usefull when checking out Kdenlive from CVS.

./admin/cvs.sh: 651: --version: not found
*** AUTOCONF NOT FOUND!.
*** KDE requires autoconf 2.53 or newer
make: *** [cvs] Fehler 1
amonsul@amonsul-desktop:~/Desktop$


Someone could help me?

Bye :)



eljefe
Registered Member
Posts
59
Karma
0

I too am trying to install the SVN and getting failures on Kubuntu 7.10 (Gutsy); here is my output:

...
...
...
GPL License Used
list='src/framework src/inigo src/valerie src/miracle src/humperdink src/albino src/modules profiles'; \
for subdir in $list; do \
make -s -C $subdir depend || exit 1; \
make -C $subdir all || exit 1; \
done
make[1]: Entering directory `/home/eljefe/KDEnlive_SVN/mlt/src/framework'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eljefe/KDEnlive_SVN/mlt/src/framework'
make[1]: Entering directory `/home/eljefe/KDEnlive_SVN/mlt/src/inigo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eljefe/KDEnlive_SVN/mlt/src/inigo'
make[1]: Entering directory `/home/eljefe/KDEnlive_SVN/mlt/src/valerie'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eljefe/KDEnlive_SVN/mlt/src/valerie'
make[1]: Entering directory `/home/eljefe/KDEnlive_SVN/mlt/src/miracle'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eljefe/KDEnlive_SVN/mlt/src/miracle'
make[1]: Entering directory `/home/eljefe/KDEnlive_SVN/mlt/src/humperdink'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eljefe/KDEnlive_SVN/mlt/src/humperdink'
make[1]: Entering directory `/home/eljefe/KDEnlive_SVN/mlt/src/albino'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eljefe/KDEnlive_SVN/mlt/src/albino'
cc: error trying to exec 'cc1plus': execvp: No such file or directory
cc: error trying to exec 'cc1plus': execvp: No such file or directory
cc: error trying to exec 'cc1plus': execvp: No such file or directory
cc: error trying to exec 'cc1plus': execvp: No such file or directory
cc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [depend] Error 1
make[1]: *** [depend] Error 1
make: *** [all] Error 1
eljefe@eljefe-desktop:~/KDEnlive_SVN$
herrej01
Registered Member
Posts
48
Karma
0

Hi,



be sure you've installed 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.



I think the one you miss is the bold one (g++), but to be sure check them all !!!



Regards.

JM

ebisudave
Registered Member
Posts
87
Karma
0

The script works for me right up until almost the very end. But I get a "permission denied" error:



install -d "/home/dave/build/kdenlive.2007-12-12_00_07/include/mlt++"
install -m 644 config.h Mlt.h MltConsumer.h MltDeque.h MltEvent.h MltFactory.h MltField.h MltFilter.h MltFilteredConsumer.h MltFrame.h MltGeometry.h MltMiracle.h MltMultitrack.h MltParser.h MltPlaylist.h MltProducer.h MltProperties.h MltPushConsumer.h MltResponse.h MltService.h MltTokeniser.h MltTractor.h MltTransition.h "/home/dave/build/kdenlive.2007-12-12_00_07/include/mlt++"
/sbin/ldconfig || true
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[1]: Leaving directory `/home/dave/kdenlive_builder/mlt++/src'
make -C test install
make[1]: Entering directory `/home/dave/kdenlive_builder/mlt++/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/dave/kdenlive_builder/mlt++/test'
sh: Can't open bootstrap


I don't think I want to run this script as root, so how do I get by this error?



By the way, I'm on Ubuntu Gutsy 7.10. The version in the repositories is not working for me (as I've mentioned in another thread), so I'd like to try installing from source and see if that works better.



Thank you for any advice.

espinosa_cz
Registered Member
Posts
118
Karma
0
OS

Ignore this

/sbin/ldconfig || true
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied


This is not a real error. Libs and executables are instructed by LD_RUN_PATH where to get other libs so calling ldconfig gives no sense in case of kdenlive_build script.

You should not run the script as root.

ebisudave
Registered Member
Posts
87
Karma
0

Espinoza,



Thank you for replying.



Okay, so the permission denied error is a red herring.



But, it seems nonetheless that something is wrong because when it is finished, there is no Kdenlive folder or executable in the install directory.

cinemanna
Registered Member
Posts
19
Karma
0

i am using the script but it stops at this


make[1]: Leaving directory `/home/maz/build/kdenlive/ffmpeg/libswscale'
make: *** No rule to make target `/home/maz/ffmpeg/libavformat/avformat.h', needed by `ffmpeg.o'. Stop.


libavformat and dev files are installed: locate shows these files-

/usr/lib/libavformat.so

/usr/lib/libavformat.so.51

/usr/lib/pkgconfig/libavformat.pc

/usr/lib/libavformat.so.1d.51.10.0

/usr/lib/libavformat.so.1d

/usr/lib/libavformat.so.51.11.0

/usr/lib/libavformat.a

/usr/lib/libavformat.so.50



/usr/include/ffmpeg/avformat.h



What could be going wrong?

(Using ubuntu 7.10)



diffid
Registered Member
Posts
40
Karma
0

For me on Ubuntu 7.10 I'm getting this from SVN checkout:



allcodecs.c: In function ‘avcodec_register_all’:

allcodecs.c:214: error: ‘ENABLE_PCM_S16LE_PLANAR_DECODER’ undeclared (first use in this function)

allcodecs.c:214: error: (Each undeclared identifier is reported only once

allcodecs.c:214: error: for each function it appears in.)

allcodecs.c:292: error: ‘ENABLE_MLP_PARSER’ undeclared (first use in this function)

make[1]: *** [allcodecs.o] Error 1



cinemanna
Registered Member
Posts
19
Karma
0

my problem of ./configure not finding avformat.h was solved by adding to configure the path to ffmpeg (svn compile directory). Still the script does not function smoothly...needs much looking into and fixing things...



espinosa_cz
Registered Member
Posts
118
Karma
0
OS

cinemanna wrote:
i am using the script but it stops at this


make[1]: Leaving directory `/home/maz/build/kdenlive/ffmpeg/libswscale'
make: *** No rule to make target `/home/maz/ffmpeg/libavformat/avformat.h', needed by `ffmpeg.o'. Stop.


libavformat and dev files are installed: locate shows these files-

/usr/lib/libavformat.so

/usr/include/ffmpeg/avformat.h



What could be going wrong?

(Using ubuntu 7.10)



All your builded stuff (libs, executables) is in /home/maz/build/kdenlive and nowhere else.

Locate found your system /usr/lib/* ffmpeg libs. Ignore this.

Don't use locate, it is capable to look inside standard directories only (unless specially set and reindexed). Rather use Beagle or Strigi or some modern search tool ;) You don't need locate or similar anyway all is under /home/maz/build/kdenlive it simply cannot be simpler :)



Don't delete any library as was suggested, there may be other dependent programs on it. You can break your system!

Kdenlive build script was designed precisely for isolastion of developer svn version libraries from interfering with rest of your system.

So that is why everything under /home/maz/build/kdenlive



The error reported is weird. Try to check out sources again. Check if svn checkout finished OK and all files got downloaded. Try never ffmpeg version. They can have bugs too. Or look for specific Ubuntu & FFmpeg issues on this and other forums.

eljefe
Registered Member
Posts
59
Karma
0

so, if people are still compiling recent builds with a working script that doesn't require root access, can someone post it? the last one i saw wanted my root account to install :(

amonsul
Registered Member
Posts
21
Karma
0

Hi!



Could someone tell me whats the problem here?

Thanks!




amonsul@amonsul:~/kdenlive$ sudo ./kdenlive_builder.sh clean
Makefile:5: config.mak: No such file or directory
cc -I -I -I/libavutil -I/libavcodec -I/libavformat -I/libswscale -I/libavdevice -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H -MM vhook/fish.c vhook/null.c vhook/watermark.c vhook/drawtext.c vhook/imlib2.c vhook/ppm.c | sed 's,^\([a-z]\),vhook/\1,' > .vhookdep
vhook/fish.c:47:23: Fehler: framehook.h: No such file or directory
vhook/fish.c:48:21: Fehler: dsputil.h: No such file or directory
vhook/fish.c:49:22: Fehler: avformat.h: No such file or directory
vhook/fish.c:50:21: Fehler: swscale.h: No such file or directory
vhook/null.c:23:23: Fehler: framehook.h: No such file or directory
vhook/null.c:24:21: Fehler: swscale.h: No such file or directory
vhook/watermark.c:61:20: Fehler: common.h: No such file or directory
vhook/watermark.c:62:22: Fehler: avformat.h: No such file or directory
vhook/watermark.c:64:23: Fehler: framehook.h: No such file or directory
vhook/watermark.c:65:22: Fehler: cmdutils.h: No such file or directory
vhook/watermark.c:66:21: Fehler: swscale.h: No such file or directory
vhook/drawtext.c:48:23: Fehler: framehook.h: No such file or directory
vhook/drawtext.c:61:10: Fehler: #include erwartet "DATEINAME" oder
vhook/drawtext.c:62:10: Fehler: #include erwartet "DATEINAME" oder
vhook/imlib2.c:48:23: Fehler: framehook.h: No such file or directory
vhook/imlib2.c:49:21: Fehler: swscale.h: No such file or directory
vhook/imlib2.c:61:18: Fehler: eval.h: No such file or directory
vhook/ppm.c:28:23: Fehler: framehook.h: No such file or directory
vhook/ppm.c:29:22: Fehler: avformat.h: No such file or directory
vhook/ppm.c:30:21: Fehler: swscale.h: No such file or directory
vhook/ppm.c:31:22: Fehler: avstring.h: No such file or directory
/version.sh
make: /version.sh: Kommando nicht gefunden
make: *** Keine Regel, um »config.mak« zu erstellen. Schluss.
Makefile:27: config.mak: No such file or directory
make: *** Keine Regel, um »config.mak« zu erstellen. Schluss.
Makefile:1: config.mak: No such file or directory
make: *** Keine Regel, um »config.mak« zu erstellen. Schluss.
make: *** Keine Regel, um »clean« zu erstellen. Schluss.
amonsul@amonsul:~/kdenlive$ sudo ./kdenlive_builder.sh build
Unknown option "--enable-libogg".
See ./configure --help for available options.
amonsul@amonsul:~/kdenlive$



cinemanna
Registered Member
Posts
19
Karma
0

thanks espinosa. will attempt again with your guidelines. the safety of everything being in the build directory will let my 0.5 install work so i can 'risk' trying svn.....:-)



User avatar
int_ua
Registered Member
Posts
20
Karma
0
Is this script still suitable for debugging or is there any other better choice?
I just tried it and latest ffmpeg config doesn't have --enable-swscaler option, only disable-

./kdenlive_builder.sh build
Unknown option "--enable-swscaler".

cd ffmpeg/ && ./configure --help | grep scale
--disable-swscale disable libswscale build
--enable-gray enable full grayscale support (slower color)
--disable-swscale-alpha disable alpha channel support in swscale

Will try to comment it out.


P.S.
./kdenlive_builder.sh info
FFmpeg SVN version:
Revision: 25683
Last Changed Date: 2010-11-06 18:48:41 +0200 (Sat, 06 Nov 2010)
MLT SVN version:
Revision: 1500
Last Changed Date: 2009-05-15 12:19:09 +0300 (Fri, 15 May 2009)
MLT++ SVN version:
Revision: 1500
Last Changed Date: 2009-04-15 09:36:02 +0300 (Wed, 15 Apr 2009)
Kdenlive SVN version:
Revision: 5075
Last Changed Date: 2010-11-06 02:22:25 +0200 (Sat, 06 Nov 2010)


Bookmarks



Who is online

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