Mailing List Archive

Anyone successfully install PAcemaker/Corosync on Freebsd?
Hi All,

just curious if anyone has had any luck at one point installing
Pacemaker and Corosync on FreeBSD.

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@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.

thanks in advance
-mgb
_______________________________________________
Linux-HA mailing list is closing down.
Please subscribe to users@clusterlabs.org instead.
http://clusterlabs.org/mailman/listinfo/users
_______________________________________________
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
Re: Anyone successfully install PAcemaker/Corosync on Freebsd? [ In reply to ]
The real answer is that you possibly don't want to dive into that. FreeBSD
is not supported by pacemaker/corosync and, I don't think you'd like to do
the porting yourself.

The 'pkg-config' in FreeBSD was replaced by 'pkgconf', so you need to
install 'pkgconf' to get the desired binary. But that would be only the
beginning of a long journey...

You may take a look onto /usr/ports/sysutils/heartbeat as an older, but
ported variant of clustering software. Still, most of the code and OCF
resources are written with Linux in mind, so possibly won't work on FreeBSD.

Wish you good luck,
Timur Bakeyev.



On Sat, Dec 19, 2015 at 11:47 PM, mike <mgbutler@nbnet.nb.ca> wrote:

> Hi All,
>
> just curious if anyone has had any luck at one point installing Pacemaker
> and Corosync on FreeBSD.
>
> 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@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.
>
> thanks in advance
> -mgb
> _______________________________________________
> Linux-HA mailing list is closing down.
> Please subscribe to users@clusterlabs.org instead.
> http://clusterlabs.org/mailman/listinfo/users
> _______________________________________________
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
_______________________________________________
Linux-HA mailing list is closing down.
Please subscribe to users@clusterlabs.org instead.
http://clusterlabs.org/mailman/listinfo/users
_______________________________________________
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
Re: Anyone successfully install PAcemaker/Corosync on Freebsd? [ In reply to ]
Moving to users@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@...> and Ruben Kerkhof <ruben@...>
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@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.
>
> thanks in advance
> -mgb

--
: Lars Ellenberg
: http://www.LINBIT.com
_______________________________________________
Linux-HA mailing list is closing down.
Please subscribe to users@clusterlabs.org instead.
http://clusterlabs.org/mailman/listinfo/users
_______________________________________________
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
Re: Anyone successfully install PAcemaker/Corosync on Freebsd? [ In reply to ]
> On 10 Feb 2016, at 09:47, Lars Ellenberg <lars.ellenberg@linbit.com> wrote:
>
>
> Moving to users@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@...> and Ruben Kerkhof <ruben@...>
> 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@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
_______________________________________________
Linux-HA mailing list is closing down.
Please subscribe to users@clusterlabs.org instead.
http://clusterlabs.org/mailman/listinfo/users
_______________________________________________
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha