Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2007-10-20 12:39:00
Size: 1746
Editor: anonymous
Comment: Instructions on downloading, building, installing and running Cinelerra, from zero to hero
Revision 10 as of 2007-12-08 10:06:47
Size: 3282
Editor: anonymous
Comment: Change dependency libpng-dev to libpng12-dev
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Linux usually has an issue with memory allocation, whereby you get a weird warning about shmmax.
Line 5: Line 6:
Issue the following command: As a workaround for the current boot session, issue the following command as root:
Line 7: Line 9:
sudo echo "0x7fffffff" >/proc/sys/kernel/shmmax echo "0x7fffffff" >/proc/sys/kernel/shmmax
Line 9: Line 11:
This sorts out the wierd warning you get about shmmax The above workaround does not survive a reboot. A permanent fix is to add the following line to /etc/sysctl.conf:

{{{
kernel.shmmax = 2147483647
}}}
To do this, open a terminal (KMenu->System->Konsole), then type :

{{{
cd /etc
sudo kate sysctl.conf}}}
Then enter your password if sudo asks for it. Finally, just copy & paste the line into kate.
Line 12: Line 24:
Line 31: Line 42:
libpng-dev libpng12-dev
Line 52: Line 63:
texi2html
Line 53: Line 65:
The quickest way to install the dependencies is save them in a file like "apts", and then issue the following command as root:
Line 54: Line 67:
The quickest way to install the dependencies is save them in a file like "apts", and then issue the following command as root:
Line 56: Line 68:
sudo xargs apt-get install -y <apts xargs apt-get install -y <apts
Line 58: Line 70:
Line 60: Line 71:
You don't need root privileges to perform the following.
Line 63: Line 74:
Line 66: Line 78:
Then
Line 67: Line 80:
Then
Line 74: Line 86:
>>> I had some problems with the procedure above and had to do a few extra things. Here is my whole procedure (didnt replace the original in case not everyone needs to do what I did) :

{{{
cd hvirtual
./autogen.sh
./configure
touch po/de.gmo
touch po/es.gmo
touch po/eu.gmo
touch po/fr.gmo
touch po/it.gmo
touch po/pt_BR.gmo
touch po/sl.gmo
make
sudo make install
sudo ldconfig
}}}
I worked out i had to use autogen, touching was suggested [http://64.233.183.104/search?q=cache:qbAc52iUJ4wJ:https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2004-October/002586.html+cannot+stat+`t-de.gmo'&hl=en&ct=clnk&cd=1&gl=uk here] (though I had to do more files than suggested) and ldconfig was suggested [https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2005-June/003648.html here]. The touching is probably not the best solution (which would be to find the actual files from a different SVN branch I guess) but it does get make to work.<<<
Line 76: Line 106:
Line 80: Line 111:
Line 83: Line 115:
>>> Mine was in Multimedia (not Sound & Video). <<<

This page describes how to build Cinelerra on a brand spanking new Gutsy box, and tested with Cinelerra-CV subversion revision 1036.

Shmmax

Linux usually has an issue with memory allocation, whereby you get a weird warning about shmmax.

As a workaround for the current boot session, issue the following command as root:

echo "0x7fffffff" >/proc/sys/kernel/shmmax

The above workaround does not survive a reboot. A permanent fix is to add the following line to /etc/sysctl.conf:

kernel.shmmax = 2147483647

To do this, open a terminal (KMenu->System->Konsole), then type :

cd /etc
sudo kate sysctl.conf

Then enter your password if sudo asks for it. Finally, just copy & paste the line into kate.

Dependencies

In previous versions of Ubuntu, there was a reliance on external repositories, and a few other packages that you had to build yourself. Fortunately, this no longer seems necessary. The following packages should be sufficient (there may be the stray unnecessary package - but you might as well install everything anyway) to build Cinelerra from a fresh install of Gutsy:

g++
git-core
cogito
subversion
automake
libtool
nasm
x11proto-xf86vidmode-dev
libxv-dev
libxxf86vm-dev
libogg-dev
libvorbis-dev
libtheora-dev
libopenexr-dev
libdv-dev
libpng12-dev
libjpeg62-dev
libtiff4-dev
libfreetype6-dev
libsndfile1-dev
uuid-dev
libasound2-dev
libavutil-dev
libmpeg3-dev
libavcodec-dev
libx264-dev
libfaac-dev
libmjpegtools-dev
fftw3
fftw3-dev
liba52-0.7.4-dev
liblame-dev
libfaad2-dev
libesd0-dev
libiec61883-dev
libavc1394-dev
texi2html

The quickest way to install the dependencies is save them in a file like "apts", and then issue the following command as root:

xargs apt-get install -y <apts

Downloading, building and running

You don't need root privileges to perform the following.

You can download the latest version of Cinelerra by typing:

svn checkout svn://svn.skolelinux.org/cinelerra/trunk/hvirtual

Then

cd hvirtual
./configure
make
sudo make install

>>> I had some problems with the procedure above and had to do a few extra things. Here is my whole procedure (didnt replace the original in case not everyone needs to do what I did) :

cd hvirtual
./autogen.sh
./configure
touch po/de.gmo
touch po/es.gmo
touch po/eu.gmo
touch po/fr.gmo
touch po/it.gmo
touch po/pt_BR.gmo
touch po/sl.gmo
make
sudo make install
sudo ldconfig

I worked out i had to use autogen, touching was suggested [http://64.233.183.104/search?q=cache:qbAc52iUJ4wJ:https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2004-October/002586.html+cannot+stat+`t-de.gmo'&hl=en&ct=clnk&cd=1&gl=uk here] (though I had to do more files than suggested) and ldconfig was suggested [https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2005-June/003648.html here]. The touching is probably not the best solution (which would be to find the actual files from a different SVN branch I guess) but it does get make to work.<<<

You can run Cinelerra by typing

cinelerra

or start it from

Applications > Sound & Video > Cinelerra

>>> Mine was in Multimedia (not Sound & Video). <<<

Enjoy!!!

cinelerra/Gutsy (last edited 2008-06-26 09:56:06 by anonymous)