From: Cook, G. <GW...@ma...> - 2005-01-12 16:31:44
|
Please use the PP mailing list for technical questions. I've copied this message to the list as well, perhaps someone can assist. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile)=20 -----Original Message----- From: riccardo andreetta [mailto:ric...@as...]=20 Sent: Wednesday, January 12, 2005 9:26 AM To: gc...@pe... Subject: installation problem Good evening, I'm trying to install perfmon, but I get the following error: =20 ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/nagios/lib =20 If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' =20 See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/local/ConfigNagios/perfparse-0.104.8/libnagios_perfdata_parser' make[2]: Leaving directory `/usr/local/ConfigNagios/perfparse-0.104.8/libnagios_perfdata_parser' Making install in libpp_common make[2]: Entering directory `/usr/local/ConfigNagios/perfparse-0.104.8/libpp_common' if /bin/sh ../libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DLIBDIR=3D"/usr/local/nagios/lib"' '-DLOCALSTATEDIR=3D"/usr/local/nagios/var"' '-DSYSCONFDIR=3D"/usr/local/nagios/etc"' = '-DPREFIX=3D"/usr/local/nagios"' '-DLOCALEDIR=3D"/usr/local/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF ".deps/libpp_common_la-config_file.Tpo" -c -o libpp_common_la-config_file.lo `test -f 'config_file.c' || echo './'`config_file.c; \ then mv -f ".deps/libpp_common_la-config_file.Tpo" ".deps/libpp_common_la-config_file.Plo"; else rm -f ".deps/libpp_common_la-config_file.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=3D\"/usr/local/nagios/lib\" -DLOCALSTATEDIR=3D\"/usr/local/nagios/var\" -DSYSCONFDIR=3D\"/usr/local/nagios/etc\" = -DPREFIX=3D\"/usr/local/nagios\" -DLOCALEDIR=3D\"/usr/local/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o .libs/libpp_common_la-config_file.o config_file.c:40:18: glib.h: No such file or directory config_file.c: In function `config_argv': config_file.c:268: error: `gchar' undeclared (first use in this function) config_file.c:268: error: (Each undeclared identifier is reported only once config_file.c:268: error: for each function it appears in.) config_file.c:268: error: `str' undeclared (first use in this function) config_file.c:268: warning: implicit declaration of function `g_strdup_printf' config_file.c:270: warning: implicit declaration of function `g_free' make[2]: *** [libpp_common_la-config_file.lo] Error 1 make[2]: Leaving directory `/usr/local/ConfigNagios/perfparse-0.104.8/libpp_common' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/ConfigNagios/perfparse-0.104.8' make: *** [install-strip] Error 2 =20 =20 I didn't find anything in the site or newsgroups about this file (glib.h). It seems something standard, since in the file it is included like for example "stdio.h" others ... =20 Thank you very much in advance, best regards =20 =20 Riccardo Andreetta =20 ASCO TLC S.p.A. via Friuli, 11 31020 San Vendemiano (TV) tel: 0438-402661 fax: 0438-403124 =20 |