From: Yves <yme...@pe...> - 2005-03-22 10:05:41
|
> Guys, > > I've been trying to compile perfparse using the glib 1.2.10 libraries > on Redhat ES 3.0. > > First make complained that config_file.c could not find glib.h - so I > copied that to /app/perfparse/perfparse-0.105.6. Then after more error= s > I altered glib.h to include glibconfig.h (created when I did a configur= e > on glib). This is not a good idea because perfparse expects glib.h from glib-2.X. If you enabled --with-glib12=3D/path/to/glib-config, find out if there is= a problem with glib-config. If you did not enable it, do it. > > Now - I have an error in db_macro_actions.c - it doesn't seem to be > finding g_string_printf. this is a glib-2.0 feature. > > Trying to install glib-2 caused even more problems. Any ideas? I'm > tearing my hair out I'm afraid. Is there some simple thing I need to > do? If you have problems to install glib-2 on a redhat ES, the best is to ask= Redhat for support : you pay for that :) When glib-2 is installed, ensure that pkg-config is installed too and rec= ompile perfparse. Don't reuse what you did before : uncompress perfparse.tar.gz= in an empty directory and try again. 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/ - |