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

Kubuntu 8.04 KDE4 building problem [Resolved]

Tags: None
(comma "," separated)
eljefe
Registered Member
Posts
59
Karma
0

Running Kubuntu 8.04 with KDE4 but the packages are out of date (KDEnlive is from December 2007, that is too old for me!)



Using the script here viewtopic.php?f=8&t=339&start=30#p1677 I am able to successfully compile FFMPEG it looks like, but I get stuck when it comes to MLT. Here is my terminal output:



cc -shared -o ../libmltdv.so factory.o producer_libdv.o consumer_libdv.o `pkg-config --libs libdv` -L../../framework -lmlt
make[2]: Leaving directory `/home/eljefe/kdenlive080412/src/mlt/src/modules/dv'
make[2]: Entering directory `/home/eljefe/kdenlive080412/src/mlt/src/modules/avformat'
cc -Wall -fPIC -DPIC -O4 -pipe -fomit-frame-pointer -ffast-math -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -I/home/eljefe/kdenlive080412/build/include -I../.. -DSWSCALE -c -o factory.o factory.c
factory.c:34:22: error: avformat.h: No such file or directory
factory.c: In function ‘avformat_init’:
factory.c:90: warning: implicit declaration of function ‘av_register_all’
factory.c:92: warning: implicit declaration of function ‘av_log_set_level’
make[2]: *** [factory.o] Error 1
make[2]: Leaving directory `/home/eljefe/kdenlive080412/src/mlt/src/modules/avformat'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/eljefe/kdenlive080412/src/mlt/src/modules'
make: *** [all] Error 1
eljefe@eljefe-desktop:~/kdenlive080412$


My source and build directories are "/home/eljefe/kdenlive080412/src/" and "..../build" and I don't want anything installed system-wide. Anyone having these issues or have suggestions for fixing them? A google search for "factory.c:34:22: error: avformat.h: No such file or directory" brings up this *buntu, MLT-specific thread but I don't understand what it is saying: http://ubuntuforums.org/archive/index.php/t-721374.html



Additionally, does anyone know how we could make *buntu packages of these so that users wouldn't have to build this every time to get a newer version of these apps than the *buntu devs provide?

eljefe
Registered Member
Posts
59
Karma
0

I've been able to successfully build with Espinosa's updated 'classic' script, located here:

viewtopic.php?f=8&t=516#p1810



So consider this issue closed. Espinosa, thank you for your commitment to the community forums and the application!



Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]