I first sent this to Haskell-Cafe, then thought this would be a better destination.
I switched OSs, from Ubuntu to OpenSuse 13.2, to fix some other problems. I since installed The Haskell Platform, and would like to install wxHaskell.
first time I tried that under OpenSuse, cabal install wx provided more output, installing a lot of things. Since then it has only given
jeff <at> linux-ee07:~> cabal install wx
[1 of 1] Compiling Main ( /tmp/wxc-0.91.0.0-16672/wxc-0.91.0.0/Setup.hs, /tmp/wxc-0.91.0.0-16672/wxc-0.91.0.0/dist/setup/Main.o )
Linking /tmp/wxc-0.91.0.0-16672/wxc-0.91.0.0/dist/setup/setup ...
Warning: No config found to match: /usr/bin/wx-config --version=2.9 --version-full
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.
readProcess failed: readProcess: wx-config "--version=2.9" "--version-full" (exit 1): failed
Configuring wxc to build against wxWidgets 18.104.22.168
/usr/bin/gcc -Wl,--hash-size=31 -Wl,--reduce-memory-overheads
-Wl,--disable-new-dtags -Isrc/include -I/usr/include/wx-3.0
-I/usr/lib64/wx/include/gtk3-unicode-3.0 -D__WXGTK__ -DWXUSINGDLL
-DwxDEBUG_LEVEL=0 -D_FILE_OFFSET_BITS=64 -DwxcREFUSE_MEDIACTRL -fPIC -c
src/cpp/apppath.cpp -o dist/build/src/cpp/apppath.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Failed to install wxc-0.91.0.0
cabal: Error: some packages failed to install:
wx-0.91.0.0 depends on wxc-0.91.0.0 which failed to install.
wxc-0.91.0.0 failed during the building phase. The exception was:
wxcore-0.91.0.0 depends on wxc-0.91.0.0 which failed to install.
jeff <at> linux-ee07:~>
file /usr/bin/wx-config exists. It may have gotten there today when I
installed some wx packages via zypper (OpenSuse's equivalent to apt-get). I don't
remember which those packages were, but in the wx-configg file appear these lines:
[ -z "$output_option_release" ] || echo "3.0"
[ -z "$output_option_version" ] || echo "3.0.2"
[ -z "$output_option_version_full" ] || echo "22.214.171.124"
so I believe the version of wx I have is 126.96.36.199.
I'm using a Lenovo Thinkpad Edge 535 or 545.