[Linux-HA] Solaris10 x86

Davis, Jacob Jacob_Davis at sra.com
Wed Feb 15 10:49:07 MST 2006

If I just try ./ConfigureMe with no arguments I just get this usage warning.

-bash-3.00# ./ConfigureMe

Configure flags for Solaris: --disable-ldirectord --prefix=/opt/LXHAhb --sysconf dir=/etc/opt/LXHAhb --localstatedir=/var/opt/LXHAhb --with-pkgname=LXHAhb

Usage: ./ConfigureMe [configure|make|install|dist|distcheck|package|flags|bootst rap]

./ConfigureMe configures the system with options that match common conventions
associated with this machine (i.e. Solaris)

It will also build, make, install or create packages for the
build environment.

./ConfigureMe does not know how to create packages for every environment,
nor is the information on "common conventions" necessarily correct.
Patches to this process are solicited -- especially in these areas.

If I try "./ConfigureMe configure --disable-ldirectord" as I did before, it seems to complete ok with the following outtput.

heartbeat configuration:
  Version              = "2.0.3"
  Executables          = "/opt/LXHAhb/sbin"
  Man pages            = "/opt/LXHAhb/man"
  Libraries            = "/opt/LXHAhb/lib"
  Header files         = "/opt/LXHAhb/include"
  Data files           = "/opt/LXHAhb/share"
  State information    = "/var/opt/LXHAhb"
  System configuration = "/etc/opt/LXHAhb"
  Init (rc) scripts    = "/etc/init.d"
  Use system LTDL      = "yes"
  HA group name        = "haclient"
  HA group id          = "65"
  HA user name         = "hacluster"
  HA user user id      = "17"
  Build snmp subagent  = "no"
  SNMP libraries       = ""
  ucd_snmp_devel name  = ""
  Build New CRM        = "yes"
  Build New LRM        = "yes"
  Build Ldirectord     = "no"
  Build CIM providers  = "no"
  CC_WARNINGS          = " -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing  "
  Mangled CFLAGS       = "-g -O2  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigned-char"
  Libraries            = "-lbz2 -lz -lHBAAPI -lc -luuid -lrt -ldl -lc -lposix4 -lsocket -lnsl  -lltdl"

But "./ConfiggureMe make" still bombs on libreplace.


-----Original Message-----
From: linux-ha-bounces at lists.linux-ha.org on behalf of Soffen, Matthew
Sent: Wed 2/15/2006 10:09 AM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] Solaris10 x86
When you do ./ConfigureMe   ( and nothing else )

What happens ?   It looks as if you haven't built the dependency libs
( or the make file ). 


On Wed, 2006-02-15 at 10:06 -0500, Davis, Jacob wrote:

> Hello,
> I know from searching around that this topic has been covered before,
> but I can't seem to locate a source for explicit directions on building
> heartbeat-2.x on Solaris (including what dependencies are required and
> were to get them).
> I have installed gcc, glib2, gmake and automake dependencies from
> blastwave.org but running "./ConfigureMe make" still returns the
> following error. It's not clear to me what the hangup is. I'm trying to
> build v2.0.3.
> -------snip----------
> Making all in replace
> gmake[1]: Entering directory `/root/download/heartbeat-2.0.3/replace'
> /bin/bash ../libtool  --tag=CC --mode=link gcc  -g -O2  -Wall
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align
> -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2
> -Wformat-security -Wformat-nonliteral -Wno-long-long
> -Wno-strict-aliasing   -ggdb3 -funsigned-char   -o libreplace.la
> NoSuchFunctionName.lo strnlen.lo strndup.lo daemon.lo -lbz2 -lz -lHBAAPI
> -lc -luuid -lrt -ldl -lc -lposix4 -lsocket -lnsl  -lltdl
> false cru .libs/libreplace.a .libs/NoSuchFunctionName.o .libs/strnlen.o
> .libs/strndup.o .libs/daemon.o
> gmake[1]: *** [libreplace.la] Error 1
> gmake[1]: Leaving directory `/root/download/heartbeat-2.0.3/replace'
> gmake: *** [all-recursive] Error 1
> --------snip---------
> Any pointers to relevant info would be greatly appreciated.
> Thanks,
> -Jake
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20060215/b82fe0ed/attachment.html>

More information about the Linux-HA mailing list