[rtg] RTG 0.9 install issues
Axford M.F.
M.F.Axford at soton.ac.uk
Sat Mar 14 19:01:08 EDT 2009
Hi
I've got around that issue by doing the following after getting the sources.
mkdir cgilib-0.4/.deps
touch cgilib-0.4/.deps/cgi.Po
I've managed to get RTG 0.9 compiled on 32 and 64 bit linux (RHEL5 and Fedora 8) however it taken some a bit of playing with Makefiles etc. to get it to compile. Rough notes in approx order of doing them.
If you're going to use the new rtgpoll you need to edit librtgmysql.c and change all MYSQL types to MYSQL * (variables and function calls)
If your using 64 bit libraries you need to edit the library paths in configure.in. Search for MYSQL_LIB_CHK around line 246.
You may also need to run some or all of aclocal, autoconf, automake, libtoolize. (I've found automake 1.4 seemed to work best on FC8 and libtoolize needed the --force flag)
I've done the following after ./configure but before the make command
mv contrib/Makefile contrib/Makefile.old
sed -e 's/contrib_DATA = README targetmaker-0.6.1.tar.gz dbprune.tar.gz/contrib_DATA = README dbprune.tar.gz/' < contrib/Makefile.old > contrib/Makefile
I hope to provide some decent docs and patch files at some point of what I've managed to get working.
Hopefully this is of some use to you and to others trying to use RTG 0.9
Mike
On 14/03/2009 22:38, "Harry Marcson" <harrymarcson at gmail.com> wrote:
I have tried to get RTG 0.9 working on a new centos 5 install (tried debian lenny, but new issues constantly popping up).
CentOS5 with compiled GD and net-snmp, completed ./configure, but make is failing:
Making all in cgilib-0.4
make[1]: Entering directory `/usr/local/src/rtg/cgilib-0.4'
Makefile:161: .deps/cgi.Po: No such file or directory
make[1]: *** No rule to make target `.deps/cgi.Po'. Stop.
make[1]: Leaving directory `/usr/local/src/rtg/cgilib-0.4'
make: *** [all-recursive] Error 1
Anyone who got this fixed?
Someone mentioned this fix, but it did not pass the make install process:
http://lists.grdata.com/pipermail/rtg/2008-March/002395.html
I was able to compile 0.8 without any issues. Currently testing it out..
Thanks,
Harry
More information about the RTG
mailing list