Building heartbeat on Solaris is always a pain. This time it took 4 hours for heartbeat 2.1.3 on x86 Solaris 10.
Needed packages (from Sunfreeware):
autoconf-2.65-sol10-x86-local
automake-1.11-sol10-x86-local
bison-2.4.1-sol10-x86-local
coreutils-8.1-sol10-x86-local
db-4.2.52.NC-sol10-intel-local
flex-2.5.35-sol10-x86-local
gcc-3.3.2-sol10-intel-local
glib-2.20.4-sol10-x86-local
gmp-4.2.1-sol10-x86-local
libgcc-3.4.6-sol10-x86-local
libiconv-1.11-sol10-x86-local
libintl-3.4.0-sol10-x86-local
libnet-1.1.2.1-sol10-x86-local
libsigsegv-2.6-sol10-x86-local
libtool-2.2.6b-sol10-x86-local
m4-1.4.12-sol10-x86-local
make-3.81-sol10-x86-local
pkgconfig-0.23-sol10-x86-local
Create file /usr/local/bin/gnome-config
:
#!/bin/sh
echo "-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -L/usr/local/lib -lglib-2.0"
chmod +x /usr/local/bin/gnome-config
Fix gcc headers:
cd /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/install-tools/
./mkheaders
Fix hardcoded paths:
ln -s /bin/perl /usr/local/bin/perl
ln -s /usr/local/bin/true /usr/local/bin/python
Patch lib/clplumbing/cl_reboot.c
according to this thread.
Build package:
export LD_LIBRARY_PATH=/usr/local/lib
./ConfigureMe package --disable-crm --disable-lrm --disable-dopd
Install it:
cd pkg/packages/
pkgadd -d . LXHAhb