From: Atze D. <at...@uu...> - 2013-08-02 10:36:47
|
Hi Melanie, it seems that the problem lies with wxc. I (for now) have provided bin/mk-cabal to build locally, did you use that, what is the full build output, in particular w.r.t wxc? wxc build (e.g.) might fail because of an incorrect/incomplete install of wxWidgets. Is the correct (and not an old) wx-config used, mine by default is installed in /usr/local/bin/wx-config. Atze On 2 Aug, 2013, at 11:01 , "M. Schulte" <m...@fu...> wrote: > Hi, > > thanks for your quick help, Atze. > >> this problem is fixed in the forked repo >> https://github.com/atzedijkstra/wxHaskell. See the README there. The >> intent is that this fork will merge back into the official repo and >> an update of the version available via cabal and Hackage. > > I have installed wxWidgets 2.9.5 in ~/local. When I run bin/mk-cabal > inside the local checkout of the repository > https://github.com/wxHaskell/wxHaskell (as I understood from your > other e-mail), the following build failure is triggered: > > [...] > generated 1488 methods for 124 classes. > generating: src/haskell/Graphics/UI/WXCore/WxcClassesMZ.hs > generated 2340 methods for 129 classes. > generating: src/haskell/Graphics/UI/WXCore/WxcClasses.hs > generated 3828 total methods for 253 total classes. > ok. > setup: Missing dependency on a foreign library: > * Missing C library: wxc > This problem can usually be solved by installing the system package that > provides this library (you may need the "-dev" version). If the library is > already installed but in a non-standard location then you can use the flags > --extra-include-dirs= and --extra-lib-dirs= to specify where it is. > cabal: Error: some packages failed to install: > wxcore-0.90.1.0 failed during the configure step. The exception was: > ExitFailure 1 > Resolving dependencies... > Configuring wx-0.90.1.0... > cabal: At least the following dependencies are missing: > wxcore >=0.90.1.0 > Resolving dependencies... > cabal: Could not resolve dependencies: > > I have ghc 7.4.1 and haskell-platform 2012.2.0.0. > Any help appreciated. :) > > Thanks, > mel - Atze - Atze Dijkstra, Department of Information and Computing Sciences. /|\ Utrecht University, PO Box 80089, 3508 TB Utrecht, Netherlands. / | \ Tel.: +31-30-2534118/1454 | WWW : http://www.cs.uu.nl/~atze . /--| \ Fax : +31-30-2513971 .... | Email: at...@uu... ............... / |___\ |