Hi Marc,

> As it is, debian makes it impossible to use libsnmp without being forced to
> also link against the system perl, which is a limitation which does not exist
> with the original package, it's strictly a problem in debian.

Not true. As soon as embedded perl support is enabled (and it's enabled by 
default since 5.4.0 IIRC)
and found usable by the configure script, the cflags are determined by running:

perl -MExtUtils::Embed -e ccopts

Even with a pristine 5.4.2, no Debian patches whatsoever, default 
configuration, the perl include path is
added to net-snmp-config:

./net-snmp-config --cflags
-g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -I. 
-I/usr/local/include

Removing the perl cflags altogether also would ask for trouble as you would 
loose the largefile config information.

Thanks,
Jochen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to