[CentOS] compiling FahMON for Centos?

Sat Apr 3 21:54:01 UTC 2010
fred smith <fredex at fcshome.stoneham.ma.us>

On Sat, Apr 03, 2010 at 03:36:59PM -0400, Tony Schreiner wrote:
> fred smith wrote:
> > Hi all!
> >
> > Thanks to those who pointed me to wxwidgets packages for centos!
> >
> > I'm trying to build/install FAHMON (a monitoring tool for Folding At Home
> > clients) on centos 5.4, which is why I needed the wxwidgets stuff.
> >
> > fahmon goes through .configure just fine, but it won't compile and it's
> > not clear to me what's wrong. it spews bazillions of errors, starting with:
> >
> > make[3]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/src'
> > /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../wxcurl/include   -Wall -Wno-strict-aliasing -g -O2   -MT base.lo -MD -MP -MF .deps/base.Tpo -c -o base.lo base.cpp
> >  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../wxcurl/include -Wall -Wno-strict-aliasing -g -O2 -MT base.lo -MD -MP -MF .deps/base.Tpo -c base.cpp  -fPIC -DPIC -o .libs/base.o
> > base.cpp:16:23: error: wx/wxprec.h: No such file or directory
> > base.cpp:19:23: error: wx/wx.h: No such file or directory
> > In file included from base.cpp:25:
> > ../../wxcurl/include/wx/curl/base.h:32:22: error: wx/event.h: No such file or directory
> > ../../wxcurl/include/wx/curl/base.h:33:23: error: wx/string.h: No such file or directory
> > ../../wxcurl/include/wx/curl/base.h:34:25: error: wx/datetime.h: No such file or directory
> > ../../wxcurl/include/wx/curl/base.h:35:23: error: wx/stream.h: No such file or directory
> >
> > it looks like it's not including the header tree in /usr/lib/wx-2.8/wx
> > which is where those files are. I've tried messing with options to
> > configure but that doesn't seem to help. I probably fail to fully
> > understand how configure works...
> >
> > so to short-circuit beating my head on this wall, can any of you suggest
> > where I might find a binary package for this utility? The fahmon site doesn't
> > appear to have one, as far as I can see.
> >
> > Thanks, once again!
> >
> >   
> yum search "*/wx/stream.h"
> 
> tells you that you need wxGTK-devel

I have it installed!

	# rpm -qa | grep -y wxgtk
	wxGTK-gl-2.8.9-2.el5
	wxGTK-devel-2.8.9-2.el5
	wxGTK-2.8.9-2.el5

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------