On Sat, 18 Feb 2006, Xun Sun wrote:

> On 2/18/06, Davis, Jacob <[EMAIL PROTECTED]> wrote:
>
> >  -------------------
> >  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:
> [...]
>
> So your Python header files are not installed in standard location
> (assuming standard location == /usr/include/), in other words, your
> compiler (or preprocessor) won't find them by default.

Ah!  "/opt/csw/...".  Am I right in thinking that this location is used
by "blastwave" packaging of other software (e.g. python)?

If so then it is (technically) non-standard, but the overall idea of
blastwave packaging (including perhaps of heartbeat itself one day) means
that we should follow this up.  See below.


> For your situation,  I'd suggest do
>       CPPFLAGS=$CPPFLAGS -I/opt/csw/include; export CPPFLAGS;
> ./ConfigureMe configure
> instead of handcrafting the configure.in file.

A minor suggestion.  I believe that autoconf tends to encourage putting
"CPPFLAGS" (etc.) settings as part of configure itself, so that it can
maintain the information.  Something like (untested!):
  ./ConfigureMe configure "CPPFLAGS=$CPPFLAGS -I/opt/csw/include"

> If your Python libs are also in non-standard location (which is very
> likely), you may also want to add
>       LDFLAGS=$LDFLAGS -L<path to python libs>; export LDFLAGS
> into this line of command.

Probably.  Your experimentation in this area and feedback would be very
useful.  I can see considerable advantage in getting to grips with this so
that (wild speculation) a blastwave packaging of heartbeat could one day
be provided and maintained by somebody.

Let us know how you get on.  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.                  :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to