Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-09-2012, 02:49 PM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Problems building pacemaker from source


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:

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:

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/ 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, 03:43 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,440

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Pacemaker, Ubuntu 10.04 example ..
> pacemaker_1.1.7.orig.tar.gz ( That's the Ubuntu 12.10 Quantal version.)
cd ClusterLabs-pacemaker-b5b0a7b/ && ./
./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


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


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 11:07 AM
[SOLVED] heartbeat on ubuntu 10.04: problems building from source eantoranz Linux - Software 3 10-09-2012 12:44 PM
Building some sort of cluster: slurm, pacemaker, cluster-glue or .... kaz2100 Linux - Software 2 07-21-2011 01:04 AM
problems building fakenes from source frieza Linux - Software 2 08-28-2010 05:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 PM.

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