|
|
| Author |
Message |
gregga
Joined: 04 Jun 2003 Posts: 12
|
Posted: Wed Aug 27, 2003 3:02 pm Post subject: cactid compile can't find net-snmp |
|
|
cacti 0.8.2a
RH 9
netsnmp5.0.8
running cactid ./configure gives me:
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
Meaningful entries in /etc/ld.so.conf are:
/usr/lib/mysql
/usr/local/lib
Any ideas?
if I can get cactid to compile, I'm hoping it will help with timeouts when polling routers with 2500+ interfaces.
Thanks. |
|
| Back to top |
|
 |
raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Thu Aug 28, 2003 11:24 pm Post subject: |
|
|
Do you have the 'net-snmp-devel' package installed?
-Ian |
|
| Back to top |
|
 |
gregga
Joined: 04 Jun 2003 Posts: 12
|
Posted: Mon Sep 08, 2003 3:07 pm Post subject: |
|
|
| raX wrote: | Do you have the 'net-snmp-devel' package installed?
-Ian |
oops! it does not appear that I do. I'll get right on that!
Thanks! |
|
| Back to top |
|
 |
golemb
Joined: 02 Jun 2003 Posts: 30
|
Posted: Fri Oct 03, 2003 12:28 pm Post subject: |
|
|
Need some help with compiling cactid on RedHat 9. Have compiled the apache web server, php and mysql, net-snmp from source. Cacti works great, but I am at a lost has how to get / install net-snmp-devel source. I can only find rpms packages.
httpd-2.0.47.tar.gz
php-4.3.3.tar.gz
mysql-standard-4.0.15-pc-linux-i686.tar.gz
net-snmp-5.0.9.tar.gz
When i type ./configure --with-mysql=/usr/local/mysql --with-snmp=/usr/local/net-snmp/include
I get the following error
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp) |
|
| Back to top |
|
 |
raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Tue Oct 07, 2003 11:10 pm Post subject: |
|
|
Can you try the following?
| Code: | | ./configure --with-mysql=/usr/local/mysql --with-snmp=/usr/local/net-snmp |
-Ian |
|
| Back to top |
|
 |
jdr
Joined: 25 Dec 2005 Posts: 42
|
Posted: Thu Jan 11, 2007 12:29 pm Post subject: |
|
|
Same problem.
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... no
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
./configure --with-mysql=/usr/local/mysql/include/mysql --with-snmp=/usr/local/include/net-snmp/
Any ideas?
Sparc, sol9 with net-snmp v5.4 compiled from sources. |
|
| Back to top |
|
 |
jdr
Joined: 25 Dec 2005 Posts: 42
|
Posted: Thu Jan 11, 2007 1:55 pm Post subject: |
|
|
| --with-snmp=/usr/local has done the trick. |
|
| Back to top |
|
 |
heavenzone
Joined: 18 Jun 2008 Posts: 3 Location: China
|
Posted: Wed Jun 18, 2008 10:00 pm Post subject: |
|
|
I got the same error when i installed spine0.8.7a in ubuntu8.04server
Cannot find NET-SNMP libraries(snmp)... checking UCD-SNMP
checking for snmp_timeout in -lsnmp... no
configure: error: Cannot find UCD-SNMP libraries(snmp)
anybody help ?
./configre --prefix=/usr/local/spine --with-mysql/=/usr/include/mysql --with=snmp=/usr/include/linux
--with-mysql/=/usr/include/mysql #to fix the error: cannot find mysql header file
--with=snmp=/usr/include/linux #to fix the error: cannot find snmp header file |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12206 Location: Muenster, Germany
|
Posted: Sat Jun 21, 2008 2:03 pm Post subject: |
|
|
First, there's a typo in your line "--with-snmp". What's the output of "rpm -qa|grep snmp"?
Reinhard |
|
| Back to top |
|
 |
|