blog/content/blog/2012/11/2012-11-07_cfengine3-install-on-centos-5-7.rst
2022-10-17 00:08:58 -04:00

44 lines
1.4 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CFEngine3 Install on CentOS 5.7
###############################
:date: 2012-05-25 03:57
:author: tyrel
:category: outdated
:tags: cfengine, centos
:slug: cfengine3-install-on-centos-5-7
:status: published
| Today I was tasked with installing CFEngine3 on CentOS-5.7 (A little outdated). When installing CFEngine-3.3.1 I kept getting an error that I couldnt find libtokyocabinet.so.9. I had to set my prefix to /usr/ because the location that tokyocabinet was installing my libraries to was not being read by CFEngines make script.
| To do this (I am using tokyocabinet 1.4.47)
.. code:: console
wget http://fallabs.com/tokyocabinet/tokyocabinet-1.4.47.tar.gz
tar -xzvf tokyocabinet-1.4.47.tar.gz
cd tokyocabinet-1.4.47/
./configure --prefix=/usr/
make
sudo make install
Then I was able to ./configure && make && make install cfengine3 without any problems.
So my overall script looked something like this:
.. code:: console
wget http://fallabs.com/tokyocabinet/tokyocabinet-1.4.47.tar.gz
tar -xzvf tokyocabinet-1.4.47.tar.gz
cd tokyocabinet-1.4.47/
./configure --prefix=/usr/
make
sudo make install
.. code:: console
wget http://cfengine.com/source-code/download?file=cfengine-3.3.1.tar.gz
tar -xzvf cfengine-3.3.1.tar.gz
cd cfengine-3.3.1
./configure
make
sudo make install
sudo cp /var/cfengine/bin/cf-* /usr/bin/