[PHP-users 17761]Re: SNMPの利用について

Michitoshi Sato lum @ uni.sony.co.jp
2003年 9月 9日 (火) 14:03:18 JST


$B:4F#DLIR$G$9!#(B

> $B$3$s$K$A$O!#!!;32,$H?=$7$^$9!#(B


Solaris$B$N4D6-$G$9$,!"(B

php-4.3.3/ext/snmp$B$X0\F0$7$F!"(B

% phpize
% ./configure --prefix=/usr/local --with-openssl=/usr/local --with-snmp=/usr/local

checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for gawk... gawk
checking for SNMP support... yes, shared
checking for snmp_parse_oid... no
checking for init_snmp in -lnetsnmp... yes
checking whether to enable UCD SNMP hack... no
checking for non-GNU ld... /usr/ccs/bin/ld

% make

$B$G @ 5>o$K:n$l$^$7$?!#(B

automake (GNU automake) 1.7.6
autoconf (GNU Autoconf) 2.57
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)

$B$r;H$$$^$7$?!#(B

> SNMP$B4X?t$H$$$&$N$,$"$k$h$&$J$N$G!"$3$l$rMxMQ$7$F(BMRTG$B$N$h$&$JJ*$,(B
> $B:n$l$J$$$+$J$H;W$$$^$7$?!#(B
> 
> $BAaB.;H$C$F$_$h$&$H!"(B
> --with-snmp $B%*%W%7%g%s$r$D$1$F(Bconfigure$B$7$h$&$H$7$^$7$?$,!"(B
> 
> checking for SNMP support... yes
> checking for default_store.h... no
> 
> checking for kstat_read in -lkstat... no
> checking for snmp_parse_oid... (cached) no
> checking for init_snmp in -lsnmp... no
> configure: error: SNMP sanity check failed. Please check config.log for more inf
> ormation.
> 
> $BESCf$G$3$N$h$&$J%(%i!<$,=P$F;_$^$C$F$7$^$$$^$9!#(B
> config.log$B$r8+$F$b0UL#$,$o$+$j$^$;$s$G$7$?!#(B
> sanity check failed $B$H$OD>Lu$9$k$H!V7rA4 @ -8!::<:GT!W$G$7$g$&$+!)(B
> 
> WEB$B$G?'!9$HD4$Y$^$7$?$,2r7hJ}K!$r8+$D$1$k$3$H$,$G$-$:ESJ}$KJk$l$F$$$^$9!#(B
> $B$=$b$=$b$3$N(BSNMP$B4X?t$rMxMQ$G$-$F$$$kJ}$O$$$i$C$7$c$k$N$G$7$g$&$+!)(B
> $B0JA0$K$b;w$?$h$&$J<ALd$,$"$C$?$h$&$J$N$G$9$,!";~4V$,7P2a$7$F$$$?$N$G(B
> $BC/$+$4B8CN$G$O$J$$$+$H;W$$!"<ALd$5$;$FD:$-$^$7$?!#(B
> 
> $B4D6-$O(B
> FreeBSD 4.8-Release
> PHP 4.3.3
> net-snmp 5.0.8
> $B$G$9!#(B
> 
> $B$h$m$7$/$*4j$$$7$^$9!#(B
> _______________________________________________
> PHP-users mailing list
> PHP-users @ php.gr.jp
> http://ns1.php.gr.jp/mailman/listinfo/php-users



PHP-users メーリングリストの案内