Re: [Haskell-cafe] Can't build Gtk2hs on Windows

2011-05-05 Thread Daniel Kahlenberg
to work and the issues in the way are small.  There are just > too few people with the means to fix those small issues, but I'm glad > they do the work they do. > > I'm also sending this to the gtk2hs list to see if it can get some > traction there. > > Ryan > > O

Re: [Haskell-cafe] Can't build Gtk2hs on Windows

2011-05-05 Thread Daniel Kahlenberg
Hi, I have no spaces in my GTK installation path (h:\gtk+ there is no other gtk+, zlib1.dll etc. in my search path). The "patch" http://hackage.haskell.org/trac/gtk2hs/ticket/1203 is easier handled when using the cab/cabal-dev combination as I described here: http://article.gmane.org/gmane.comp.la

Re: [Haskell-cafe] How to update the RNG per call (State monad) when generating QuickCheck arbitraries?

2011-04-27 Thread Daniel Kahlenberg
ons per call: > genArray :: [Ontology] > genArray = unGen arbitrary (mkStdGen 42) 12 :: [Ontology] On more question remains though: Is there a more haskellish way of doing this, especially having behaviour more like the arbitrary function with no empty samples allowed? Cheers Danie

Re: [Haskell-cafe] How to update the RNG per call (State monad) when generating QuickCheck arbitraries?

2011-04-26 Thread Daniel Kahlenberg
t ... the rest of the code as in my first post... Testing it, different numbers expected as the RNG is updated each call: Prelude> runOneRandom 2033303743 Prelude> runOneRandom -566930973 ... Cheers Daniel 2011/4/26 Bryan O'Sullivan : > On Tue, Apr 26, 2011 at 3:04 AM, Daniel Kahle

[Haskell-cafe] How to update the RNG per call (State monad) when generating QuickCheck arbitraries?

2011-04-26 Thread Daniel Kahlenberg
Maybe this is a beginners question... But here my problems description: > import Random > import Control.Monad > import qualified Control.Monad.State as S > import Test.QuickCheck.Gen > import Test.QuickCheck.Arbitrary Each thing can have one of three types: > data Ontology = Thing1 Bool >

Re: [Haskell-cafe] already installed packages alerted as not being installed

2011-04-11 Thread Daniel Kahlenberg
Ingenious, finally it is possible at least with the help of those two tools cabal-dev and cab to build the threadscope executable on Windows linked against gtk+-bundle_2.22.1-20101227_win32 version, thanks again to their developers. [Note to myself] How I did, 1) as described in http://hackage.h

Re: [Haskell-cafe] already installed packages alerted as not being installed

2011-04-11 Thread Daniel Kahlenberg
Kazu, thanks I wanted to mention that the "unknown symbol" error is very likely not related to the cab tool as the same error appears, when using the cabal - tool. I guess we can ignore it even in the context of my main question, sorry for being to verbose. What I found more interesting is, that c

[Haskell-cafe] already installed packages alerted as not being installed

2011-04-11 Thread Daniel Kahlenberg
Hello cafe-readers, does anyone of you observe similar problems e. g. on a Windows with ghc-7.0.2 setup: When I'm trying cabal install threadscope (as an example package depending on gtk2hs, latter which I've installed using the stepwise approach of cabal unpack first, then cabal configure --user

Re: [Haskell-cafe] Glade problem solved Was: Compile Glade apps (MS Windows system) Was: Re: Trying to compile Glade Gtk2Hs demo / cabal install glade problem

2010-09-11 Thread Daniel Kahlenberg
wrong libxml version taken from those other pkgconfig places I had. Cool, now I can install threadscope and do learn effects of different parallelisation strategies as pointed out in those nice papers. Cheers Daniel On 10.09.2010 20:00, Daniel Kahlenberg wrote: >> Great help! > That

Re: [Haskell-cafe] Compile Glade apps (MS Windows system) Was: Re: Trying to compile Glade Gtk2Hs demo / cabal install glade problem

2010-09-10 Thread Daniel Kahlenberg
Hello, I'm searching for information on a solution that must have been found earlier on the list and somehow must have got lost, but have a look now please... On 14.08.2010 00:47, Peter Schmitz wrote: > Thanks so very much Axel and Ivan. > You were both absolutely correct and I can compile Glade

[Haskell-cafe] Did anyone manage to build glade hackage-package on Windows

2010-09-08 Thread Daniel Kahlenberg
Hi list again, if there is anyone who managed to build the glade package on the Windows platform, could you please tell me the installer package for glade you used, possibly the version and download source too? Installing gtk2hs now seems made really simply by the guys providing it and I installed

[Haskell-cafe] Slightly humorous: Headhunters toolbox (example for Germany)

2010-08-14 Thread Daniel Kahlenberg
Hi list, stumbled across that: http://www.google.com/insights/search/?hl=de#q=haskell&geo=DE&cmpt=q Greetz Daniel ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] zlib or digest package installation

2010-06-20 Thread Daniel Kahlenberg
Hi, when installing pandoc package, which has digest somewhere in dependencies the usual cabal install stucks because zlib.h is missing, so I explicitly installed zlib package first, then installing digest (can also replace that directly with pandoc here) with the --extra-include-dirs parameter se

Re: [Haskell-cafe] Has anybody tried to upgrade Cabal on HP (Win 7)

2010-06-18 Thread Daniel Kahlenberg
On 18.06.2010 17:07, JP Moresmau wrote: > got around by making sure every thing was installed with --global I forgot using the --global flag to be complete, so here is the full command in a ghci session (account with full access rights, msys tools on path) again: Prelude System.Cmd> > rawSystem "

Re: [Haskell-cafe] Has anybody tried to upgrade Cabal on HP (Win 7)

2010-06-18 Thread Daniel Kahlenberg
On 18.06.2010 17:07, JP Moresmau wrote: > > > On Fri, Jun 18, 2010 at 4:48 PM, Daniel Kahlenberg > mailto:d.kahlenb...@googlemail.com>> wrote: > Prelude System.Cmd> > > rawSystem "cabal" ["upgrade", "--constraint=base==4.*",

[Haskell-cafe] Has anybody tried to upgrade Cabal on HP (Win 7)

2010-06-18 Thread Daniel Kahlenberg
Hello, I recently installed HP 2010.1.0.0 within Windows 7 and wanted to upgrade the Cabal package to 1.8.0.6 today, sadly I got stuck on a failure building the "directory" package. So I tried to isolate the messages a bit and gave the following a try in a ghci session (1st time only with path to

Re: [Haskell-cafe] Re: Cabal update problem

2010-02-19 Thread Daniel Kahlenberg
Hello, I guess I did the follwoing to bypass this problems. With the platform provided* cabal.exe at first place in the PATH variable, I run: - cabal update - cabal install cabal-install-0.6.4 The only thing remaining was, I had the Cabal-1.8.0.2 and related entries in my local packag

[Haskell-cafe] Fwd: (Solved) cabal install with external gcc tool chain not the ghc-bundled one

2009-11-12 Thread Daniel Kahlenberg
to answer this question myself how the use of another gcc is specified with effect, I used the following options with the 'cabal install' call: --ghc-options="-pgmc e:/programme/ghc/mingw-gcc4/bin/gcc.exe -pgml e:/programme/ghc/mingw-gcc4/bin/gcc.exe" See http://www.haskell.org/ghc/docs/latest/h

[Haskell-cafe] caba install with external gcc toolchain not the ghc-bundled one

2009-11-11 Thread Daniel Kahlenberg
Hello friends, I have a question regarding one thing I can't get my head around: First my problem is, that wanted to install 'bindings-common' here on my Windows machine. Usually that is no problem with the help of the glorious cabal. Now, 'bindings-common' needs a higher version of gcc than the

[Haskell-cafe] cabal with non-default cc1

2009-11-09 Thread Daniel Kahlenberg
Hello friends, I want a package which can't be built with the version of gcc coming with the current release of ghc, so I installed a sufficient version of gcc and called cabal with the parameters that should override it's default settings (see the failure.log, line 112). But I have the impressio

[Haskell-cafe] [Haskell Beginner] Compiling wxhaskell fails for me

2008-07-28 Thread Daniel Kahlenberg
Hi, I try to build the current wxhaskell stuff from the darcs repository on the sh provided by msys with mingw32 (`uname -a' : MINGW32_NT-5.1 ... 1.0.11(0.46/3/2) 2007-01-12 12:05 i686 Msys), but it fails with the message `wx/graphics.h' isn't found, when it comes to build the wxc part. On the wx

[Haskell-cafe] Re: System.Console.Readline stifleHistory Question

2008-06-27 Thread Daniel Kahlenberg
page: option --histsize N for rlwrap does the job. Maybe for a later discussion of using readline or some compatibility library instead of the rlwrap tool on ms windows systems I will post an extra message with a link. Bye. -- Forwarded message -- From: Daniel Kahlenberg <[EMAIL P

[Haskell-cafe] System.Console.Readline stifleHistory Question

2008-06-27 Thread Daniel Kahlenberg
Hello all, I'm learning Haskell and so very likely will have advantages from the history persistence feature added to the ghci haskell interpreter. It drives very well in my setup (the history file is growing and used), but I wanted to increase the number of saved history entries and now my questi