<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.7">
<TITLE>RE: [Linux-ha-dev] Re: [Linux-HA] Solaris10 x86</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Thank you all for the follow up information.<BR>
<BR>
Here is my output for "ConfigureMe configure" | grep Python.h *<BR>
<BR>
-------------------<BR>
config.log:9603:configure:41161: checking /opt/csw/include/python2.3/Python.h usability<BR>
config.log:9612:configure:41206: checking /opt/csw/include/python2.3/Python.h presence<BR>
config.log:9616:configure:41277: checking for /opt/csw/include/python2.3/Python.h<BR>
config.log:9955:ac_cv_header__opt_csw_include_python2_3_Python_h=yes<BR>
configure:41150:        #AC_CHECK_HEADER($PYTHON_HEADER_DIR/Python.h,<BR>
configure:41151:        if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then<BR>
configure:41152:  echo "$as_me:$LINENO: checking for /opt/csw/include/python2.3/Python.h" >&5<BR>
configure:41153:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6<BR>
configure:41154:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then<BR>
configure:41157:echo "$as_me:$LINENO: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5<BR>
configure:41158:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6<BR>
configure:41161:echo "$as_me:$LINENO: checking /opt/csw/include/python2.3/Python.h usability" >&5<BR>
configure:41162:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h usability... $ECHO_C" >&6<BR>
configure:41170:#include </opt/csw/include/python2.3/Python.h><BR>
configure:41206:echo "$as_me:$LINENO: checking /opt/csw/include/python2.3/Python.h presence" >&5<BR>
configure:41207:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h presence... $ECHO_C" >&6<BR>
configure:41214:#include </opt/csw/include/python2.3/Python.h><BR>
configure:41248:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&5<BR>
configure:41249:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}configure:41250:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&5<BR>
configure:41251:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&2;}<BR>
configure:41255:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&5<BR>
configure:41256:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&2;}<BR>
configure:41257:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h:     check for missing prerequisite headers?" >&5configure:41258:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     check for missing prerequisite headers?" >&2;}<BR>
configure:41259:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&5<BR>
configure:41260:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&2;}<BR>
configure:41261:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\""<BR>
>&5<BR>
configure:41262:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\"" >&2;}<BR>
configure:41263:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result" >&5<BR>
configure:41264:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result" >&2;}<BR>
configure:41265:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&5<BR>
configure:41266:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&2;}<BR>
configure:41277:echo "$as_me:$LINENO: checking for /opt/csw/include/python2.3/Python.h" >&5<BR>
configure:41278:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6<BR>
configure:41279:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then<BR>
configure:41282:  ac_cv_header__opt_csw_include_python2_3_Python_h=$ac_header_preproc<BR>
configure:41284:echo "$as_me:$LINENO: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5<BR>
configure:41285:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6<BR>
configure:41288:if test $ac_cv_header__opt_csw_include_python2_3_Python_h = yes; then<BR>
configure:41296:                $MISSING_FN "$PYTHON_HEADER_DIR/Python.h" \<BR>
configure.in:2258:      #AC_CHECK_HEADER($PYTHON_HEADER_DIR/Python.h,<BR>
configure.in:2259:      AC_CHECK_HEADER(/opt/csw/include/python2.3/Python.h,<BR>
configure.in:2262:              $MISSING_FN "$PYTHON_HEADER_DIR/Python.h" \<BR>
configure.lineno:41150: #AC_CHECK_HEADER($PYTHON_HEADER_DIR/Python.h,<BR>
configure.lineno:41151: if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then<BR>
configure.lineno:41152:  echo "$as_me:41152: checking for /opt/csw/include/python2.3/Python.h" >&5<BR>
configure.lineno:41153:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6<BR>
configure.lineno:41154:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then<BR>
configure.lineno:41157:echo "$as_me:41157: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5<BR>
configure.lineno:41158:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6<BR>
configure.lineno:41161:echo "$as_me:41161: checking /opt/csw/include/python2.3/Python.h usability" >&5<BR>
configure.lineno:41162:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h usability... $ECHO_C" >&6<BR>
configure.lineno:41170:#include </opt/csw/include/python2.3/Python.h><BR>
configure.lineno:41206:echo "$as_me:41206: checking /opt/csw/include/python2.3/Python.h presence" >&5<BR>
configure.lineno:41207:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h presence... $ECHO_C" >&6<BR>
configure.lineno:41214:#include </opt/csw/include/python2.3/Python.h><BR>
configure.lineno:41248:    { echo "$as_me:41248: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&5<BR>
configure.lineno:41249:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}<BR>
configure.lineno:41250:    { echo "$as_me:41250: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&5<BR>
configure.lineno:41251:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&2;}<BR>
configure.lineno:41255:    { echo "$as_me:41255: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&5<BR>
configure.lineno:41256:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&2;}<BR>
configure.lineno:41257:    { echo "$as_me:41257: WARNING: /opt/csw/include/python2.3/Python.h:     check for missing prerequisite headers?" >&5<BR>
configure.lineno:41258:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     check for missing prerequisite headers?" >&2;}<BR>
configure.lineno:41259:    { echo "$as_me:41259: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&5<BR>
configure.lineno:41260:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&2;}<BR>
configure.lineno:41261:    { echo "$as_me:41261: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\"" >&5<BR>
configure.lineno:41262:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\"" >&2;}<BR>
configure.lineno:41263:    { echo "$as_me:41263: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result"<BR>
>&5<BR>
configure.lineno:41264:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result" >&2;}<BR>
configure.lineno:41265:    { echo "$as_me:41265: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&5<BR>
configure.lineno:41266:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&2;}configure.lineno:41277:echo "$as_me:41277: checking for /opt/csw/include/python2.3/Python.h" >&5<BR>
configure.lineno:41278:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6<BR>
configure.lineno:41279:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then<BR>
configure.lineno:41282:  ac_cv_header__opt_csw_include_python2_3_Python_h=$ac_header_preproc<BR>
configure.lineno:41284:echo "$as_me:41284: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5<BR>
configure.lineno:41285:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6<BR>
configure.lineno:41288:if test $ac_cv_header__opt_csw_include_python2_3_Python_h = yes; then<BR>
configure.lineno:41296:                 $MISSING_FN "$PYTHON_HEADER_DIR/Python.h" \<BR>
------------------------<BR>
<BR>
Let me know if there is any other info I can supply that would be usefull.<BR>
<BR>
Thanks,<BR>
-Jake<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: David Lee [<A HREF="mailto:t.d.lee@durham.ac.uk">mailto:t.d.lee@durham.ac.uk</A>]<BR>
Sent: Fri 2/17/2006 12:10 PM<BR>
To: High-Availability Linux Development List<BR>
Cc: General Linux-HA mailing list; Davis, Jacob<BR>
Subject: Re: [Linux-ha-dev] Re: [Linux-HA] Solaris10 x86<BR>
<BR>
On Fri, 17 Feb 2006, Xun Sun wrote:<BR>
<BR>
> On 2/17/06, Xun Sun <xun.sun.cn@gmail.com> wrote:<BR>
> > Hi Davis,<BR>
> > This is a problem with our Makefile, not your missing package.<BR>
> ><BR>
> > On 2/17/06, Davis, Jacob <Jacob_Davis@sra.com> wrote:<BR>
> > > Thank you for the help.<BR>
> > > There was no AR environment variable set, but editing the libtool script as you suggested solved the AR problem.<BR>
> > ><BR>
> > > Sadly, I know have a new problem. The build continues untill I get to mgmt:<BR>
> > ><BR>
> > > ------snip--------<BR>
> > > Making all in mgmt<BR>
> > > gmake[2]: Entering directory `/root/download/heartbeat-2.0.3/lib/mgmt'<BR>
> > > source='pymgmt_wrap.c' object='_pymgmt_la-pymgmt_wrap.lo' libtool=yes \<BR>
> > > depfile='.deps/_pymgmt_la-pymgmt_wrap.Plo' tmpdepfile='.deps/_pymgmt_la-pymgmt_wrap.TPlo' \<BR>
> > > depmode=none /bin/bash ../../depcomp \<BR>
> > > /bin/bash ../../libtool  --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I../..          -I../..  -DLIBNET_LIL_ENDIAN  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2<BR>
> ><BR>
> > >-I/opt/LXHAhb/include/python2.3<BR>
> ><BR>
> > Python.h file could not be found, because /opt/LXHAhb/include/ is the<BR>
> > place where header files from heartbeat should be installed, not the<BR>
> > place to find python headers.<BR>
> ><BR>
> > I'm going to file a bug on this problem.<BR>
> ><BR>
><BR>
> It is bug 1096:<BR>
><BR>
>     <A HREF="http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=1096">http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=1096</A><BR>
<BR>
I agree it is a bug in "Makefile.am", but there may be a "configure.in"<BR>
aspect also.<BR>
<BR>
Do we want to pursue this on this list (i.e. "linux-ha-dev") or on<BR>
bugzilla?  it ought to be in a place that Jacob Davis can at least monitor<BR>
what we discuss.  (We could add his email to the bugzilla's "Cc:".)<BR>
<BR>
But for the moment, could Jacob supply the information below, please?<BR>
<BR>
Jacob:  What was your "configure" output concerning python?  Or at least<BR>
the information extracted from that:<BR>
<BR>
For instance my S10 box, which doesn't have python (actually it does, but<BR>
hidden away), and therefore tries to avoid building "mgmt" gives:<BR>
<BR>
   sol10host% grep -n Python.h *<BR>
   config.log:9944:configure:41555: checking python2.2/Python.h usability<BR>
   config.log:9946:conftest.c:172: python2.2/Python.h: No such file or directory<BR>
   config.log:10120:| #include <python2.2/Python.h><BR>
   config.log:10122:configure:41600: checking python2.2/Python.h presence<BR>
   config.log:10124:conftest.c:138: python2.2/Python.h: No such file or directory<BR>
   config.log:10264:| #include <python2.2/Python.h><BR>
   config.log:10266:configure:41671: checking for python2.2/Python.h<BR>
   config.log:10301:     python2.2/Python.h<BR>
   config.log:10643:ac_cv_header_python2_2_Python_h=no<BR>
   sol10host%<BR>
<BR>
whereas my Linux box, which does have a python, gives:<BR>
<BR>
   linuxhost% grep Python.h *<BR>
   config.log:configure:41555: checking python2.4/Python.h usability<BR>
   config.log:configure:41600: checking python2.4/Python.h presence<BR>
   config.log:configure:41671: checking for python2.4/Python.h<BR>
   config.log:ac_cv_header_python2_4_Python_h=yes<BR>
   linuxhost%<BR>
<BR>
Also, what is the path to the "Python.h" file that configure needs to be<BR>
finding?  (I'm not necessarily proposing building in this path, but rather<BR>
trying to get an understanding about how we should be looking for it and<BR>
then passing on that knowledge through the configure/make process.)<BR>
<BR>
(You're probably one of the first people in the world to be trying<BR>
heartbeat 2.0.x on Solaris 10 with Python!)<BR>
<BR>
Best wishes.<BR>
<BR>
<BR>
--<BR>
<BR>
:  David Lee                                I.T. Service          :<BR>
:  Senior Systems Programmer                Computer Centre       :<BR>
:                                           Durham University     :<BR>
:  <A HREF="http://www.dur.ac.uk/t.d.lee/">http://www.dur.ac.uk/t.d.lee/</A>            South Road            :<BR>
:                                           Durham DH1 3LE        :<BR>
:  Phone: +44 191 334 2752                  U.K.                  :<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>