i’ve installed wxWidgets in the default location.
(i started w/ 3.0 but configure.ac makes it look like
it doesn’t actually work w/ 3.0, so i’m back to 2.8.)
centos 7
audacity’s ./configure spews thusly:
checking for wx-config... /usr/local/bin/wx-config
Warning: No config found to match: /usr/local/bin/wx-config --unicode=yes --version
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: Checking that the chosen version of wxWidgets is 2.8.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.8.x or higher.
isn’t wxGTK part of wxWidgets? do i have to install that
separately? i’ve downloaded …gtk and, offhand, it looks like
the files in …gtk are also in …widgets.
Perhaps the best thing to do would be to uninstall your local version(s) of wxwidgets completely then try again building the unicode version of wxWidgets 2.8.12.
make -n install
can be useful in showing the steps that installation takes, which you can then undo.
gets me around the original problem, but then i get
configure: error: Audacity requires libsndfile to be enabled
even after installing libsndfile, export LD_LIBRARY_PATH=/usr/local/lib,
and ldconfig, copying libsndfile.* into lib-src (somebody wrote that
somewhere)
okay. i’ve deleted all traces of the wxWidgets, libsndfile, such
that /usr/local is empty of regular files.
in wxWidgets-2.8.12 i ran
./configure
yielding this.
Which GUI toolkit should wxWidgets use? GTK+ 2
Should wxWidgets be compiled into single library? no
Should wxWidgets be compiled in debug mode? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? no
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.4 no
wxWidgets 2.6 yes
Which libraries should wxWidgets use?
jpeg builtin
png sys
regex sys
tiff builtin
zlib sys
odbc no
expat sys
libmspack no
sdl no
and then
make
make install
export LD_LIBRARY_PATH=/usr/local/lib
ldconfig
which wx-config
/usr/local/bin/wx-config
ls /usr/local/lib/wx/config
gtk2-ansi-release-2.8
once again, running audacity 2.0.6’s ./configure yields
checking for wx-config... /usr/local/bin/wx-config
Warning: No config found to match: /usr/local/bin/wx-config --unicode=yes --ve
rsion
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: Checking that the chosen version of wxWidgets is 2.8.x
configure: error: Unable to locate a suitable configuration of wxWidgets v2.8.x
or higher.
The currently available configurations are listed below. If necessary, either
install the package for your distribution or download the latest version of
wxWidgets
from http://wxwidgets.org.
Default config is gtk2-ansi-release-2.8
Default config will be used for output
As previously suggested, you need to build a unicode version of widgets for Audacity to work with. Because 2.8.12 builds ANSI by default, you therefore have to specify unicode when configuring widgets. Try: