compiling cactid...

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

compiling cactid...

Post by gilles »

hello

i need to compile cactid (because i want to implement an alert when a host is unreachable)

i am under win32 with complete cygwin installed

i have multiple errors


for net-snmp 5.1.3 :

./configure (with default values)

Net-SNMP Version: 5.1.3
Building for: cygwin
Network transport support: Callback TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: mibII ucd_snmp snmpv3mibs notification target agent_mibs agentx utilities
SNMP Perl modules: disabled
Embedded perl support: disabled
Authentication support: MD5 SHA1
Encryption support: DES AES

make

make[1]: *** No rule to make target `winservicerc.lo', needed by `libnetsnmp.la'
. Stop.
make[1]: Leaving directory `/src/net-snmp-5.1.3/snmplib'
make: *** [subdirs] Error 1



i try net-snmp 5.0.10.2 :

./configure (with snmp v1)

Net-SNMP Version: 5.0.10.2
Building for: cygwin
Network transport support: Callback TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: mibII ucd_snmp snmpv3mibs notification target agent_mibs agentx utilities
Authentication support: MD5 SHA1
Encryption support: DES AES128 AES192 AES256


make

../../include/net-snmp/types.h:56: warning: useless keyword or type name in empt
y declaration
../../include/net-snmp/types.h:56: warning: empty declaration
mibII/interfaces.c: In function `var_ifEntry':
mibII/interfaces.c:2780: error: `Name' undeclared (first use in this function)
mibII/interfaces.c:2780: error: (Each undeclared identifier is reported only onc
e
mibII/interfaces.c:2780: error: for each function it appears in.)
make[2]: *** [mibII/interfaces.lo] Error 1
make[2]: Leaving directory `/src/net-snmp-5.0.10.2/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/src/net-snmp-5.0.10.2/agent'
make: *** [subdirs] Error 1






for mysql 4.1.12 :
./configure –-without-server
make
make install

no errors




for cactid :
cd /src/cacti-cactid-0.8.6e
./configure
error on libcrypto not found

i download openssl-devel on http://www.openssl.org/source/
with version 0.9.8, i have a error on MDC2...

i try openssl-0.9.7g :
./config
-> the script autoselect cygwin
make
make install

no errors


but i have always an error on libcrypto not found when i try to compile cactid...


i see a post which talk of the file configure.ac but i don't understand what to do with it...

what files cactid need ? where need i to copy them ?


someone have responses for these problems ?



frustrant...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you install all the devolpment packages for cygwin?
Did you follow the rrdtool build instructions?
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

thanks for the response

yes, i install a *complete* cygwin

i follow the guide found on http://www.cacti.net/cactid_install_wincyg.php

but this guide don't specify i need to build rrdtool...

btw, i am able to build cactid without rrdtool :

my error was net-snmp

i build net-snmp in version 5.2.1 without errors (it's this version the binaries i use on my windows, others versions i tried before aren't disponible for windows in binaries)

so for me :

net-snmp-5.2.1 :
./configure
make
make install

mysql-4.1.12 :
./configure –-without-server
make
make install

cacti-cactid-0.8.6e
./configure
make


i am testing this scenario on a blank pc to be sure...
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have found that some versions of Net-SNMP just didn't make it. (pun intended :))

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

solved
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests