Compilation Errors in perfparse
Daniel Bimschas
Bimschas at phase4.de
Thu Sep 22 09:31:57 CEST 2005
Hi people!
i'm trying to compile the perfparse plugin on a debian 3.0 (woody) os
with glib12 installed.
i always get configure or compiling errors. if i try to compile with
glib2 theres even more compilation errors. here's the configure output,
below you'll find the make output:
./configure --prefix=/home/watchdog/perfparse --with-glib12=/usr/lib
gives me the following messages:
*****************************************************
Configuration options:
Prefix: /home/watchdog/perfparse
Perfparse: Selected
DB tools: Selected
CGI: Selected
HTTP path for images: /nagios/images
Installation path for images: ${datadir}/perfparse/images
Installation path for CGIs: ${exec_prefix}/sbin
Using glib1.2: 1.2.10
Database support: mysql
*****************************************************
WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Perfparse CGI is now perfparse.cgi.
If you have upgrading, the development team suggests
that you remove your old perfgraph.cgi to avoid
any confusion.
*****************************************************
WARNING WARNING WARNING WARNING WARNING WARNING WARNING
Be sure to install libpp_storage_*.so files in a directory
that ld.so knows (/etc/ld.so.conf, run ldconfig if needed,
or $LD_LIBRARY_PATH)
*****************************************************
maybe the error is this output:
configure: WARNING: Could not find gdlib-config.
The compiler and linker assume that you specify the options
manually in CFLAGS and LDFLAGS when running make
make then, does the following error output:
gcc -g -O2 -Wall -o .libs/perfparsed perfparsed-perfparsed.o perfparsed-perfparse-common.o perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history.o -L/home/watchdog/inst/src/perfparse-0.105.6/libpp_common /home/watchdog/inst/src/perfparse- 0.105.6/libpp_common/.libs/libpp_common.so -lz -L/home/watchdog/inst/src/perfparse-0.105.6/libnagios_perfdata_parser /home/watchdog/inst/src/perfparse- 0.105.6/libnagios_perfdata_parser/.libs/libnagios_perfdata_parser.so -L/usr/lib /usr/lib/libglib.so -ldl -lm -Wl,--rpath - Wl,/home/watchdog/perfparse/lib
perfparsed-storage.o: In function `storage_periodic_cleanup':
/home/watchdog/inst/src/perfparse-0.105.6/perfparse/storage.c:269: undefined reference to `g_path_get_basename'
collect2: ld returned 1 exit status
make[2]: *** [perfparsed] Fehler 1
I would really appreciate if somebody could help me by telling
where the problem is, or maybe if i'm missing some library.
p.s. if i do configure without "--with-glib12=" i'll get even
more make errors for drawing functions that are not found.
thanks!
--
Daniel Bimschas
Entwicklung
Phase 4
Communications GmbH
Bayerstraße 85 a
80335 München
Fon +49.89.30 63 21-52
Fax +49.89.30 63 21-21
ISDN +49.89.30 72 93 33
München | Zürich | Berlin
www.phase4.de
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list