From: Cisowski, D. <dan...@ed...> - 2005-02-04 16:31:15
|
Yves, thanks for the hints. I've tried to execute them, but yet another error occured: 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 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 15:11:44 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > 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_allow. See the Autoconf documentation. 15:12:05 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoheader 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 TRUE ... 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 no program or perfparse/Makefile.am:13: library has `PERFPARSE' as canonic name (possible typo) Then I've commented out the two lines in configure.ac (93,94) with AM_PATH_GLIB_2_0 and reexecuted: libtoolize -f && aclocal -I m4 && autoconf && autoheader && automake -a -c configure && make Then the same unresolved symbol errors had been printed out I've seen previously. After configure --disable-shared && make the following fatal error occured: [...] /bin/bash ../libtool --mode=link --tag=CC 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 -lz -L../libpp_common -lpp_common -L../libnagios_perfdata_parser -lnagios_perfdata_parser -L/usr/local/lib -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/libpp_com mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_parser /local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_parser/.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 ld: fatal: Symbol referencing errors. No output written to perfparsed collect2: ld returned 1 exit status make[2]: *** [perfparsed] Error 1 make[2]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4/perfparse' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 Is there something else wrong ? Best regards, Daniel -- Daniel Cisowski EDS Operations Services GmbH EAD DP Eisenstr. 58 (58-5-M) D-65428 Ruesselsheim Phone: +49-6142-80-1049 Fax: +49-6142-80-1018 Mobile: +49-170-792-2331 mailto:dan...@ed... jabber:dan...@ei... Yves <> wrote on Friday, February 04, 2005 2:20 PM: > Daniel, > > When you made the changes with my patch, you have to run > > libtoolize -f (I don't think this is necessary, but I'm not sure) > aclocal -I m4 > autoconf > autoheader > automake -a -c > configure && make (this is what you do) > > If you don't do that, configure will not take the patch into account. Ben > forgot to tell you in his previous mail. > Could you try again and tell us ? > > Yves > >> The patch didn't woked, but I've done the changes by hand. >> Unfortunately after the run of configure && make exactly the same error >> messages appeard on the console. I've tried to generate either shared and >> static libs. In both cases make broke with errors like last time: nothing >> changed. > >>> This patch is against 0.105.3, but will work against 0.105.4. Please >>> edit the patch and change 0.105.3 to 0.105.4 before use. Don't worry if >>> the Changelog doesn't patch. >>> >>> $ edit patch.... >>> $ patch -p1 < patch... >>> $ cd perfparse-0.105.4 >>> $ ./configure .... >>> $ make |