Post thumbnail of Build source rpms with Mock to avoid compiler problems
2 December 2010
Continue reading Build source rpms with Mock to avoid compiler problems

Build source rpms with Mock to avoid compiler problems

If you’ve ever run into a dreaded configure problem such as C compiler cannot create executables, and gotten lost in a tangle of glibc/cc/g++ packages, you might find that building source rpms using Mock turns a multi-step process into a breezy single step. Build source rpms using mock which builds inside a chroot. This lets you compile 32-bit on 64-bit without a problem. Check out mock configurations in etc. You may have preconfigured configurations for your Linux distribution.

Post thumbnail of Useful YUM Variables
17 June 2010
Continue reading Useful YUM Variables

Useful YUM Variables

The following is a list of variables you can use for both yum commands and yum configuration files.

Post thumbnail of Build noarch RPM packages when architecture matters not
1 June 2010
Continue reading Build noarch RPM packages when architecture matters not

Build noarch RPM packages when architecture matters not

With rpmbuild, you can make custom packages for any architecture, but what if there’s no difference between the architectures in what you’re building. If you’re copying around something like scripts, docs or other text files that have nothing to do with 32 vs 64 bit or endianness, it’s easier and more efficient to create a single noarch package and just keep one copy of it in a repository.

Post thumbnail of ld-linux.so.2 bad elf interpreter
8 February 2010
Continue reading ld-linux.so.2 bad elf interpreter

ld-linux.so.2 bad elf interpreter

Death by Dynamically linked libraries. The binary file was compiled with the dependency of one or more shared libraries. The libraries needed by the application you’re trying to execute are not included in the binary itself, they have to reside on your system.

Powered by Wordpress   |   Lunated designed by ZenVerse