On Fri, 2008-11-21 at 10:04 +0000, David Lee wrote:
> On Fri, 21 Nov 2008, Tobias Appel wrote:
> 
> > On Thu, 2008-11-20 at 21:40 +0900, HIDEO YAMAUCHI wrote:
> >
> >> I made a source code of GUI latest.
> >> I confirmed an error same as you.
> >>
> >> However, the error is broken off if I put a libpacemaker-devel package.
> >> Did you install a libpacemaker-devle package?
> >
> > I really did forget to install this package, only had the pygui-devel
> > package. I did so this morning but I still receive an error when trying
> > to compile, but this time it's different:
> >
> > gcc -I/usr/include/heartbeat -I/usr/include/pacemaker -fgnu89-inline
> > -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> > -Wdeclaration-after-statement -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 -Werror -ansi
> > -D_GNU_SOURCE -DANSI_ONLY -ggdb3 -funsigned-char -o .libs/mgmtd
> > mgmtd.o  ../../lib/mgmt/.libs/libhbmgmtclient.so -L/lib
> > -L/usr/lib/openais ../../lib/mgmt/.libs/libhbmgmttls.so 
> > ./.libs/libhbmgmt.so 
> > /root/Pacemaker-Python-GUI-1bcbdb6cc281/lib/mgmt/.libs/libhbmgmttls.so 
> > -lgnutls -lcib -lcrmcommon -lapphb -lpe_status -lhbclient -lccmclient -lclm 
> > -lSaMsg -llrm ../../lib/mgmt/.libs/libhbmgmtcommon.so -lglib-2.0 -lplumb 
> > -lxml2 -lc -lpam -lrt -ldl  -Wl,--rpath -Wl,/usr/lib/openais
> > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpe_status.so: undefined
> > reference to `stdscr'
> > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpe_status.so: undefined
> > reference to `wmove'
> > /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpe_status.so: undefined
> > reference to `printw'
> > collect2: ld returned 1 exit status
> 
> Those look like "curses" or "ncurses" routines for handling typing and 
> cursor movement across a screen (as in "vi", etc.).
> 
> My guess is that you'll need some sort of "ncurses" package, and possibly 
> a corresponding "ncurses-devel".
> 
> I'm not a Linux expert.  But I often find that installing an rpm and 
> building (compiling) that same software from source can be different.  If 
> the simple install requires (say) "pkgA" and "pkgB", building it often 
> (usually?) also requires "pkgA-devel" and "pkgB-devel".
> 
> So if you look inside the rpm to see what packages it requires for 
> installation (e.g. "pkgA", "pkgB", etc.) there can be a reasonable chance 
> that for building it you'll also need the corresponding "-devel" rpm.
> 
> Hope that helps.
> 

Hi David,

your guess was absolutely correct. I only needed ncurses-devel package -
it finally compiled :)
I don't know if I should have had this package on a standard
installation, if yes then the GUI should compile on any RHEL5 system if
you just installed all the -devel Packages from Heartbeat and Pacemaker
(& GUI).

Thanks for all the help!

Regards,
Tobi

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to