[rrd-users] rrdtool-1.3.0 and glib-2.15.4
Bernard Li
bernard at vanhpc.org
Tue Jul 1 19:58:13 CEST 2008
Hi Andong:
On Tue, Jul 1, 2008 at 9:32 AM, Xu, Andong (Xu, Albert)
<xu_albert at yahoo.com> wrote:
> I use Ganglia which requires rrdtools.
>
> Followed the steps of rrdtool-1.3.0/doc/rrdbuild.html, I successfully compiled several packages (under Fedora Core 5.0), until glib-2.15.4:
>
> ...
> gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -DG_LOG_DOMAIN=\"GLib-GIO\"
> -I../.. -I../../glib -I../../gmodule -I../../gio -I../../gio
> -DG_ENABLE_DEBUG -DGIO_MODULE_DIR=\"/usr/local//lib/gio/modules\"
> -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O3 -fPIC -Wall -MT
> libinotify_la-inotify-path.lo -MD -MP -MF
> .deps/libinotify_la-inotify-path.Tpo -c inotify-path.c -fPIC -DPIC -o
> .libs/libinotify_la-inotify-path.o
> inotify-path.c: In function '_ip_start_watching':
> inotify-path.c:154: error: 'IN_ONLYDIR' undeclared (first use in this
> function)
> inotify-path.c:154: error: (Each undeclared identifier is reported only
> once
> inotify-path.c:154: error: for each function it appears in.)
> make[4]: *** [libinotify_la-inotify-path.lo] Error 1
> make[4]: Leaving directory `/tmp/rrdbuild/glib-2.15.4/gio/inotify'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/rrdbuild/glib-2.15.4/gio'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/rrdbuild/glib-2.15.4/gio'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/rrdbuild/glib-2.15.4'
> make: *** [all] Error 2
I assume you are building from sources, have you tried rebuilding the
SRPM provided by Fedora?
http://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS/rrdtool-1.3.0-1.fc9.src.rpm
See if that works better.
I was able to build rrdtool 1.3 on CentOS 4 after I updated to glib
2.12.3, not sure about 2.15.4 though.
Good luck,
Bernard
More information about the rrd-users
mailing list