[omd-users] Compiling from source

Mirza Dedic mirde at oppy.com
Fri Apr 24 03:13:09 CEST 2015


I tried to compile OMD from source as well but no luck, got the same error as you with a clean Ubuntu 10.04.2 LTS virtual machine..

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 `/downloads/omd/packages/check_mysql_health'
make: *** [build] Error 2

Can't seem to get passed this..

-----Original Message-----
From: omd-users-bounces at lists.mathias-kettner.de [mailto:omd-users-bounces at lists.mathias-kettner.de] On Behalf Of Stephen Berg (Contractor)
Sent: April/23/2015 7:48 AM
To: omd-users at lists.mathias-kettner.de
Subject: [omd-users] Compiling from source

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

_______________________________________________
omd-users mailing list
omd-users at lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/omd-users


More information about the omd-users mailing list