[rtg] compilation questions
Jeff Bacon
bacon at walleyesoftware.com
Tue Aug 5 13:54:08 EDT 2008
Has anyone ever gotten RTG (0.7.4, 0.8, 0.9) to compile with gcc4 on
solaris 10?
I keep thinking I'm making progress, but then I keep running into walls,
and it gets a little old after a while. Unfortunately if I step back to
2.95.2 or gcc3, I'm going to have to recompile all of my dependencies
all over again (GD, net-snmp, mysql, libpng, libz) and I'm just not
excited about the concept.
I have rtgpoll running fine, though it's taken a couple of workarounds
- dl_init() doesn't work in librtgmysql.c
- tm_gmtoff doesn't exist in solaris - I'm using extern int
timezone instead
- had to steal asprintf() from GNU gettext.
Targetmaker seems to make the tables fine, and the contents of the
tables make at least middling sense, so I think it's doing the right
thing.
However, rtgplot is blowing up in all sorts of entertaining ways and
it's driving me batty.
Further, it appears that the targetmaker.php in 0.9 still wants to use
the rtgplot input format of 0.7.4, not the new PO/DO/LO format of
rtgplot-0.9. Needless to say this is highly confusing. Any clarity on
the matter would be greatly appreciated.
The whole setup: solaris 10, gcc 4.2.4, mysql 5.0.51b, libgd-2.0.35,
libpng-1.2.29, zlib-1.2.3, net-snmp 5.4.1.2.
*sigh*
anyone?
-bacon
More information about the RTG
mailing list