[ClusterLabs] [Linux-HA] Anyone successfully install PAcemaker/Corosync on Freebsd?

Ruben Kerkhof ruben at rubenkerkhof.com
Wed Feb 10 09:53:58 UTC 2016


> On 10 Feb 2016, at 09:47, Lars Ellenberg <lars.ellenberg at linbit.com> wrote:
> 
> 
> Moving to users at clusterlabs.org.
> 
> On Sat, Dec 19, 2015 at 06:47:54PM -0400, mike wrote:
>> Hi All,
>> 
>> just curious if anyone has had any luck at one point installing
>> Pacemaker and Corosync on FreeBSD.
> 
> According to pacemaker changelog, at least
> David Shane Holden <dpejesh at ...> and Ruben Kerkhof <ruben at ...>
> have been submitting pull requests recently with freebsd compat fixes,
> maybe they can help?
> 
>   Lars
> 
>> I've run into an issue when running ./configure while trying to
>> install Corosync. The process craps out at nss with this error:
>> checking for nss... configure: error: in `/root/heartbeat/corosync-2.3.3':
>> configure: error: The pkg-config script could not be found or is too
>> old. Make sure it
>> is in your PATH or set the PKG_CONFIG environment variable to the full
>> path to pkg-config.​
>> Alternatively, you may set the environment variables nss_CFLAGS
>> and nss_LIBS to avoid the need to call pkg-config.
>> See the pkg-config man page for more details.
>> 
>> I've looked unsuccessfully for a package called pkg-config and nss
>> appears to be installed as you can see from this output:
>> root at wellesley:~/heartbeat/corosync-2.3.3 # pkg install nss
>> Updating FreeBSD repository catalogue...
>> FreeBSD repository is up-to-date.
>> All repositories are up-to-date.
>> Checking integrity... done (0 conflicting)
>> The most recent version of packages are already installed
>> 
>> Anyway - just looking for any suggestions. Hoping that perhaps
>> someone has successfully done this.

For some reason pkg-config is called pkgconf on FreeBSD.
Latest master compiles fine now, you will need to do ./configure MAKE=gmake however.

>> 
>> thanks in advance
>> -mgb
> 
> -- 
> : Lars Ellenberg
> : http://www.LINBIT.com

Kind regards,

Ruben Kerkhof



More information about the Users mailing list