|
From: Ben C. <bcl...@pe...> - 2005-05-18 16:08:48
|
I am SUSE my self, which may help I am not sure. It works for me
out-the-box, but I am not sure if I hacked my OS to get it this way :)
I think maybe your may be off the path. If you enter
$ which glib-config
Is it found? Can you run it?
You may try:
$ export PATH=${PATH}:/opt/gnome/bin/
If not.
You may try this variant:
--with-glib_config_dir=/opt/gnome/bin
Hope this is some help,
wil son wrote:
> I have a file glib-config in /opt/gnome/bin/
> But when i compile
> --with-glib_config_dir0/opt/gnome/bin/glib-config
> there ist still the error.
> I have installed glib-devel-1.2...
> --- Flo Gleixner <fl...@bi...> schrieb:
>
>
>>
>>You need a program who's name is glib-config. Mine
>>is
>>which glib-config
>>/opt/gnome/bin/glib-config
>>
>>I remember that i had to install the
>>glib-devel-1.2... rpm. I think pp
>>relies on glib 1.2? Ben, do you know more?
>>
>>Flo
>>
>>On Wed, 18 May 2005, wil son wrote:
>>
>>
>>>Hello Flo
>>>
>>>I try it with xour prefix but now there is an
>>
>>other
>>
>>>error:
>>>configure: error: Could not find glib-config
>>>
>>>I try to complie it with
>>>--with-glib_config_dir=/opt/gnome/include/
>>>but it doesn`t work.
>>>
>>>
>>>--- Flo Gleixner <fl...@bi...> schrieb:
>>>
>>>
>>>>look at this:
>>>>dbms.h:30:19: mysql.h: No such file or directory
>>>>
>>>>where did the mysql.h come from? did you mix some
>>>>source packages? read
>>>>your config.log. Mine looks like this:
>>>>
>>>>less config.log
>>>>...
>>>>configure:26413: checking for mysql_config
>>>>configure:26432: found /usr/bin/mysql_config
>>>>configure:26445: result: /usr/bin/mysql_config
>>>>...
>>>>MYSQL_CFLAGS='-I/usr/include/mysql
>>>>-fmessage-length=0 -DPIC -fPIC
>>>>-DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing'
>>>>MYSQL_CONFIG='/usr/bin/mysql_config'
>>>>MYSQL_LIBS='-L/usr/lib64/mysql -lmysqlclient -lz
>>>>-lcrypt -lnsl -lm'
>>>>...
>>>>
>>>>using Suse 9.2
>>>>
>>>>i guess you should create a fresh compile
>>
>>directory
>>
>>>>and try:
>>>>
>>>>./configure --prefix=/usr/local/nagios \
>>>>--with-imagedir=/usr/local/nagios/share/images \
>>>>--with-cgidir=/usr/local/nagios/sbin \
>>>>--with-http_image_path=/nagios/images \
>>>>--with-glib12=/opt/gnome/include/glib-1.2
>>>>
>>>>(Example)
>>>>
>>>>Flo
>>>>
>>>>
>>>>On Wed, 18 May 2005, wil son wrote:
>>>>
>>>>
>>>>>There was a mysql.h file. I move the file away
>>
>>but
>>
>>>>>there are still errors
>>>>>
>>>>>make all-recursive
>>>>>make[1]: Entering directory
>>>>>`/usr/local/nagios/perfparse'
>>>>>Making all in intl
>>>>>make[2]: Entering directory
>>>>>`/usr/local/nagios/perfparse/intl'
>>>>>make[2]: Für das Ziel »all« ist nichts zu
>>
>>tun.
>>
>>>>>make[2]: Leaving directory
>>>>>`/usr/local/nagios/perfparse/intl'
>>>>>Making all in m4
>>>>>make[2]: Entering directory
>>>>>`/usr/local/nagios/perfparse/m4'
>>>>>make[2]: Für das Ziel »all« ist nichts zu
>>
>>tun.
>>
>>>>>make[2]: Leaving directory
>>>>>`/usr/local/nagios/perfparse/m4'
>>>>>Making all in libnagios_perfdata_parser
>>>>>make[2]: Entering directory
>>>>>
>>>>
> `/usr/local/nagios/perfparse/libnagios_perfdata_parser'
>
>>>>>if /bin/sh ../libtool --tag=CC --mode=compile
>>
>>gcc
>>
>>>>>-DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall
>>
>>-MT
>>
>>>>>log_parser.lo -MD -MP -MF ".deps/log_parser.Tpo"
>>>>
>>>>-c -o
>>>>
>>>>>log_parser.lo log_parser.c; \
>>>>>then mv -f ".deps/log_parser.Tpo"
>>>>>".deps/log_parser.Plo"; else rm -f
>>>>>".deps/log_parser.Tpo"; exit 1; fi
>>>>>mkdir .libs
>>>>>gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall
>>
>>-MT
>>
>>>>>log_parser.lo -MD -MP -MF .deps/log_parser.Tpo
>>
>>-c
>>
>>>>>log_parser.c -fPIC -DPIC -o .libs/log_parser.o
>>>>>gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall
>>
>>-MT
>>
>>>>>log_parser.lo -MD -MP -MF .deps/log_parser.Tpo
>>
>>-c
>>
>>>>>log_parser.c -o log_parser.o >/dev/null 2>&1
>>>>>/bin/sh ../libtool --tag=CC --mode=link gcc -g
>>>>
>>>>-O2
>>>>
>>>>>-Wall -o libnagios_perfdata_parser.la -rpath
>>>>>/usr/local/nagios/lib log_parser.lo -ldl -lm
>>>>>gcc -shared .libs/log_parser.o -ldl -lm
>>>>
>>>>-Wl,-soname
>>>>
>>>>>-Wl,libnagios_perfdata_parser.so.0 -o
>>>>>.libs/libnagios_perfdata_parser.so.0.0.0
>>>>>(cd .libs && rm -f
>>
>>libnagios_perfdata_parser.so.0
>>
>>>>&&
>>>>
>>>>>ln -s libnagios_perfdata_parser.so.0.0.0
>>>>>libnagios_perfdata_parser.so.0)
>>>>>(cd .libs && rm -f libnagios_perfdata_parser.so
>>
>>&&
>>
>>>>ln
>>>>
>>>>>-s libnagios_perfdata_parser.so.0.0.0
>>>>>libnagios_perfdata_parser.so)
>>>>>ar cru .libs/libnagios_perfdata_parser.a
>>>>
>>>>log_parser.o
>>>>
>>>>>ranlib .libs/libnagios_perfdata_parser.a
>>>>>creating libnagios_perfdata_parser.la
>>>>>(cd .libs && rm -f libnagios_perfdata_parser.la
>>
>>&&
>>
>>>>ln
>>>>
>>>>>-s ../libnagios_perfdata_parser.la
>>>>>libnagios_perfdata_parser.la)
>>>>>make[2]: Leaving directory
>>>>>
>>>>
> `/usr/local/nagios/perfparse/libnagios_perfdata_parser'
>
>>>>>Making all in libpp_common
>>>>>make[2]: Entering directory
>>>>>`/usr/local/nagios/perfparse/libpp_common'
>>>>>if /bin/sh ../libtool --tag=CC --mode=compile
>>
>>gcc
>>
>>>>>-DHAVE_CONFIG_H -I. -I. -I..
>>>>>'-DLIBDIR="/usr/local/nagios/lib"'
>>>>>'-DLOCALSTATEDIR="/usr/local/nagios/var"'
>>>>>'-DSYSCONFDIR="/usr/local/nagios/etc"'
>>>>>'-DPREFIX="/usr/local/nagios"'
>>>>>-I/opt/gnome/include/glib-2.0
>>>>>-I/opt/gnome/lib/glib-2.0/include
>>>>>'-DLOCALEDIR="/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=\"/usr/local/nagios/lib\"
>>>>>-DLOCALSTATEDIR=\"/usr/local/nagios/var\"
>>>>>-DSYSCONFDIR=\"/usr/local/nagios/etc\"
>>>>>-DPREFIX=\"/usr/local/nagios\"
>>>>>-I/opt/gnome/include/glib-2.0
>>>>>-I/opt/gnome/lib/glib-2.0/include
>>>>>-DLOCALEDIR=\"/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
>>>>>gcc -DHAVE_CONFIG_H -I. -I. -I..
>>>>>-DLIBDIR=\"/usr/local/nagios/lib\"
>>>>>-DLOCALSTATEDIR=\"/usr/local/nagios/var\"
>>>>>-DSYSCONFDIR=\"/usr/local/nagios/etc\"
>>>>>-DPREFIX=\"/usr/local/nagios\"
>>>>>-I/opt/gnome/include/glib-2.0
>>>>>-I/opt/gnome/lib/glib-2.0/include
>>>>>-DLOCALEDIR=\"/usr/local/nagios/share/locale\"
>>>>
>>>>-I.. -g
>>
> === message truncated ===
>
>
>
>
>
>
>
> ___________________________________________________________
> Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Perfparse-users mailing list
> Per...@li...
> https://lists.sourceforge.net/lists/listinfo/perfparse-users
>
|