Cinelerra

Building from source on Ubuntu 5.10 - Breezy

These are some notes about the compilation from source and installation of Cinelerra on linux Ubuntu 5.10 - Breezy.

The compilation as been made on a laptop in which Ubuntu was recently installed. That's the reason why there are a lot of packages to install.

Unless I say so (or if you know better of course) the packages are installed with the synaptic package manager or apt-get.

The order of the installation packages is (almost always) the order I followed as the errors were appearing to me during compilation.

If some information is wrong or doesn't make any sence please email me to:

placide@sapo.pt

cinelerra
ubuntu_logo

1.

To get the source files type in a terminal (if you don't have svn install svn-arch-mirror):

svn checkout svn://cvs.cinelerra.org/repos/cinelerra/trunk/hvirtual

This will create a directory hvirtual with all the source files inside.

2.

You'll notice that there isn't a configure file. To create one you'll need to run, when I say so, autogen.sh, but before you'll have to:

Install libtool package or you will get:

libtoolize: command not found

libtool

3.

Install automake 1.9

automake1.9

4.

install g++ compiler or you will get some error

error: C++ preprocessor "/lib/cpp" fails sanity check"

g++

5.

Install xlibs-dev or you will get

WARNING: X Windows development tools were not found.
WARNING: Please install xlib-dev or xorg-x11-devel.

xlibs-dev

6.

Install make

make

7.

install gettext or you'll get some errors while compiling po files

gettext

8.

Now we must install these two libraries from source (I installed libraw1394 even if I don't have firewire?!? I tried to disable firewire while running configure but it didn't worked).

download these 2 files:

http://www.linux1394.org/dl/libraw1394-1.2.0.tar.gz

http://www.linux1394.org/dl/libiec61883-1.0.0.tar.gz

in the same directory were you put the files you meust unter the files with thw following commands:

tar -xvzf libraw1394-1.2.0.tar.gz

tar -xvzf libiec61883-1.0.0.tar.gz

enter the directory

cd libraw1394-1.2.0

then

./configure --prefix=/usr

everything should go smoooth. then type

make

everything should go smoooth again! then

sudo make install

if you get a message like this

*******************************************

Required /dev/raw1394 device file not found

Run 'make dev' to create it.

*******************************************

then run

sudo make dev

and then again

sudo make install

Insert the password if prompted and that's it for libraw1394

Let' compile now libiec61883. Get into the libiec61883-1.0.0 directory, in my case:

cd ../libiec61883-1.0.0

then

./configure --prefix=/usr

everything should go smoooth. then type

make

everything should go smoooth again! then

sudo make install

That's it. Come to the previous directory with

cd ..

9.

Install libesd.

libesd0-dev

libesd-alsa0 (not sure about this one)

10.

Install mjpegtools

libmjpegtools0

libmjpegtools-dev

11.

Install libogg. (These format are extra cool and freeeeee). If you don't install wou'll get a...

error: Package requirements (ogg >= 1.1 vorbis vorbisenc vorbisfile theora) were not met.

libogg0 1.1.2-1

libogg-dev 1.1.2-1

libtheora0 0.0.0.alpha4-1.1

libtheora-dev 0.0.0.alpha4-1.1

libvorbis0a 1.1.0-1ubuntu1 (probably allready installed)

libvorbis-dev 1.1.0-1ubuntu1

libvorbisenc2 (probably allready installed)

libvorbisfile3 (probably allready installed)

12.

Install liba52

liba52-0.7.4

liba52-0.7.4-dev

13.

Install libfaad2-0

libfaad2-0

libfaad2-dev

14.

Install libavc1394-0

libavc1394-0

libavc1394-dev

15.

Install uuid-dev

uuid-dev

16.

Install nasm

nasm

17.

We have to compile x264 from source** (it doesn't exists in breezy 5.10)

download it from videolan.org at the following address:

ftp://ftp.videolan.org/pub/videolan/x264/snapshots/

download the latest (latest date - I gess?!?), and untar the file and compile it:

tar -xvjf x264-snapshot-20060130-2245.tar.bz2

cd x264-snapshot-20060130-2245

./configure --prefix=/usr

make

sudo make install

cd ..

**Note: if you don't want to or can't download and compile from source you can find a debian package here:

ftp://ftp.nerim.net/debian-marillat/pool/main/x/x264/

download the files

x264-bin_0.cvs20060129-0.0_i386.deb

libx264-dev_0.cvs20060129-0.0_i386.deb

then run

dpkg -i x264-bin_0.cvs20060129-0.0_i386.deb

dpkg -i libx264-dev_0.cvs20060129-0.0_i386.deb

18.

Install fftw. Download it from

http://www.fftw.org/download.html

or directly from

http://www.fftw.org/fftw-3.1.tar.gz

untar the file and compile it:

tar -xvzf fftw-3.1.tar.gz

cd fftw-3.1

./configure --prefix=/usr

make

sudo make install

cd ..

19.

Install liblame0 or else error on make

liblame-dev

20.

Install libopenexr-dev

libopenexr-dev

21.

install libasound2 or else x264 won't configure correctly (?!? crasy stuff with some $LIBS variable in the configure file)

libasound2

libasound2-dev

22.

Install libsndfile1

libsndfile1

libsndfile1-dev

23.

Install libfaac or else error on make

libfaac0

libfaac-dev

24.

Install libjpeg62 or else error on make

libjpeg62

libjpeg62-dev

25.

Install libpng12 or else error on make

libpng12

libpng12-dev

26.

Install libxxf86vm1 or else error on make

libxxf86vm1

libxxf86vm-dev

27.

Install ffmpeg or else error on make

ffmpeg

28.

Install libavcodec or else error on make

libavcodec-dev

29.

Install libtiff4 or else error on make

libtiff4

libtiff4-dev

30.

Install libfreetype6 or else error on make

libfreetype6

libfreetype6-dev

31.

Time for some serious compilation! 

Enter  the directory hvirtual and run autogen.sh

cd hvirtual

./autogen.sh

Everything should go smoothly...

32.

run configure

./configure

33.

Run make

make

if while you run make you have an error saying you have a missing .h  file it is probably because you didn't installed all the dev packages you need.

34.

Run make install

sudo make install

35.

If everything went smoothly you should be able to run cinelerra typing in a terminal

cinelerra

Enjoy this nice program. Try my Greenelerra theme here.