A little advice please..

On Audacity configuration
I am running FC5 2.6.17-1.2174_FC5smp
I have built everything so far from source and I am having trouble.. understanding in what I don't have.
I have vers wxGTK-2.6.3 and it compiled ok
I can see the wx-config file in /usr/local/lib also the symlinks pointing to
/usr/local/lib/wx/config where gtk2-ansi-release-2.6 is?
The following is the tail of the config script.
" checking for wx-config... /usr/local/bin/wx-config
configure: Checking that the installed version of wxWidgets is 2.4.x
Warning: No config found to match: /usr/local/bin/wx-config --version=2.4 --release
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
configure: error: Unable to locate a suitable configuration of wxWidgets v2.4.x.
The currently available configurations are listed below. If necessary, either
install the package for your distribution or download the 2.4.x version of
wxWidgets from
http://wxwidgets.org.
To help configure find the right version set WX_CONFIG to point to it.
wxWidgets 2.5.x and 2.6.x are NOT supported!
Can you point me in the right direction..I think I have googled in a circle so far and
I can stand a little more beating.. toe get this right.
but I'm dead keen
Thanks in advance
regards
albert