cedlecomte / RTG2

Realtime Traffic Grapher 2
GNU General Public License v2.0
11 stars 9 forks source link

RTG - Ubuntu 12.04 LTS - yacc issue #37

Closed cedlecomte closed 10 years ago

cedlecomte commented 10 years ago

From strydom....@gmail.com on September 17, 2012 02:18:39

What steps will reproduce the problem? 1. ./configure

  1. make

Fails on Ubuntu 12.04 LTS with the error:


Making all in cgilib-0.4 make[1]: Entering directory /root/downloads/rtg2-0.9.1-1/cgilib-0.4' gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include -I/usr/include -I/usr/include/mysql -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -g -O2 -MT cgi.o -MD -MP -MF .deps/cgi.Tpo -c -o cgi.o cgi.c cgi.c: In function âcgiRedirectâ: cgi.c:261:2: warning: format â%dâ expects argument of type âintâ, but argument 2 has type âsize_tâ [-Wformat] cgi.c: In function âcgiInitâ: cgi.c:109:11: warning: ignoring return value of âfgetsâ, declared with attribute warn_unused_result [-Wunused-result] mv -f .deps/cgi.Tpo .deps/cgi.Po rm -f libcgi.a ar cru libcgi.a cgi.o ranlib libcgi.a make[1]: Leaving directory/root/downloads/rtg2-0.9.1-1/cgilib-0.4' Making all in src make[1]: Entering directory /root/downloads/rtg2-0.9.1-1/src' /bin/bash ../config/ylwrap rtgtarg.y y.tab.c rtgtarg.c y.tab.h rtgtarg.h y.output rtgtarg.output -- yacc -d ../config/ylwrap: line 113: yacc: command not found make[1]: *** [rtgtarg.c] Error 1 make[1]: Leaving directory/root/downloads/rtg2-0.9.1-1/src'

make: *\ [all-recursive] Error 1

Solution :

apt-get install bison

./configure

make

Original issue: http://code.google.com/p/rtg2/issues/detail?id=39

cedlecomte commented 10 years ago

It's not an issue it's a missing requirement. I'm closing the docs and I will improve the documentation.

Thanks, Cédric.