반응형

1. libnet 설치

# cd /usr/local/src

# wget http://sourceforge.net/projects/libnet-dev/files/latest/download

# tar zxvfp libnet-1.2-rc2.tar.gz     ### http://sourceforge.net/projects/libnet-dev
# cd libnet-1.2-rc2

# ./configure && make && make install

 

2. Heartbeat 설치

# wget http://www.ultramonkey.org/download/heartbeat/2.1.3/heartbeat-2.1.3.tar.gz
# tar zxvfp heartbeat-2.1.3.tar.gz
# cd heartbeat-2.1.3
# ./ConfigureMe configure
# make

# make install

# cp doc/ha.cf doc/haresources doc/authkeys /etc/ha.d/
# cp ldirectord/ldirectord.cf /etc/ha.d
# groupadd -g 694 haclient
# useradd -u 694 -g 694 hacluster

 

3. 에러 처리

 cc1: warnings being treated as errors
client_lib.c:1881: error: 'display_orderQ' defined but not used
gmake[2]: *** [client_lib.lo] Error 1
gmake[2]: Leaving directory `/usr/local/src/heartbeat-2.1.3/lib/hbclient'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/heartbeat-2.1.3/lib'
make: *** [all-recursive] Error 1

# cd lib/hbclient
# sed -i -e 's/-Werror//g' Makefile
# cd -
# make

cc1: warnings being treated as errors
stonith_signal.h:33: error: 'stonith_signal_set_simple_handler' defined but not used
gmake[4]: *** [apcmaster.lo] Error 1
gmake[4]: Leaving directory `/usr/local/src/heartbeat-2.1.3/lib/plugins/stonith'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/heartbeat-2.1.3/lib/plugins/stonith'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/heartbeat-2.1.3/lib/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/heartbeat-2.1.3/lib'
make: *** [all-recursive] Error 1

 

# cd lib/plugins/stonith
# sed -i -e 's/-Werror//g' Makefile
# cd -
# make

 

cc1: warnings being treated as errors
conf_lex.c:1203: error: 'input' defined but not used
gmake[2]: *** [recoverymgrd-conf_lex.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/heartbeat-2.1.3/telecom/recoverymgrd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/heartbeat-2.1.3/telecom'
make: *** [all-recursive] Error 1

# cd telecom/recoverymgrd
# sed -i -e 's/-Werror//g' Makefile
# cd -
# make

 

Can't locate Pod/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/Pod/Man.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/Pod/Man.pm line 34.
Compilation failed in require at /usr/bin/pod2man line 15.
BEGIN failed--compilation aborted at /usr/bin/pod2man line 15.
gmake[2]: *** [ldirectord.8] Error 2
gmake[2]: Leaving directory `/usr/local/src/heartbeat-2.1.3/ldirectord'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/heartbeat-2.1.3/ldirectord'
make: *** [all-recursive] Error 1

# cd /usr/local/src
# wget http://search.cpan.org/CPAN/authors/id/R/RR/RRA/podlators-2.4.2.tar.gz
# tar zxvfp podlators-2.4.2.tar.gz
# cd podlators-2.4.2
# perl Makefile.PL
# make install

 

# cd /usr/local/src
# wget http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Pod-Escapes-1.04.tar.gz
# tar zxvfp Pod-Escapes-1.04.tar.gz
# cd Pod-Escapes-1.04
# perl Makefile.PL
# make install

 

# cd /usr/local/src
# wget http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Pod-Simple-3.23.tar.gz
# tar zxvfp Pod-Simple-3.23.tar.gz
# cd Pod-Simple-3.23
# perl Makefile.PL
# make install

 

# cp doc/ha.cf doc/haresources doc/authkeys /etc/ha.d/
# cp ldirectord/ldirectord.cf /etc/ha.d
# groupadd -g 694 haclient
# useradd -u 694 -g 694 hacluster

 

반응형
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기