##
The system build

To do a system build , you should read the file README that is at the top level after you get the source.

- You need about 6.0 GB of disk storage to operate a build and you need to have git installed.

- You do not need to be root (or sudo ...) to install, except to run bld_prepare.sh which calls in the distro's package manager. However if there are problems with permissions you can try to compile as root.

- The git: step has to download many files (approx 130 MB) so allow time. When decompressed this will expand to about 530 MB.

- Run the following commands (this takes awhile):

      # This is where you need the 6.0GB of disk space:
      cd /<build_path>/
      git clone --depth 1 git://git.cinelerra-gg.org/goodguy/cinelerra.git cinelerra5
      # Change to the cloned directory:
      cd cinelerra5/cinelerra-5.1

  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:

      ./blds/bld_prepare.sh <os> # where <os> represents the
                                 # Operating System of
                                 # centos, fedora, suse, ubuntu, mint, debian, arch, debian-older, ubuntu-older.
      ./autogen.sh
      ./configure --prefix=/usr  # optional parameters can be added here
      make 2>&1 | tee log        # make and log the build

  Where <os> represents the Operating System supported by CINELERRA-GG, such as centos, fedora, suse, ubuntu, mint, or debian. bld_prepare.sh works for Arch and Gentoo with some additional information. For Arch linux, a README file containing many more dependencies is maintained. For Gentoo, a README file lists other dependencies that have to be installed manually.

  - https://cinelerra-gg.org/download/README.arch
  - https://cinelerra-gg.org/download/README.gentoo

  bld_prepare.sh option of debian-older and ubuntu-older is currently for older operating system versions since before about 06/2022.

- Check for obvious build errors:

      grep "\*\*\*.*error" -ai log

  If this reports errors and you need assistance or you think improvements can be made to the builds, email the log which is listed below to: cin@lists.cinelerra-gg.org

      /<build_path>/cinelerra5/cinelerra-5.1/log

- If there are no build errors, finally just run:

      make install

  The “with-single-user” parameter makes it so. Check for errors before proceeding.

- If it all worked, you are all setup. Just click on the CINELERRA-GG desktop icon.