[rtg] Unable to build rtg from current CVS
randal k
rtg at data102.com
Thu Mar 6 18:14:09 EST 2008
Not sure if the current CVS is broken, but I tried to build the most recent
version of RTG so I can move off of 0.7.4 and couldn't make it happen.
Building this on FreeBSD 6.0-RELEASE w/ png12 & gd2. I want to make it very
clear that I am not a programmer, and that my particular environment may be
totally broken -- I'm just throwing this info out there in case other people
find out that it helps.
seshat> make
Making all in cgilib-0.4
"Makefile", line 161: Could not find .deps/cgi.Po
make: fatal errors encountered -- cannot continue
*** Error code 1
Stop in /usr/home/rtg/rtg.
=======
commenting out line 161 results in ...
seshat> make
source='cgi.c' object='cgi.o' libtool=no depfile='.deps/cgi.Po'
tmpdepfile='.deps/cgi.TPo' depmode=gcc3 /usr/local/bin/bash
../config/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I../config
-I/usr/local/include -I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -g -O2 -c
`test -f cgi.c || echo './'`cgi.c
cgi.c:84: fatal error: opening dependency file .deps/cgi.TPo: No such file
or directory
compilation terminated.
*** Error code 1
Stop in /usr/home/rtg/rtg/cgilib-0.4.
==================
So, there's no fix for that without diving into the C. However, my existing
0.7.4 build has a cgi.Po in it's source in the right place. I checked the
CVS @ sourceforge, and there is no cgi.Po or cgi.TPo anywhere -- even in the
older r0_7. Thus, I'm thinking that it's just missing. I copied my 0.7.4
cgi.Po from my live server over to the new build, and it died again.
The libtool that is created from running the default ./configure results in
a libtool file that does not support the "--tag" convention, and says it is
version 1.4.3. I had to delete it and put in my own libtool, which is
version 1.5.22. This may very well be an artifact of my ports-based FreeBSD
installation. Once replaced, everything seemed to work OK.
>From there, another problem popped up, referenced in an earlier mailing list
thread RE: targetmaker 0.6.1 being broken. After ./configure, I removed it
from the Makefile on the line
"contrib_DATA = README targetmaker-0.6.1.tar.gz dbprune.tar.gz"
>From there, I similarly found that BER.pm, SNMP_Session.pm, SNMP_util.pm
were all not included in the CVS. I copied them over from 0.7.4, and
everything compiled & installed just fine.
Hopefully this spreads around info for some other people, and maybe will
push along .8 or .9 making it into a polished release form :)
Last but not least, I want to thank the RTG team for their efforts - the
product is amazing and I'm sure makes a lot of billing-dollars happen around
the world every day.
Cheers,
Randal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.grdata.com/pipermail/rtg/attachments/20080306/d4a294c2/attachment-0001.html
More information about the RTG
mailing list