[Haskell-cafe] cabal install wx failures

Jeffrey Brown jeffbrown.the at gmail.com
Sun Mar 29 00:31:15 UTC 2015


I switched OSs to change other problems and in the process lost wxHaskell.

The first time I tried to add it to my new system, cabal install wx gave me
more output, installing a lot of things. Since then it has only given this:

    jeff at linux-ee07:~> cabal install wx
    Resolving dependencies...
    [1 of 1] Compiling Main             (
/tmp/wxc- )
    Linking /tmp/wxc- ...
    Configuring wxc-

                        Warning: No config found to match:
/usr/bin/wx-config --version=2.9 --version-full
                                         in /usr/lib64/wx/config
                        If you require this configuration, please install
the desired
                        library build.  If this is part of an automated
                        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

    Building wxc
    /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
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-
    cabal: Error: some packages failed to install:
    wx- depends on wxc- which failed to install.
    wxc- failed during the building phase. The exception was:
    ExitFailure 1
    wxcore- depends on wxc- which failed to install.
    jeff at linux-ee07:~>

The file /usr/bin/wx-config exists. It may have gotten there today when I
installed some wx packages via zypper (because I use openSuse). I don't
remember which, 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 ""

so I believe the version of wx I have is

I'm running OpenSuse 13.2 on a Lenovo Thinkpad Edge 535 or 545.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150328/8b3469f9/attachment.html>

More information about the Haskell-Cafe mailing list