rcron
rcron copied to clipboard
Package dosent compile on Ubuntu 10.04 LTS
What steps will reproduce the problem?
1. compiling the package under Ubuntu Lucid
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
2. during make it throws the following error.
make[1]: Entering directory `/root/rcron-0.1.0/src'
gcc -DHAVE_CONFIG_H -I. -DDEFCONF=\""/usr/local/etc/rcron/rcron.conf"\" -g
-O2 -MT rcron_conf-lexer.o -MD -MP -MF .deps/rcron_conf-lexer.Tpo -c -o
rcron_conf-lexer.o rcron_conf-lexer.c
rcron_conf-lexer.l:4:31: error: rcron_conf-parser.h: No such file or directory
rcron_conf-lexer.l: In function 'yylex':
rcron_conf-lexer.l:17: error: 'yylval' undeclared (first use in this function)
rcron_conf-lexer.l:17: error: (Each undeclared identifier is reported only once
rcron_conf-lexer.l:17: error: for each function it appears in.)
rcron_conf-lexer.l:17: error: 'CLUSTERNAME' undeclared (first use in this
function)
rcron_conf-lexer.l:18: error: 'STATEFILE' undeclared (first use in this
function)
rcron_conf-lexer.l:19: error: 'DEFAULTSTATE' undeclared (first use in this
function)
rcron_conf-lexer.l:20: error: 'SFACILITY' undeclared (first use in this
function)
rcron_conf-lexer.l:21: error: 'SLEVEL' undeclared (first use in this function)
rcron_conf-lexer.l:22: error: 'NICELEVEL' undeclared (first use in this
function)
rcron_conf-lexer.l:23: error: 'ACTV_PASSV' undeclared (first use in this
function)
rcron_conf-lexer.l:26: error: 'SYSL_FACILITY' undeclared (first use in this
function)
rcron_conf-lexer.l:28: error: 'QSYSL_FACILITY' undeclared (first use in this
function)
rcron_conf-lexer.l:32: error: 'SYSL_LEVEL' undeclared (first use in this
function)
rcron_conf-lexer.l:34: error: 'QSYSL_LEVEL' undeclared (first use in this
function)
rcron_conf-lexer.l:37: error: 'BOOLEAN' undeclared (first use in this function)
rcron_conf-lexer.l:41: error: 'INTEGER' undeclared (first use in this function)
rcron_conf-lexer.l:42: error: 'QSTRING' undeclared (first use in this function)
rcron_conf-lexer.l:44: error: 'STRING' undeclared (first use in this function)
rcron_conf-lexer.l:46: error: 'EOL' undeclared (first use in this function)
make[1]: *** [rcron_conf-lexer.o] Error 1
make[1]: Leaving directory `/root/rcron-0.1.0/src'
make: *** [install-recursive] Error 1
Please help. I do not see any ubuntu packages around.
Original issue reported on code.google.com by [email protected]
on 22 Jun 2011 at 8:07
just do the following:
./configure
make distclean
./configure
make
make install
if it complains about rcon.8 get this file from svn and copy it to your source
dir before running make
Original comment by [email protected]
on 11 Oct 2011 at 12:25