Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
clockwork
Posts: 22 Joined: Fri Feb 23, 2007 1:04 am
Post
by clockwork » Mon Apr 23, 2007 4:52 pm
I compiled cactid on the same system its running on. ldd shows everything ok, pkginfo is showing 5.1.1 as the net-snmp version. The whole error is as follows:
Code: Select all
04/23/2007 05:45:01 PM - CACTID: Poller[0] ERROR: SNMP Library Version Mismatch (5.1-pre1a vs 5.1.1)
Where the heck is it getting that 5.1-pre1a from ? Is that a requirement, cause thats just plain silly.
Cactid 0.8.6i
Solaris 10
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Apr 23, 2007 5:18 pm
If you use the BRANCH_0_8_6 within the SVN repository, I have made this message a warning, although please keep in mind that it "MAY" affect stability.
TheWitness
clockwork
Posts: 22 Joined: Fri Feb 23, 2007 1:04 am
Post
by clockwork » Mon Apr 23, 2007 5:25 pm
Do we actually know the source of the problem ? How stable (objectively, it is open source after all) is the 86 branch ?
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Apr 23, 2007 5:33 pm
The BRANCH_0_8_6 is very stable. The issue is with your net-snmp install. The library and header versions do not match.
TheWitness
clockwork
Posts: 22 Joined: Fri Feb 23, 2007 1:04 am
Post
by clockwork » Tue Apr 24, 2007 9:37 am
Bootstrap runs okay, so does configure, then the compile dies as follows:
Code: Select all
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/mysql/include/mysql -g -O2 -MT php.o -MD -MP -MF .deps/php.Tpo -c -o php.o php.c
mv -f .deps/php.Tpo .deps/php.Po
gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/mysql/include/mysql -g -O2 -MT ping.o -MD -MP -MF .deps/ping.Tpo -c -o ping.o ping.c
ping.c: In function `ping_host':
ping.c:70: error: too few arguments to function `cacti_log'
*** Error code 1
make: Fatal error: Command failed for target `ping.o'
There is nothing particularly interesting on line 70 of ping.c.
Any help ?
clockwork
Posts: 22 Joined: Fri Feb 23, 2007 1:04 am
Post
by clockwork » Wed Apr 25, 2007 2:31 pm
So has anyone successfully compiled the svn source on solaris ?
clockwork
Posts: 22 Joined: Fri Feb 23, 2007 1:04 am
Post
by clockwork » Thu Apr 26, 2007 4:04 pm
I got it to compile. Its still giving the error:
Code: Select all
04/26/2007 04:55:00 PM - CACTID: Poller[0] ERROR: SNMP Library Version Mismatch (5.1-pre1a vs 5.1.1) (Cactid parent)
I used the code from
Code: Select all
svn checkout svn://svn.cacti.net/var/svnroot/cacti/branches/BRANCH_0_8_6/cactid
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu Apr 26, 2007 8:37 pm
Darn, maybe I did not check it in. I'll check this weekend.
Larry
danang.wijanarko
Posts: 1 Joined: Wed May 09, 2007 4:27 am
Location: indonesia
Contact:
Post
by danang.wijanarko » Wed May 09, 2007 4:31 am
this one is caused by your version of net-snmp-config.h providing macro PACKAGE_VERSION 5.1-pre1a, if you want to overide this,
simply put version 5.1.1 on that, and recompile again
all will be fine,
Users browsing this forum: No registered users and 0 guests