trouble building fahmon on Centos 5.4

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

Post Reply
fredex
Posts: 48
Joined: Thu Apr 01, 2010 1:17 am
Location: stoneham, ma, us

trouble building fahmon on Centos 5.4

Post by fredex »

Hi, trying to build FAHMON on centos 5.4. I'd be happy if I could find a precompiled RPM for it, but so far no luck.

I've installed wxgtk and wxgtk devel, and everything appears to be in the right place.

when I confiugre fahmon (./configure) among other things it tells me this:
  • configure: ANSI wxWidgets
    checking for wx-config... /usr/local/bin/wx-config
    checking for wxWidgets version >= 2.8.0... yes (version 2.8.10)
    checking for wxWidgets static library... no
    configure: Unicode wxWidgets
    checking for wx-config... (cached) /usr/local/bin/wx-config
    checking for wxWidgets version >= 2.8.0... no
    configure: WARNING:
    Unicode build of wxWidgets not found.

    While FahMon will still compile with the ansi version
    of wxWidgets, you will lose the ability to use any unicode
    character sets for translations. If this is not what you
    want, install the unicode build of wxWidgets and run
    configure again.
but that doesn't appear to be anything to cause a problem...

then when I build I get a bazillion errors, beginning with this:
  • # make
    make all-recursive
    make[1]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1'
    Making all in m4
    make[2]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/m4'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/m4'
    Making all in wxcurl
    make[2]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl'
    Making all in include
    make[3]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include'
    Making all in wx
    make[4]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include/wx'
    Making all in curl
    make[5]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include/wx/curl'
    make[5]: Nothing to be done for `all'.
    make[5]: Leaving directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include/wx/curl'
    make[5]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include/wx'
    make[5]: Nothing to be done for `all-am'.
    make[5]: Leaving directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include/wx'
    make[4]: Leaving directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include/wx'
    make[4]: Entering directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include'
    make[3]: Leaving directory `/home/fredex/myfiles/programs/fahmon/FahMon-2.3.99.1/wxcurl/include'
    Making all in src
    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
    mkdir .libs
    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
    ../../wxcurl/include/wx/curl/base.h:36:24: error: wx/mstream.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:37:24: error: wx/sstream.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:38:39: error: wx/intl.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:39:25: error: wx/filename.h: No such file or directory
it looks to me as if it isn't finding the wx headers in /usr/include/wx-2.8/wx, (even though configure didn't complain), so I've tried messing with configure options for include directories, but since I don't understand configure very well I've not been able to make it compile.

I'd welcome any advice/suggestions.

Thanks in advance!
fredex
Posts: 48
Joined: Thu Apr 01, 2010 1:17 am
Location: stoneham, ma, us

Re: trouble building fahmon on Centos 5.4 [SOLVED]

Post by fredex »

duh! :(

I had detritus from a failed wxgtk build lying around in /usr/local that apparently confused the ./configure script.

once that was cleaned up and configure run against a freshly extracted set of fahmon sources, all is now well.
Post Reply