[Linux-ha-dev] Re: [Linux-HA] Solaris10 x86

Davis, Jacob Jacob_Davis at sra.com
Fri Feb 17 12:20:57 MST 2006


Thank you all for the follow up information.

Here is my output for "ConfigureMe configure" | grep Python.h *

-------------------
config.log:9603:configure:41161: checking /opt/csw/include/python2.3/Python.h usability
config.log:9612:configure:41206: checking /opt/csw/include/python2.3/Python.h presence
config.log:9616:configure:41277: checking for /opt/csw/include/python2.3/Python.h
config.log:9955:ac_cv_header__opt_csw_include_python2_3_Python_h=yes
configure:41150:        #AC_CHECK_HEADER($PYTHON_HEADER_DIR/Python.h,
configure:41151:        if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then
configure:41152:  echo "$as_me:$LINENO: checking for /opt/csw/include/python2.3/Python.h" >&5
configure:41153:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6
configure:41154:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then
configure:41157:echo "$as_me:$LINENO: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5
configure:41158:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6
configure:41161:echo "$as_me:$LINENO: checking /opt/csw/include/python2.3/Python.h usability" >&5
configure:41162:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h usability... $ECHO_C" >&6
configure:41170:#include </opt/csw/include/python2.3/Python.h>
configure:41206:echo "$as_me:$LINENO: checking /opt/csw/include/python2.3/Python.h presence" >&5
configure:41207:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h presence... $ECHO_C" >&6
configure:41214:#include </opt/csw/include/python2.3/Python.h>
configure:41248:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
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
configure:41251:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&2;}
configure:41255:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&5
configure:41256:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&2;}
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;}
configure:41259:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&5
configure:41260:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&2;}
configure:41261:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\""
>&5
configure:41262:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\"" >&2;}
configure:41263:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result" >&5
configure:41264:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result" >&2;}
configure:41265:    { echo "$as_me:$LINENO: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&5
configure:41266:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&2;}
configure:41277:echo "$as_me:$LINENO: checking for /opt/csw/include/python2.3/Python.h" >&5
configure:41278:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6
configure:41279:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then
configure:41282:  ac_cv_header__opt_csw_include_python2_3_Python_h=$ac_header_preproc
configure:41284:echo "$as_me:$LINENO: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5
configure:41285:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6
configure:41288:if test $ac_cv_header__opt_csw_include_python2_3_Python_h = yes; then
configure:41296:                $MISSING_FN "$PYTHON_HEADER_DIR/Python.h" \
configure.in:2258:      #AC_CHECK_HEADER($PYTHON_HEADER_DIR/Python.h,
configure.in:2259:      AC_CHECK_HEADER(/opt/csw/include/python2.3/Python.h,
configure.in:2262:              $MISSING_FN "$PYTHON_HEADER_DIR/Python.h" \
configure.lineno:41150: #AC_CHECK_HEADER($PYTHON_HEADER_DIR/Python.h,
configure.lineno:41151: if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then
configure.lineno:41152:  echo "$as_me:41152: checking for /opt/csw/include/python2.3/Python.h" >&5
configure.lineno:41153:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6
configure.lineno:41154:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then
configure.lineno:41157:echo "$as_me:41157: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5
configure.lineno:41158:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6
configure.lineno:41161:echo "$as_me:41161: checking /opt/csw/include/python2.3/Python.h usability" >&5
configure.lineno:41162:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h usability... $ECHO_C" >&6
configure.lineno:41170:#include </opt/csw/include/python2.3/Python.h>
configure.lineno:41206:echo "$as_me:41206: checking /opt/csw/include/python2.3/Python.h presence" >&5
configure.lineno:41207:echo $ECHO_N "checking /opt/csw/include/python2.3/Python.h presence... $ECHO_C" >&6
configure.lineno:41214:#include </opt/csw/include/python2.3/Python.h>
configure.lineno:41248:    { echo "$as_me:41248: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&5
configure.lineno:41249:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
configure.lineno:41250:    { echo "$as_me:41250: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&5
configure.lineno:41251:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the compiler's result" >&2;}
configure.lineno:41255:    { echo "$as_me:41255: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&5
configure.lineno:41256:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: present but cannot be compiled" >&2;}
configure.lineno:41257:    { echo "$as_me:41257: WARNING: /opt/csw/include/python2.3/Python.h:     check for missing prerequisite headers?" >&5
configure.lineno:41258:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     check for missing prerequisite headers?" >&2;}
configure.lineno:41259:    { echo "$as_me:41259: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&5
configure.lineno:41260:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: see the Autoconf documentation" >&2;}
configure.lineno:41261:    { echo "$as_me:41261: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\"" >&5
configure.lineno:41262:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h:     section \"Present But Cannot Be Compiled\"" >&2;}
configure.lineno:41263:    { echo "$as_me:41263: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result"
>&5
configure.lineno:41264:echo "$as_me: WARNING: /opt/csw/include/python2.3/Python.h: proceeding with the preprocessor's result" >&2;}
configure.lineno:41265:    { echo "$as_me:41265: WARNING: /opt/csw/include/python2.3/Python.h: in the future, the compiler will take precedence" >&5
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
configure.lineno:41278:echo $ECHO_N "checking for /opt/csw/include/python2.3/Python.h... $ECHO_C" >&6
configure.lineno:41279:if test "${ac_cv_header__opt_csw_include_python2_3_Python_h+set}" = set; then
configure.lineno:41282:  ac_cv_header__opt_csw_include_python2_3_Python_h=$ac_header_preproc
configure.lineno:41284:echo "$as_me:41284: result: $ac_cv_header__opt_csw_include_python2_3_Python_h" >&5
configure.lineno:41285:echo "${ECHO_T}$ac_cv_header__opt_csw_include_python2_3_Python_h" >&6
configure.lineno:41288:if test $ac_cv_header__opt_csw_include_python2_3_Python_h = yes; then
configure.lineno:41296:                 $MISSING_FN "$PYTHON_HEADER_DIR/Python.h" \
------------------------

Let me know if there is any other info I can supply that would be usefull.

Thanks,
-Jake



-----Original Message-----
From: David Lee [mailto:t.d.lee at durham.ac.uk]
Sent: Fri 2/17/2006 12:10 PM
To: High-Availability Linux Development List
Cc: General Linux-HA mailing list; Davis, Jacob
Subject: Re: [Linux-ha-dev] Re: [Linux-HA] Solaris10 x86
 
On Fri, 17 Feb 2006, Xun Sun wrote:

> On 2/17/06, Xun Sun <xun.sun.cn at gmail.com> wrote:
> > Hi Davis,
> > This is a problem with our Makefile, not your missing package.
> >
> > On 2/17/06, Davis, Jacob <Jacob_Davis at sra.com> wrote:
> > > Thank you for the help.
> > > There was no AR environment variable set, but editing the libtool script as you suggested solved the AR problem.
> > >
> > > Sadly, I know have a new problem. The build continues untill I get to mgmt:
> > >
> > > ------snip--------
> > > Making all in mgmt
> > > gmake[2]: Entering directory `/root/download/heartbeat-2.0.3/lib/mgmt'
> > > source='pymgmt_wrap.c' object='_pymgmt_la-pymgmt_wrap.lo' libtool=yes \
> > > depfile='.deps/_pymgmt_la-pymgmt_wrap.Plo' tmpdepfile='.deps/_pymgmt_la-pymgmt_wrap.TPlo' \
> > > depmode=none /bin/bash ../../depcomp \
> > > /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
> >
> > >-I/opt/LXHAhb/include/python2.3
> >
> > Python.h file could not be found, because /opt/LXHAhb/include/ is the
> > place where header files from heartbeat should be installed, not the
> > place to find python headers.
> >
> > I'm going to file a bug on this problem.
> >
>
> It is bug 1096:
>
>     http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=1096

I agree it is a bug in "Makefile.am", but there may be a "configure.in"
aspect also.

Do we want to pursue this on this list (i.e. "linux-ha-dev") or on
bugzilla?  it ought to be in a place that Jacob Davis can at least monitor
what we discuss.  (We could add his email to the bugzilla's "Cc:".)

But for the moment, could Jacob supply the information below, please?

Jacob:  What was your "configure" output concerning python?  Or at least
the information extracted from that:

For instance my S10 box, which doesn't have python (actually it does, but
hidden away), and therefore tries to avoid building "mgmt" gives:

   sol10host% grep -n Python.h *
   config.log:9944:configure:41555: checking python2.2/Python.h usability
   config.log:9946:conftest.c:172: python2.2/Python.h: No such file or directory
   config.log:10120:| #include <python2.2/Python.h>
   config.log:10122:configure:41600: checking python2.2/Python.h presence
   config.log:10124:conftest.c:138: python2.2/Python.h: No such file or directory
   config.log:10264:| #include <python2.2/Python.h>
   config.log:10266:configure:41671: checking for python2.2/Python.h
   config.log:10301:     python2.2/Python.h
   config.log:10643:ac_cv_header_python2_2_Python_h=no
   sol10host%

whereas my Linux box, which does have a python, gives:

   linuxhost% grep Python.h *
   config.log:configure:41555: checking python2.4/Python.h usability
   config.log:configure:41600: checking python2.4/Python.h presence
   config.log:configure:41671: checking for python2.4/Python.h
   config.log:ac_cv_header_python2_4_Python_h=yes
   linuxhost%

Also, what is the path to the "Python.h" file that configure needs to be
finding?  (I'm not necessarily proposing building in this path, but rather
trying to get an understanding about how we should be looking for it and
then passing on that knowledge through the configure/make process.)

(You're probably one of the first people in the world to be trying
heartbeat 2.0.x on Solaris 10 with Python!)

Best wishes.


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:                                           Durham University     :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :


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


More information about the Linux-HA mailing list