Date: Fri, 25 May 2007 14:23:01 -0500 From: Jeffrey Goldberg <jeffrey@goldmark.org> To: Alexey Lebedev <lebedev@zhtw.org.ru> Cc: ports@freebsd.org, demon@FreeBSD.org Subject: Re: Can't build net/rrdtool Message-ID: <1CEAC045-4CF3-43B5-9C7E-A790AC801016@goldmark.org> In-Reply-To: <1180086697.2242.1.camel@samanka.umc8.mai.ru> References: <1180086697.2242.1.camel@samanka.umc8.mai.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 25, 2007, at 4:51 AM, Alexey Lebedev wrote: > Hello! > > This is the output of make: > > ===> Building for rrdtool-1.2.23 > gmake all-recursive > [...] > rrdtoolmodule.c:378: warning: passing arg 2 of `PyErr_SetString' makes > pointer from integer without a cast > rrdtoolmodule.c:379: warning: nested extern declaration of > `rrd_clear_error' > rrdtoolmodule.c: In function `PyRRD_info': > rrdtoolmodule.c:397: error: syntax error before "rrd" > rrdtoolmodule.c:405: error: `rrd' undeclared (first use in this > function) > rrdtoolmodule.c:406: warning: nested extern declaration of > `rrd_get_error' > rrdtoolmodule.c:406: warning: passing arg 2 of `PyErr_SetString' makes > pointer from integer without a cast > rrdtoolmodule.c:407: warning: nested extern declaration of > `rrd_clear_error' > rrdtoolmodule.c:448: error: `DS_mrhb_cnt' undeclared (first use in > this > function) > rrdtoolmodule.c:449: error: `DS_min_val' undeclared (first use in this > function) > rrdtoolmodule.c:450: error: `DS_max_val' undeclared (first use in this > function) > rrdtoolmodule.c:452: error: `PDP_val' undeclared (first use in this > function) > rrdtoolmodule.c:453: error: `PDP_unkn_sec_cnt' undeclared (first > use in > this function) > rrdtoolmodule.c:469: error: `RRA_cdp_xff_val' undeclared (first use in > this function) > rrdtoolmodule.c:481: error: `CDP_val' undeclared (first use in this > function) > rrdtoolmodule.c:483: error: `CDP_unkn_pdp_cnt' undeclared (first > use in > this function) > rrdtoolmodule.c: In function `PyRRD_fetch': > rrdtoolmodule.c:156: warning: statement with no effect > error: command 'cc' failed with exit status 1 > gmake[3]: *** [python] Error 1 > gmake[3]: Leaving directory > `/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > `/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23/bindings' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/var/tmp/usr/ports/net/rrdtool/work/rrdtool-1.2.23' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/net/rrdtool. > *** Error code 1 > > Stop in /usr/ports/net/rrdtool. > avl@samanka:/usr/ports/net/rrdtool$ There appear to be several problem reports filed about this. I don't know whether the maintainer is responding at all. (Though I am cc'ing this to the port maintainer, damon@freebsd.org) I have found that I can get rrdtool to build if I disable ruby and python support. Use make config to disable those (maybe just one at a time to see what works). Of course this work around doesn't work if you need python or ruby support. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CEAC045-4CF3-43B5-9C7E-A790AC801016>