Size: 2406
Comment:
|
Size: 2247
Comment: Added how to add line to sysctl
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
Line 8: | Line 7: |
Line 11: | Line 11: |
The above workaround does not survive a reboot. A permanent fix is to add the following line to /etc/sysctl.conf: | |
Line 12: | Line 13: |
The above workaround does not survive a reboot. A permanent fix is to add the following line to /etc/sysctl.conf: | |
Line 16: | Line 16: |
To do this, open a terminal (KMenu->System->Konsole), then type : | |
Line 17: | Line 18: |
>>> I'd love to do that but despite this easiness I lack the knowledge how to "add a line" to somewhere, in this case to /etc/sysctl.conf. Should I go to that folder through GUI and add those lines or should it be done by command line with proper yet unknown commands? Making things easy for beginners it would be a great help to use common language. <<< | {{{ cd /etc sudo kate sysctl.conf}}} Then enter your password if sudo asks for it. Finally, just copy & paste the line into kate. |
Line 20: | Line 24: |
Line 61: | Line 64: |
The quickest way to install the dependencies is save them in a file like "apts", and then issue the following command as root: | |
Line 62: | Line 66: |
The quickest way to install the dependencies is save them in a file like "apts", and then issue the following command as root: | |
Line 66: | Line 69: |
Line 68: | Line 70: |
Line 72: | Line 73: |
Line 75: | Line 77: |
Then | |
Line 76: | Line 79: |
Then | |
Line 83: | Line 85: |
You can run Cinelerra by typing | |
Line 84: | Line 87: |
You can run Cinelerra by typing | |
Line 89: | Line 91: |
Line 92: | Line 95: |
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 libpng-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
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
You can run Cinelerra by typing
cinelerra
or start it from
Applications > Sound & Video > Cinelerra
Enjoy!!!