Closed cedlecomte closed 10 years ago
From strydom....@gmail.com on September 17, 2012 02:18:39
What steps will reproduce the problem? 1. ./configure
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'
/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/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
Solution :
Original issue: http://code.google.com/p/rtg2/issues/detail?id=39
It's not an issue it's a missing requirement. I'm closing the docs and I will improve the documentation.
Thanks, Cédric.
From strydom....@gmail.com on September 17, 2012 02:18:39
What steps will reproduce the problem? 1. ./configure
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