[omd-users] Compiling from source

Stephen Berg (Contractor) stephen.berg.ctr at nrlssc.navy.mil
Thu Apr 23 16:47:59 CEST 2015


Tried to compile from source using

#> git clone http://git.mathias-kettner.de/omd.git/
#> cd omd
#> ./configure
#> make
#> make rpm

When I ran the "make" it ended with a couple of errors:
config.status: creating t/Makefile
./configure: line 4149: syntax error near unexpected token `with,perl'
./configure: line 4149: `ACX_FEATURE(with,perl)'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/omd/omd/packages/check_mysql_health'
make: *** [build] Error 2

Tried the "make rpm" just for laughs and got more errors:

config.status: creating t/Makefile
./configure: line 4149: syntax error near unexpected token `with,perl'
./configure: line 4149: `ACX_FEATURE(with,perl)'
make[2]: *** [build] Error 2
make[2]: Leaving directory 
`/root/omd/omd/rpm.topdir/BUILD/omd-1.20/packages/check_mysql_health'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/omd/omd/rpm.topdir/BUILD/omd-1.20'
error: Bad exit status from /var/tmp/rpm-tmp.2cnjBH (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.2cnjBH (%build)
make: *** [rpm] Error 1

This is on a SciLinux 7.1 system, I changed /etc/redhat-release so the 
system thinks it's CentOS 7.0 to get the ./configure to run.  Is there 
an easy fix for this?

-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
stephen.berg.ctr at nrlssc.navy.mil



More information about the omd-users mailing list