rrdtool-1.3.0 and glib-2.15.4

View: New views
3 Messages — Rating Filter:   Alert me  

rrdtool-1.3.0 and glib-2.15.4

by Xu, Andong (Xu, Albert) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

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


Can anyone help me ? Thank you.

Andong



     

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Re: rrdtool-1.3.0 and glib-2.15.4

by Bernard Li-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andong:

On Tue, Jul 1, 2008 at 9:32 AM, Xu, Andong (Xu, Albert)
<xu_albert@...> 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

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Parent Message unknown Re: rrdtool-1.3.0 and glib-2.15.4

by Bernard Li-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andong:

(sending back to the mailing-list)

On Tue, Jul 1, 2008 at 3:16 PM, Xu, Andong (Xu, Albert)
<xu_albert@...> wrote:

> Thank you very much for the suggestion. It seems that the SRPM is for Fedora 9.

Yes it is for Fedora 9, but in most cases it can be rebuilt on an
older version (if not, try to look for the same SRPM in Fedora 8, 7,
etc.)

> I decide to temporarily skip the problem, because this afternoon I've successfully configured and run Ganglia on another computer.

Okay.  Hope you are still trying rrdtool 1.3 though, as there are
known improvements with this new version (and they benefit Ganglia's
performance).

Cheers,

Bernard

_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
LightInTheBox - Buy quality products at wholesale price