From: Спицын Андрей Date: Sun, 7 Apr 2019 22:13:50 +0000 (+0300) Subject: Finished sec:How_to_build X-Git-Tag: 2021-05~260 X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=dd65d896981d9461bdbcee243745604fe5bd1de2;p=goodguy%2Fcin-manual-latex.git Finished sec:How_to_build --- diff --git a/parts/Instalation.tex b/parts/Instalation.tex index 68b1fac..d377303 100644 --- a/parts/Instalation.tex +++ b/parts/Instalation.tex @@ -38,7 +38,6 @@ These differences make it possible to have several different versions installed -%===== \begin{enumerate} \item @@ -51,66 +50,63 @@ These differences make it possible to have several different versions installed \begin{enumerate} \item - You need at least 2.5GB of disk storage to operate a build + you need to have “\texttt{git}” installed. + You need at least 2.5\,GB of disk storage to operate a build + you need to have “\texttt{git}” installed. \item Obviously in order to install into the system, you must run as root. - \item The "\texttt{git}" step has to download many files (approx 100MB) so allow time. + \item The "\texttt{git}" step has to download many files (approx 100\,MB) so allow time. \item Run the following commands (this takes awhile): \begin{lstlisting}[language=bash] -cd // # this is where you need the 2.5GB of disk space -git clone --depth 1 "git.cinelerra-gg.org/goodguy/cinelerra.git" cinelerra5 +cd // # this is where you need the 2.5GB of disk space +git clone --depth 1 "git://git.cinelerra-gg.org/goodguy/cinelerra.git" cinelerra5 cd cinelerra5/cinelerra-5.1 # toplevel directory \end{lstlisting} - NOTE: if your system has never had Cinelerra-GG Infinity installed, you will have to make sure you - have all of the compilers and libraries necessary. So on the very first build you should run: + + NOTE: if your system has never had Cinelerra-GG Infinity installed, you will have to make sure you have all of the compilers and libraries necessary. + So on the very first build you should run: \begin{lstlisting}[language=bash] ./blds/bld_prepare.sh # where represents the Operating System of centos, fedora, suse, leap, ubuntu, debian. ./autogen.sh -./configure --prefix=/usr -# optional parameters can be added here -make 2>&1 | tee log -# make and log the build -\end{lstlisting} -\item Check for obvious build errors: - \begin{lstlisting}[language=bash] +./configure --prefix=/usr # optional parameters can be added here +make 2>&1 | tee log # make and log the build + \end{lstlisting} + \item Check for obvious build errors: + \begin{lstlisting}[language=bash] grep "\*\*\*.*error" -ai log - \end{lstlisting} - If this reports errors and you need assistance or you think improvements can be made to the build s, - email the log which is listed below to cin@lists.cinelerra-gg.org: - \begin{lstlisting}[language=bash] + \end{lstlisting} + If this reports errors and you need assistance or you think improvements can be made to the build s, + email the log which is listed below to \url{cin@lists.cinelerra-gg.org:} + \begin{lstlisting}[language=bash] //cinelerra5/cinelerra-5.1/log - \end{lstlisting} -\item If there are no build errors, finally just run: - \begin{lstlisting}[language=bash] + \end{lstlisting} + \item If there are no build errors, finally just run: + \begin{lstlisting}[language=bash] make install - \end{lstlisting} -\item If it all worked, you are all setup. Just click on the “blue lady” cinelerra desktop icon. + \end{lstlisting} + \item If it all worked, you are all setup. Just click on the cinelerra desktop icon. \end{enumerate} \paragraph{To do a single-user build,} read the \texttt{README} that is at the top level after you get the source. \begin{enumerate} - \item You need at least 2.5GB of disk storage to operate a build. Need to have “\texttt{git}” installed. + \item You need at least 2.5\,GB of disk storage to operate a build + you need to have “\texttt{git}” installed. \item Recommend you build and run as root, just to avoid permission issues initially. - \item The "\texttt{git}" step has to download a bunch of stuff (approx 100MB) so allow time. + \item The "\texttt{git}" step has to download many files (approx 100\,MB) so allow time. \item Run the following commands (this takes awhile): \begin{lstlisting}[language=bash] -cd // -# this is where you need the 2.5GB of disk space -git clone --depth 1 "git://git.cinelerra-gg.org/goodguy/cinelerra.git" cinelerra5 -cd cinelerra5/cinelerra-5.1 +cd // # this is where you need the 2.5GB of disk space +git clone --depth 1 "git://git.cinelerra-gg.org/goodguy/cinelerra.git" cinelerra5 +cd cinelerra5/cinelerra-5.1 # toplevel directory \end{lstlisting} \end{enumerate} + NOTE: if your system has never had Cinelerra-GG Infinity installed, you will have to make sure all the compilers and libraries necessary are installed. So on the very first build you should run as root: + \begin{lstlisting}[language=bash] -./blds/bld_prepare.sh # where represents the Operating System of -centos, fedora, suse, leap, ubuntu, debian. +./blds/bld_prepare.sh # where represents the Operating System of centos, fedora, suse, leap, ubuntu, debian. ./autogen.sh -./configure --with-single-user -# the “with-single-user” parameter makes it so -make 2>&1 | tee log -# make and log build (check for errors before proceeding) +./configure --with-single-user # the “with-single-user” parameter makes it so +make 2>&1 | tee log # make and log build (check for errors before proceeding) make install \end{lstlisting}