lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Please, help with compilation errors

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
netman124
Beginner


Joined: 14 Jan 2005
Posts: 9
Location: Los Angeles

PostPosted: Tue May 17, 2005 11:59 pm    Post subject: Please, help with compilation errors Reply with quote

I am trying to compile netmrg on RedHat 2.4.20-8smp.
All required software is installed and after running
./configure --with-rrdtool=/usr/local/bin/rrdtool make produces output below.

PLEASE HELP!

Thank you!

Alex.

RRD zero.rrd
ERROR: Can only restore version >= 2 (Not 0001). Dump your rrd using a current rrdtool dump.
make[3]: *** [zero.rrd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed May 18, 2005 12:35 am    Post subject: Reply with quote

What is your rrdtool version?

-Doug
Back to top
netman124
Beginner


Joined: 14 Jan 2005
Posts: 9
Location: Los Angeles

PostPosted: Wed May 18, 2005 12:38 am    Post subject: Reply with quote

RRDtool 1.2.0 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Tue May 17 16:47:57 PDT 2005

Which one should I use?

Thank you for the prompt reply!
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed May 18, 2005 12:41 am    Post subject: Reply with quote

For now use the 1.0.x series for now; rrdtool 1.2 was just recently released and we (obviously) haven't tested it well yet.

-Doug
Back to top
netman124
Beginner


Joined: 14 Jan 2005
Posts: 9
Location: Los Angeles

PostPosted: Wed May 18, 2005 12:55 am    Post subject: Reply with quote

Now I get millions of:
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
restore zero.xml zero.rrd
After Ctrl+C:
restore zmake[3]: *** [zero.rrd] Interrupt
make[2]: *** [all-recursive] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all-recursive] Interrupt
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed May 18, 2005 1:28 am    Post subject: Reply with quote

Look in /var/lib/netmrg/rrd/ and delete any rrd files that were created. Let us know if that helps.

-Doug
Back to top
netman124
Beginner


Joined: 14 Jan 2005
Posts: 9
Location: Los Angeles

PostPosted: Wed May 18, 2005 7:58 pm    Post subject: Reply with quote

That helped and netmrg compiled fine.
However when I run /usr/local/bin/netmrg-gatherer I get the following:
/usr/local/bin/netmrg-gatherer: relocation error: /usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

I have NetMRG running fine on the other machine - can't get it up on this one....

Thank you for all your help.

Alex
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Thu May 19, 2005 2:00 am    Post subject: Reply with quote

Did you install MySQL from source, or copy binaries from somewhere? Do you have multiple versions installed? If so, you might need to point netmrg's configure script at the correct one.

-Doug
Back to top
netman124
Beginner


Joined: 14 Jan 2005
Posts: 9
Location: Los Angeles

PostPosted: Thu May 19, 2005 6:02 pm    Post subject: Reply with quote

Thank you for all your help.
Everything in working fine !

Alex.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group