From: Yves <yme...@pe...> - 2005-02-04 17:34:58
|
Daniel, Ben released 0.105.5 : try it. But you will probably have a probl= em with g_path_get_basename. The following is only for your information :) Ben, there are 2 interesting things in the following, including g_path_ge= t_basename. Please have a look on it. > 15:11:25 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > aclocal -= I m4 > /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of > AM_PATH_GTK You are probably running a recent version of aclocal. This is not a probl= em. You get the warning because gtk+ is not as recent as aclocal. But I made some tests o= n other software and it runs anyways. > run info '(automake)Extending aclocal' > or see > http://sources.redhat.com/automake/automake.html#Extending%20aclocal > /usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of > AM_PATH_GLIB > aclocal:configure.ac:92: warning: macro `AM_PATH_GLIB_2_0' not found in > library Your installation of glib is not correct, or you don't have glib2 install= ed, or you should specify the path where the m4 macro is. We won't try to solve this= "bug" because it's an issue only for developpers. If some developer wants to know more,= please write us on per...@li... :) > 15:11:44 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoconf > configure.ac:94: error: possibly undefined macro: AM_PATH_GLIB_2_0 > If this token and others are legitimate, please use m4_pattern_al= low. > See the Autoconf documentation. Same as before :) > 15:12:05 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoheade= r > 15:12:39 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > automake = -a -c > cgi/Makefile.am:39: perfgant_png_LDADD multiply defined in condition TR= UE > ... Ben : What is that ? Do you have an idea ? Check cgi/Makefile.am > cgi/Makefile.am:35: ... `perfgant_png_LDADD' previously defined here > cgi/Makefile.am:40: perfgant_png_CPPFLAGS multiply defined in condition= TRUE > ... > cgi/Makefile.am:36: ... `perfgant_png_CPPFLAGS' previously defined here > perfparse/Makefile.am:13: variable `PERFPARSE_LDFLAGS' is defined but n= o > program or > perfparse/Makefile.am:13: library has `PERFPARSE' as canonic name (poss= ible > typo) Ben : same as above. > Then I've commented out the two lines in configure.ac (93,94) with > AM_PATH_GLIB_2_0 and reexecuted: Without that, you cannot use glib2. I hope you have glib-1.2 installed :) > configure --disable-shared && make > [...] > /bin/bash ../libtool --mode=3Dlink --tag=3DCC gcc -g -O2 -Wall -o pe= rfparsed > perfparsed-perfparsed.o perfparsed-perfparse-common.o > perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o > perfparsed-storage_history.o -lz -L../libpp_common -lpp_common > -L../libnagios_perfdata_parser -lnagios_perfdata_parser -L/usr/local/li= b > -lglib ../intl/libintl.a -liconv -ldl -lnsl -lm -lsocket > gcc -g -O2 -Wall -o perfparsed perfparsed-perfparsed.o > perfparsed-perfparse-common.o perfparsed-server_parser.o > perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history= .o > -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libp= p_com > mon.a -lz > -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_pa= rser > /local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_pars= er/.l > ibs/libnagios_perfdata_parser.a -L/usr/local/lib /usr/local/lib/libglib= .so > -L/usr/lib -L/usr/openwin/lib ../intl/libintl.a /usr/local/lib/libiconv= .so > -ldl -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib > Undefined first referenced > symbol in file > g_path_get_basename perfparsed-storage.o Ben : glib-1.2 has another function for that. Could you make a wrapper fo= r glib-1.2 users ? I consider that one as a bug, and I would be surprised if Daniel manages = to compile perfparse-0.105.5 with glib-1.2 if that has not been fixed. Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |