[Date Prev] [Date Next] | [Thread Prev] [Thread Next] | [Date Index] [Thread Index] |
[snips-users] Re: Problems building SNIPS
|
Patrick, The snips library did not build because of the bison error. You probably have yacc installed on Linux 2.2, try specifying yacc during Configure. -vikas Patrick Hyland wrote: > > Hi > > I have attached the results of a make >& make.out after doing a sh > Configure of SNIPS. As you can see by the output, the code for the > various monitors are not > being compiled. > > The most common bit of error message is : > > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [display_snips_datafile] Error 1 > > Could you offer any advice on what is going wrong. > > Thank you. > Patrick > > BUILDING SNIPS revision 1.0 for Linux 2.2.12 > > MAKING IN lib > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/lib' > Expect 13 shift/reduce conflicts from bison -y : > bison -y getdate.y > make[1]: execvp: bison: Permission denied > make[1]: *** [getdate.o] Error 127 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/lib' > > MAKING IN utility > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/utility' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include > display_snips_datafile.o -L/var/web/webspace/home/patrick/snips-1.0/lib > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [display_snips_datafile] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/utility' > > MAKING IN etherload > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/etherload' > gcc -o etherload -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include bpf.o etherload.o > dlpi.o main.o nit.o pfilt.o snoop.o linux. > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [etherload] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/etherload' > > MAKING IN snipslog > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/snipslog' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include snipslogd.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv -lsni > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [snipslogd] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/snipslog' > > MAKING IN nsmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/nsmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include main.o nsmon.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv -l > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [nsmon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/nsmon' > > MAKING IN ntpmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/ntpmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include main.o ntpmon.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv - > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [ntpmon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/ntpmon' > > MAKING IN pingmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/pingmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include main.o pingmon.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [pingmon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/pingmon' > > MAKING IN portmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/portmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include main.o portmon.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [portmon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/portmon' > > MAKING IN radiusmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/radiusmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include main.o radiusmon.o > md5.o -L/var/web/webspace/home/patrick/snips-1.0/lib - > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [radiusmon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/radiusmon' > > MAKING IN perl-monitors > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/perl-monitors' > Making snmpwalk under > /var/web/webspace/home/patrick/snips-1.0/cmu-snmp/snmpapps > loading cache ./config.cache > -r > Linux ld.so > creating libtool > configure: error: Could not locate CMU SNMP Libraries! > make[2]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/cmu-snmp/snmpapps' > gcc snmpwalk.c -o snmpwalk > snmpwalk.c:61: snmp/snmp.h: No such file or directory > make[2]: *** [snmpwalk] Error 1 > make[2]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/cmu-snmp/snmpapps' > make[2]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/cmu-snmp/snmpapps' > gcc snmpget.c -o snmpget > snmpget.c:62: snmp/snmp.h: No such file or directory > make[2]: *** [snmpget] Error 1 > make[2]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/cmu-snmp/snmpapps' > make[1]: *** [snmpprogs] Error 2 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/perl-monitors' > > MAKING IN perl-module > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/perl-module' > make[1]: *** No targets specified and no makefile found. Stop. > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/perl-module' > > MAKING IN snipstv > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/snipstv' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include create_subwins.o > do_filter.o help_page.o init.o main.o parse_user_input.o > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [snipstv] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/snipstv' > > MAKING IN snipsweb > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/snipsweb' > SNIPS Web Interface > Doing substitutions for PERL, ROOTDIR on: > snipsweb.cgi rrdgraph.cgi genweb.cgi genweb-filter.cgi > snipsweb-confg updates webusers > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/snipsweb' > > MAKING IN tksnips > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/tksnips' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include ndaemon.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv -lsnips > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [ndaemon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/tksnips' > > MAKING IN tpmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/tpmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include main.o tpmon.o > -L/var/web/webspace/home/patrick/snips-1.0/lib -lresolv -l > /usr/bin/ld: cannot find -lsnips > collect2: ld returned 1 exit status > make[1]: *** [tpmon] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/tpmon' > > MAKING IN trapmon > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/trapmon' > gcc -O -DSNIPS -DRRDTOOL -DLINUX2 > -I/var/web/webspace/home/patrick/snips-1.0/include > -I/var/web/webspace/home/patrick/snips-1.0/cmu-snmp/include -c > trapmon.c > trapmon.c:91: snmp/snmp.h: No such file or directory > make[1]: *** [trapmon.o] Error 1 > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/trapmon' > > MAKING IN pingmon/multiping > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/pingmon/multiping' > make[1]: `multiping' is up to date. > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/pingmon/multiping' > > MAKING IN pingmon/rpcping > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/pingmon/rpcping' > make[1]: `rpcping' is up to date. > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/pingmon/rpcping' > > MAKING IN man > ---------- > make[1]: Entering directory > `/var/web/webspace/home/patrick/snips-1.0/man' > Building all in 'man' > make[1]: Leaving directory > `/var/web/webspace/home/patrick/snips-1.0/man' > > Now run make install > > -- > Patrick Hyland > Thawte System Administrator > > 'In a mad world, only the mad are sane' > ~ Akiro Kurosawa ~ > > Need the strongest encryption available? Get a Thawte 128-bit > SuperCert at http://www.thawte.com/certs/server/128bit/contents.html > Existing Thawte customers: get a $50 discount if you change to a > SuperCert at https://www.thawte.com/cgi/server/step.exe |