ConfD User Community

How to install ConfD in a cross-compilation environment?


#1

The default behavior of the ConfD installer checks whether the binary being installed matches the machine architecture being installed in. It will fail if a mismatch occurs, such as when installing the PowerPC binary on a Mac, as follows:

$ sh ./confd-basic-5.4.linux.powerpc.installer.bin ~/confd-basic-5.4
INFO  Unpacked confd-basic-5.4 in ~/confd-basic-5.4

ARCHITECTURE MISMATCH

It appears that you are installing a 32-bit ConfD package
on a 64-bit system. Please use the corresponding 64-bit
ConfD package instead.

ERROR ** Aborting installation.

To install ConfD in a cross-compilation environment, you can use the —force flag as follows:

sh ./confd-basic-5.4.linux.powerpc.installer.bin —force ~/confd-basic-5.4

INFO  Unpacked confd-basic-5.4 in ~/confd-basic-5.4
INFO  Found and unpacked corresponding DOCUMENTATION_PACKAGE
INFO  Found and unpacked corresponding EXAMPLE_PACKAGE
INFO  Generating default SSH hostkey (this may take some time)
INFO  SSH hostkey generated
INFO  Environment set-up generated in ~/confd-basic-5.4/confdrc
INFO  ConfD installation script finished