Cfengine configuration directory

Compilation / running problems on sparcstations

Relevant classes: solaris

Older sparc stations use an architecture called Version 8, while new ones have Version 8+. With newer gcc compilers, version 8+ code is automatically generated, but this will not run on older architectures.
./cfagent
Cannot run binary file
To make a compatible version for older systems, you need to specify the compiler option -mv8, i.e.
configure
make CFLAGS="-g -O2 -mv8"
make install
You must also make sure that all libraries are compiled with version 8 support! OpenSSL is a bit weird:

./Configure solaris-sparcv8-gcc

make install

Back to documentation