LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-28-2011, 01:53 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
Unhappy gmake error when compiling HALinux apps on CentOS5


Yep, I know CentOS5 has these in the repos.


I am trying to compile the HALinux apps (cluster-glue, heartbeat, and pacemaker) onto a CentOS5 server, with the eventual goal to actually build this on RHEL5.

I can compile cluster-glue just fine with:

Code:
yum install flex python net-snmp OpenIPMI autoconf automake libtool glib2-devel libxml2 libxml2-devel bzip2 bzip2-devel uuidd e2fsprogs-devel e2fsprogs-libs

wget http://hg.linux-ha.org/glue/archive/glue-1.0.7.tar.bz2
tar -xvjf glue-1.0.7.tar.bz2
cd Reusable-Cluster-Components-glue--glue-1.0.7
./autogen.sh
./configure --prefix=/usr/local
make
make install
However, I cannot compile the heartbeat package:

Code:
wget http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/STABLE-3.0.4.tar.bz2
tar -xvjf STABLE-3.0.4.tar.bz2
cd Heartbeat-3-0-STABLE-3.0.4
./bootstrap
./ConfigureMe configure
At this point my output becomes:
Code:
...
checking for stdint.h... yes
checking for unistd.h... yes
checking heartbeat/glue_config.h usability... yes
checking heartbeat/glue_config.h presence... yes
checking for heartbeat/glue_config.h... yes
checking glue_config.h usability... no
checking glue_config.h presence... no
checking for glue_config.h... no
configure: error: Core development headers were not found
See `config.log' for more details.
I was able to get around that by editing the ConfigureMe file to have the prefix be /usr/local and now it finds the glue_config.h file

But, I then get stuck at:
Code:
./ConfigureMe configure
make
make install
with the error:
Code:
gmake[1]: Leaving directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/tools'
Making all in doc
gmake[1]: Entering directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/doc'
\
        --xinclude \
        http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl heartbeat.xml
gmake[1]: --xinclude: Command not found
gmake[1]: *** [heartbeat.8] Error 127
gmake[1]: Leaving directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/doc'
make: *** [all-recursive] Error 1

I cannot find anything about resolving the '--xinclude: Command not found' other than some pages in an Asian script which I cannot read.
 
Old 04-28-2011, 03:25 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
Quote:
Originally Posted by lefty.crupps View Post
--xinclude \
http://docbook.sourceforge.net/relea...es/docbook.xsl heartbeat.xml
gmake[1]: --xinclude: Command not found
gmake[1]: *** [heartbeat.8] Error 127
gmake[1]: Leaving directory `/root/halinux/Heartbeat-3-0-STABLE-3.0.4/doc'
make: *** [all-recursive] Error 1[/CODE]


I cannot find anything about resolving the '--xinclude: Command not found' other than some pages in an Asian script which I cannot read.
Just out of curiosity, why aren't you using the pre-built rpms?

The Linux-HA would be better suited to answer this question, but are you certain that the cluster-glue development headers are being found by this at compile time?
 
Old 05-02-2011, 03:50 PM   #3
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
> Just out of curiosity, why aren't you using the pre-built rpms?
Because I need to know how to do this on RHEL, and there aren't any for RHEL5.
>> with the eventual goal to actually build this on RHEL5.


> The Linux-HA would be better suited to answer this question,
What do you mean? Is there a specific forum on lq.org?

> but are you certain
> that the cluster-glue development headers are being found by this at compile time?
No I am not, but when I was trying to compile everything to --prefix=/usr/local/halinux/ I was at that time getting errors for the headers not being found. Removing that trailing halinux/ directory got me past that issue, but now I am onto this issue.
 
  


Reply



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
bitchx gmake error .. criacuervo Linux - Newbie 1 02-07-2009 01:12 AM
Error running gmake emperor_black *BSD 17 10-23-2008 11:54 AM
gmake error or gcc old version......??? pravinth Linux - Newbie 2 11-23-2006 10:43 AM
gmake error in postgres instalation umala SUSE / openSUSE 1 04-08-2005 09:18 AM
Compiling KDE apps, linker error julienp Programming 1 08-07-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration