[Linux-HA] Problem installing heartbeat on Solaris 10

2007-05-04 Thread Torbjörn Sjölander
Hi,

I would like to install Hearbeat 2.0.8 on Solaris 10, but always encounter 
compiling error when running make.
Seems to get stuck on native.c:

#sh ./ConfigureMe make
...
...
...
gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include 
-I../../../include -I../../../include -I../../../libltdl -I../../../libltdl 
-I../../../linux-ha -I../../../linux -ha -I../../.. 
-I../../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -W declaration-after-statement 
-Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast 
-Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-n 
onliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 
-funsigned-char -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -Wdeclaration-after-statement -Wpo 
inter-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast 
-Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security 
-Wformat-nonliteral -Wno-long-long -Wno-st rict-aliasing 
-ggdb3 -funsigned-char -MT native.lo -MD -MP -MF .deps/native.Tpo -c native.c  
-fPIC -DPIC -o .libs/native.o
native.c: In function `native_print_attr':
native.c:224: error: parse error before numeric constant
native.c:224: error: parse error before numeric constant
native.c: In function `native_print':
native.c:245: error: parse error before numeric constant
...
...
...


Any ideas?


Best regards,
Torbjörn
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Problem installing heartbeat on Solaris 10

2007-05-04 Thread Andrew Beekhof

do you have the ncurses development package installed?

On 5/4/07, Torbjörn Sjölander [EMAIL PROTECTED] wrote:

Hi,

I would like to install Hearbeat 2.0.8 on Solaris 10, but always encounter compiling 
error when running make.
Seems to get stuck on native.c:

#sh ./ConfigureMe make
...
...
...
gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include 
-I../../../include -I../../../include -I../../../libltdl -I../../../libltdl 
-I../../../linux-ha -I../../../linux -ha -I../../.. 
-I../../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -W declaration-after-statement 
-Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast 
-Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-n 
onliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 
-funsigned-char -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes -Wdeclaration-after-statement -Wpo 
inter-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast 
-Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security 
-Wformat-nonliteral -Wno-long-long -Wno-st rict-aliasing 
-ggdb3 -funsigned-char -MT native.lo -MD -MP -MF .deps/native.Tpo -c native.c  
-fPIC -DPIC -o .libs/native.o
native.c: In function `native_print_attr':
native.c:224: error: parse error before numeric constant
native.c:224: error: parse error before numeric constant
native.c: In function `native_print':
native.c:245: error: parse error before numeric constant
...
...
...


Any ideas?


Best regards,
Torbjörn
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


RE: [Linux-HA] Problem installing heartbeat on Solaris 10

2007-05-04 Thread Torbjörn Sjölander
Hi

No I have only this:
pkginfo | grep ncurses
system  SFWncur  ncurses - new curses library

And I have some trouble finding ncurses-dev/devel for Solaris.
Still trying...

Regards,
Torbjörn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Beekhof
Sent: den 4 maj 2007 15:07
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] Problem installing heartbeat on Solaris 10

do you have the ncurses development package installed?

On 5/4/07, Torbjörn Sjölander [EMAIL PROTECTED] wrote:
 Hi,

 I would like to install Hearbeat 2.0.8 on Solaris 10, but always encounter 
 compiling error when running make.
 Seems to get stuck on native.c:

 #sh ./ConfigureMe make
 ...
 ...
 ...
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include 
 -I../../../include -I../../../include -I../../../libltdl -I../../../libltdl 
 -I../../../linux-ha -I../../../linux -ha -I../../.. 
 -I../../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
 -I/usr/include/libxml2 -g -O2 -Wall -Wmissing-prototypes 
 -Wmissing-declarations -Wstrict-prototypes -W 
 declaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual 
 -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute 
 -Wformat=2 -Wformat-security -Wformat-n onliteral 
 -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -g -O2 -Wall 
 -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
 -Wdeclaration-after-statement -Wpo inter-arith 
 -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline 
 -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral 
 -Wno-long-long -Wno-st rict-aliasing -ggdb3 
 -funsigned-char -MT native.lo -MD -MP -MF .deps/native.Tpo -c native.c  -fPIC 
 -DPIC -o .libs/native.o
 native.c: In function `native_print_attr':
 native.c:224: error: parse error before numeric constant
 native.c:224: error: parse error before numeric constant
 native.c: In function `native_print':
 native.c:245: error: parse error before numeric constant
 ...
 ...
 ...


 Any ideas?


 Best regards,
 Torbjörn
 ___
 Linux-HA mailing list
 Linux-HA@lists.linux-ha.org
 http://lists.linux-ha.org/mailman/listinfo/linux-ha
 See also: http://linux-ha.org/ReportingProblems

___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Problem installing heartbeat on Solaris 10

2007-05-04 Thread David Lee
On Fri, 4 May 2007, [iso-8859-1] Torbj?rn Sj?lander wrote:

 I would like to install Hearbeat 2.0.8 on Solaris 10, but always
 encounter compiling error when running make. Seems to get stuck on
 native.c:

There are two native.c.  Presumably yours is lib/crm/pengine/native.c,
not crm/pengine/native.c.

It would be useful to see the configure output around the point it is
looking for curses.h, ncurses.h etc.

If possible could you try to debug this?  To trace through what
curses-like header (.h) files configure thinks it has found (and not
found) etc.

The whole curses/ncurses area has had a few problematical issues during
development, and there may still be issues that need attention.  In
general we have tried to ensure that configure catches problems before
compilation, to avoid such compilation problems.  Looks like there's one
that's been missed.  And there might be issues surrounding which version
of ncurses (from Blastwave/CSW? SunFreeware? home-built? etc.).

(There are relatively few Solaris users; most users and developers are
Linux people;  Solaris has the extra complication of different sources
(Blastwave, SFW, home-built, etc.) of auxiliary packages.  Thus, when
problems arise, the typical Solaris user of heartbeat has to be more
self-supporting.)

Are you able to try building the current development branch, rather than
2.0.8, in case there have been any bugfixes in this area since 2.0.8?
   http://hg.linux-ha.org/dev/archive/tip.tar.gz

If you wish, send me _off-list_ the entire output of the configure
stage, and I could try (alas with no promises) to take a look.  (Ideally
from that dev rather than 2.0.8 if reasonably possible.)


-- 

:  David LeeI.T. Service  :
:  Senior Systems ProgrammerComputer Centre   :
:  UNIX Team Leader Durham University :
:   South Road:
:  http://www.dur.ac.uk/t.d.lee/Durham DH1 3LE:
:  Phone: +44 191 334 2752  U.K.  :
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems