From: Alex B. <Ale...@dp...> - 2005-03-22 05:40:05
|
Guys, I've been trying to compile perfparse using the glib 1.2.10 libraries on Redhat ES 3.0. First make complained that config_file.c could not find glib.h - so I copied that to /app/perfparse/perfparse-0.105.6. Then after more errors I altered glib.h to include glibconfig.h (created when I did a configure on glib). Now - I have an error in db_macro_actions.c - it doesn't seem to be finding g_string_printf. Trying to install glib-2 caused even more problems. Any ideas? I'm tearing my hair out I'm afraid. Is there some simple thing I need to do? Alex gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/nagios/etc\" -DPREFIX=\"/usr/local/nagios\" -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -I/usr/include/mysql -I../libpp_common -I.. -g -O2 -Wall -MT libpp_mysql_la-db_macro_actions.lo -MD -MP -MF .deps/libpp_mysql_la-db_macro_actions.Tpo -c db_macro_actions.c -fPIC -DPIC -o .libs/libpp_mysql_la-db_macro_actions.o db_macro_actions.c: In function `reset_host_delete_policy': db_macro_actions.c:54: warning: implicit declaration of function `g_string_printf' db_macro_actions.c:70: warning: implicit declaration of function `g_string_append_printf' db_macro_actions.c: In function `db_version_error': db_macro_actions.c:166: void value not ignored as it ought to be make[1]: *** [libpp_mysql_la-db_macro_actions.lo] Error 1 make[1]: Leaving directory `/app/perfparse/perfparse-0.105.6/libpp_mysql' make: *** [install-recursive] Error 1 |