[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 115228] kdeutils configure does not check for net-snmp,
From:       Vincent Rubiolo <vincent.rubiolo () free ! fr>
Date:       2008-04-17 15:16:28
Message-ID: 20080417151628.12119.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=115228         




------- Additional Comments From vincent.rubiolo free fr  2008-04-17 17:16 -------
Confirmed. I get the same issue when building from 3.5.9 tarballs (RHEL4 machine).

The configure test indeed fails but the build goes on nevertheless and fails a while \
after : /Archives/kde-3.5.9-build/kdeutils-3.5.9/ksim/monitors/snmp $ make
/bin/sh ../../../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. \
-I../../.. -I../../../ksim/library -I/folk/vrubiolo/InstalledProgs/KDE-3.5.9/include \
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  \
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align \
-Wchar-subscripts-Wall -W -Wpointer-arith -O2 -Wformat-security \
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new \
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT \
-DQT_NO_TRANSLATION  -MT snmp.lo -MD -MP -MF .deps/snmp.Tpo -c -o snmp.lo snmp.cpp In \
file included from snmp_p.h:24,  from snmp.cpp:22:
/folk/vrubiolo/InstalledProgs/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/include/net-snmp/net-snmp-config.h:1315:29: \
                error: net-snmp/system/linux.h: No such file or directory
/folk/vrubiolo/InstalledProgs/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/include/net-snmp/net-snmp-config.h:1316:30: \
error: net-snmp/machine/generic.h: No such file or directory In file included from \
snmp.cpp:22: snmp_p.h:25:40: error: net-snmp/net-snmp-includes.h: No such file or \
directory In file included from snmp.cpp:22:
snmp_p.h:42: error: 'netsnmp_session' was not declared in this scope
snmp_p.h:42: error: 'session' was not declared in this scope
snmp_p.h:47: error: expected ',' or '...' before '*' token
snmp_p.h:47: error: ISO C++ forbids declaration of 'oid' with no type
snmp_p.h:49: error: 'oid' does not name a type
[...]

Extract from configure output :
checking for sys/loadavg.h... no
checking for statvfs... yes
checking for net-snmp/library/snmp_api.h... no
checking if libnetsnmp needs -lcrypto... checking for snmp_open in -lnetsnmp... yes
yes
checking whether byte ordering is bigendian... (cached) no
[...]

Attaching config.log showing the issue. I think the configure plumbing should disable \
some builds when net-snmp libs cannot be found.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic