[Haskell-cafe] cabal install wx failures

Jeffrey Brown jeffbrown.the at gmail.com
Sun Mar 29 01:35:03 UTC 2015


I realized this should be on haskell-beginners, not haskell-cafe, so I
reposted there. Sorry.

On Sat, Mar 28, 2015 at 5:31 PM, Jeffrey Brown <jeffbrown.the at gmail.com>
wrote:

> Hi,
>
> 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-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 ...
>     Configuring wxc-0.91.0.0...
>
>                         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
> 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 3.0.2.0
>
>     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
> -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:
>     ExitFailure 1
>     wxcore-0.91.0.0 depends on wxc-0.91.0.0 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:
>
>     this_version="3.0"
>     [ -z "$output_option_release"       ] || echo "3.0"
>     [ -z "$output_option_version"       ] || echo "3.0.2"
>     [ -z "$output_option_version_full"  ] || echo "3.0.2.0"
>
> so I believe the version of wx I have is 3.0.2.0.
>
> I'm running OpenSuse 13.2 on a Lenovo Thinkpad Edge 535 or 545.
>
> Thanks,
> Jeff
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150328/07c27ce0/attachment.html>


More information about the Haskell-Cafe mailing list