Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents

Build tips

Diagnosing errors building rpms

First tip is to make sure all the files needed to build are in the tarball. Often, this is the problem. If files are not missing, and you want to re-run the specific build commands that failed you must first enter the build environment using a chroot shell. Run this command altering the -r centos-5-x86_64 parameter to your desired distribution id.

Code Block

mock --configdir=mak/mock -r centos-5-x86_64 --shell
mock-chroot> cd /builddir/build/BUILD/*/
make

Then you can look around and try to find the issue with make. To exit, simple type "exit".

Separating binaries from source

...