LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-09-2012, 01:49 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
Problems building pacemaker from source


Hi!

I'm trying to give heartbeat/pacemaker a test drive on a VM with ubuntu server 10.04. I've already tested them using packages but now I'd like to give a try to pacemaker's GUI and I think I need a newer version of heartbeat/pacemaker to achieve it so I decided to build them from source.

I've already built/installed cluster-glue, heartbeat, resource-agents now I'm on pacemaker. During configure I disabled corosync:

Code:
CFLAGS="-L/usr/local/ha/lib -I/usr/local/ha/include" ./configure --prefix=/usr/local/ha --without-corosync enable_fatal_warnings=no
But now I'm building and I see that something from corosync is missing:

Code:
make[1]: Entering directory `/home/cps/ha/pacemaker/ClusterLabs-pacemaker-2dfaeb0/cib'
  CC     io.o
  CC     messages.o
  CC     notify.o
  CC     callbacks.o
  CC     main.o
  CC     remote.o
  CC     common.o
  CCLD   cib
io.o: In function `cib_rename':
/home/cps/ha/pacemaker/ClusterLabs-pacemaker-2dfaeb0/cib/io.c:227: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
../lib/cluster/.libs/libcrmcluster.so: undefined reference to `corosync_node_name'
collect2: ld returned 1 exit status
make[1]: *** [cib] Error 1
make[1]: Leaving directory `/home/cps/ha/pacemaker/ClusterLabs-pacemaker-2dfaeb0/cib'
make: *** [core] Error 1
what can I do to solve this? Thanks in advance.
 
Old 10-10-2012, 02:43 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,668

Rep: Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544Reputation: 2544
Pacemaker, Ubuntu 10.04 example ..
http://archive.ubuntu.com/ubuntu/poo....7.orig.tar.gz
> pacemaker_1.1.7.orig.tar.gz ( That's the Ubuntu 12.10 Quantal version.)
cd ClusterLabs-pacemaker-b5b0a7b/ && ./autogen.sh
./configure --disable-fatal-warnings --enable-snmp-subagent --enable-glib-malloc --with-esmtp --with-snmp --with-ais --with-heartbeat --with-cman
make : No errors

Prerequisites, summary
sudo apt-get build-dep resource-agents cluster-glue heartbeat pacemaker
apt-get -b source cluster-glue=1.0.9+hg2665-1ubuntu1
apt-get -b source resource-agents=1:3.9.2-5ubuntu6
apt-get -b source heartbeat=1:3.0.5-3ubuntu3
Remark : cluster-glue, resource-agents, heartbeat are Quantal versions.
( All created .deb packages were installed.)

Where did you get your version ? ( ClusterLabs-pacemaker-2dfaeb0 ).

P.S. : You can also do : sudo apt-get install pacemaker
http://www.clusterlabs.org/wiki/Inst...ng_from_Source


.

Last edited by knudfl; 10-10-2012 at 03:21 AM.
 
  


Reply

Tags
10.04, heartbeat, pacemaker, server, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problems building Firefox 13.0 from source under -current mats_b_tegner Slackware 12 01-10-2013 10:07 AM
[SOLVED] heartbeat on ubuntu 10.04: problems building from source eantoranz Linux - Software 3 10-09-2012 11:44 AM
Building some sort of cluster: slurm, pacemaker, cluster-glue or .... kaz2100 Linux - Software 2 07-21-2011 12:04 AM
problems building fakenes from source frieza Linux - Software 2 08-28-2010 04:02 PM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration