> Adi B. wrote:
>
> >salutare,
> >
> >vreau sa imi instalez cacti dar nu reusesc pt ca la compilarea phpului mi
se
> >returneaza eroarea:
> >apache 1.3.31
> >php 4.3.9
> >slackware 10.1
> >
> >..................
> >checking whether to enable shmop support... no
> >checking for SNMP support... yes
> >checking OpenSSL dir for SNMP... no
> >checking for default_store.h... no
> >checking for kstat_read in -lkstat... no
> >checking for snmp_parse_oid in -lsnmp... no
> >checking for init_snmp in -lsnmp... no
> >configure: error: SNMP sanity check failed. Please check config.log for
more
> >information.
> >
> >si in config.log am asa :
> >
> >..................
> >configure:74748: checking for mm support
> >configure:74773: checking whether pwrite works
> >configure:74893: checking whether pread works
> >configure:75376: checking whether to enable shmop support
> >configure:75639: checking for SNMP support
> >configure:75685: checking OpenSSL dir for SNMP
> >configure:75897: checking for default_store.h
> >configure:75907: gcc -E -I/usr/local/snmp/include/ucd-snmp conftest.c
> >
> >
> >>/dev/null 2>conftest.out
> >>
> >>
> >configure:75903:27: default_store.h: No such file or directory
> >configure: failed program was:
> >#line 75902 "configure"
> >#include "confdefs.h"
> >#include <default_store.h>
> >configure:76600: checking for kstat_read in -lkstat
> >configure:76619: gcc -o
>
>onftest -g -O2 -I/usr/local/include  -Wl,-rpath,/usr/local/lib -L/usr/local
/
> >lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
>
>conftest.c -lkstat  -lmysqlclient -lt1 -lfreetype -lpng -lz -ljpeg -lcurl -
l
>
>z -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lssl -lcrypto -ldl -lssl 
-
> >lcrypto -ldl 1>&5
>
>/usr/lib/gcc-lib/i486-slackware-linux/3.3.5/../../../../i486-slackware-linu
x
> >/bin/ld: cannot find -lkstat
> >collect2: ld returned 1 exit status
> >configure: failed program was:
> >#line 76608 "configure"
> >#include "confdefs.h"
> >/* Override any gcc2 internal prototype to avoid an error.  */
> >/* We use char because int might match the return type of a gcc2
> >    builtin and then its argument prototype would still apply.  */
> >char kstat_read();
> >
> >int main() {
> >kstat_read()
> >; return 0; }
> >configure:76872: checking for snmp_parse_oid in -lsnmp
> >configure:76891: gcc -o
>
>onftest -g -O2 -I/usr/local/include  -Wl,-rpath,/usr/local/lib -L/usr/local
/
>
>lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -Wl,
-
> >rpath,/usr/local/snmp/lib -L/usr/local/snmp/lib
>
>conftest.c -lsnmp  -lsnmp -lmysqlclient -lt1 -lfreetype -lpng -lz -ljpeg -l
c
>
>url -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lssl -lcrypto -ldl 
-
> >lssl -lcrypto -ldl 1>&5
>
>/usr/lib/gcc-lib/i486-slackware-linux/3.3.5/../../../../i486-slackware-linu
x
> >/bin/ld: cannot find -lsnmp
> >collect2: ld returned 1 exit status
> >configure: failed program was:
> >#line 76880 "configure"
> >#include "confdefs.h"
> >/* Override any gcc2 internal prototype to avoid an error.  */
> >/* We use char because int might match the return type of a gcc2
> >    builtin and then its argument prototype would still apply.  */
> >char snmp_parse_oid();
> >
> >int main() {
> >snmp_parse_oid()
> >; return 0; }
> >configure:77008: checking for init_snmp in -lsnmp
> >configure:77027: gcc -o
>
>onftest -g -O2 -I/usr/local/include  -Wl,-rpath,/usr/local/lib -L/usr/local
/
>
>lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -Wl,
-
> >rpath,/usr/local/snmp/lib -L/usr/local/snmp/lib
>
>conftest.c -lsnmp  -lsnmp -lmysqlclient -lt1 -lfreetype -lpng -lz -ljpeg -l
c
>
>url -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lcurl -lssl -lcrypto -ldl 
-
> >lssl -lcrypto -ldl 1>&5
>
>/usr/lib/gcc-lib/i486-slackware-linux/3.3.5/../../../../i486-slackware-linu
x
> >/bin/ld: cannot find -lsnmp
> >collect2: ld returned 1 exit status
> >configure: failed program was:
> >#line 77016 "configure"
> >#include "confdefs.h"
> >/* Override any gcc2 internal prototype to avoid an error.  */
> >/* We use char because int might match the return type of a gcc2
> >    builtin and then its argument prototype would still apply.  */
> >char init_snmp();
> >
> >int main() {
> >init_snmp()
> >; return 0; }
> >
> >
> >--- 
> >Detalii despre listele noastre de mail: http://www.lug.ro/
> >
> >
> >
> >
> >
> >
> >
> Nu ai snmp-ul pornit(instalat).
> Cauta pachetul la http://www.linuxpackages.net/
>
> -I.
l-am pus si de acolo ... l-am si compilat separat din net-snmp-5.2.1.tar.gz
si tot nu vrea
altceva e .... poate vreo cale catre snmp  ...

>
> --- 
> Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
>


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui