#96 Wxc searches for wxWidgets 2.9 unnecessarily

confirmed
closed-fixed
nobody
None
5
2014-10-25
2014-08-20
No

Wxc gives an error message if version 2.9 of wxWidgets is not installed, but 3.0 is:

user@Computer:~/Documents/Haskell/wxHaskell/wxc$ cabal install
Resolving dependencies...
[1 of 1] Compiling Main             ( dist/setup/setup.hs, dist/setup/Main.o )
Linking ./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/lib/x86_64-linux-gnu/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.1.0

When wxWidgets 3.0 is found, wxc should not try to find version 2.9

Item Version
OS Ubuntu 14.04.1
GHC 7.8.3
wxWidgets 3.0.1
wxHaskell 0.91.0.0
GCC 3.4.5 (mingw-vista special r3)

Discussion

  • Henk-Jan van Tuyl

    The solution is now on GitHub (see patch "wxc/setup.hs now stops searching for wxWidgets when a compatible version is found")

     
  • Henk-Jan van Tuyl

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Wxc gives an error message if version 2.9 of wxWidgets is not installed, but 3.0 is:
    
     ~~~~
    
    • status: open --> closed-fixed
     

Log in to post a comment.