From: James D. <jd...@at...> - 2005-02-23 23:13:30
|
My bad... I hadn't re-run the ./configure script since I installed glib2-devel. After doing a make clean and re-running, it got past the error. However, I ran into another error where the configure script could not find gdlib-config and the make would fail when calling gd. I had gd and gd-devel installed, but it would not work until after I installed the gd-progs package. Now the make completes successfully. Thanks a ton for your help! I really appreciate it. -James -----Original Message----- From: Yves [mailto:yme...@pe...]=20 Sent: Wednesday, February 23, 2005 3:34 AM To: James Derieg Cc: per...@li... Subject: Re: [Perfparse-users] Perfparse 0.105.6 compile error > I get the following when trying to compile PerfParse 0.105.6 on Fedora > Core 3. I have glib, glib2, and devel packages installed. Please help. Are you sure ? See below... > Thanks > > -James Derieg > > [root@dns perfparse-0.105.6]# make Note for all users : perfparse does not need root privileges (nagios does not either). As a system admin, I recommand you not to use the root account to compile and use perfparse. > config_file.c:40:18: glib.h: No such file or directory Your system says that glib.h, that is a file from the glib or glib2 devel packages, is missing. 4 possibilities : 1/ you don't have the devel packages installed. Check again. 2/ you have the devel packages installed, but for some reason, glib.h was removed 3/ you have the devel packages installed, but they are in an unusual place. Run "pkg-config glib-2.0 --cflags" (I'm not sure about this command line) and check that you have the required files. 4/ you have the devel packages installed, but they are broken. Report this to the fedora team. Also check what ./configure says about glib when you run it. You should find some lines about it in the middle, and the version used at the end. 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/ - |