r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / doc / installation.html
blob1aee0228b907af587e8057b49693eed116576cc0
1 <TITLE>Secrets of Cinelerra: Installation</TITLE>
2 <CENTER>
3 <H1>Secrets of Cinelerra: Installation</H1>
4 </CENTER><P>
6 Cinelerra is best installed by downloading an RPM and running<P>
8 <B>rpm -U --force --nodeps cinelerra*.rpm</B><P>
10 on a RedHat system.<P>
12 On systems which don't support RPM look for a utility called
13 <B>rpm2cpio</B>. Download a Cinelerra RPM and from the <B>/</B>
14 directory run<P>
16 <B>rpm2cpio cinelerra*.rpm | cpio -i --make-directories</B><P>
18 It should be noted that the compiler used in building Cinelerra
19 binaries is the free GNU compiler and although it can reorder
20 instructions for Pentium I and use some the of Pentium II branch
21 instructions it's 12 years behind most modern CPUs. You can try
22 different compilers and optimization flags by compiling the source.<P>
24 Compiling the source is hard and there's no warranty if the source code
25 fails to compile, but the method for compiling starts by downloading
26 the source code and decompressing.<P>
28 <B>tar jxf cinelerra*.tar.bz2</B><P>
30 Enter the cinelerra directory<P>
32 <B>cd cinelerra</B><P>
34 and set some environment variables. For Pentium II use:<P>
36 <B>export CFLAGS='-O3 -march=i686 -fmessage-length=0 -funroll-all-loops -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -I/usr/local/include'</B><P>
38 For Pentium I and old AMD's use:<P>
40 <B>export CFLAGS='-O3 -fmessage-length=0 -funroll-all-loops -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -I/usr/local/include'</B><P>
42 Then run<P>
44 <B>make</B><P>
46 The make procedure should run through all the directories and put
47 binaries in the <B>i686</B> directories. When we originally supported
48 Alpha it was convenient to compile Alpha and i686 binaries
49 simultaneously, in different directories.<P>
51 Once finished run<P>
53 <B>make install</B><P>
55 to install the binaries. The output goes as follows:<P>
57 Binaries -> <B>/usr/bin</B><BR>
58 Plugins -> <B>/usr/lib/cinelerra</B><P>
60 The main binaries are the Cinelerra executable and several utilities
61 for reading MPEG transport streams.<P>
63 Run Cinelerra by running<P>
65 <B>/usr/bin/cinelerra</B><P>