Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Very basic question on monads (David McBride)
   2. Re:  Help with GHC Packages Installation on       Fedora 14
      (Patrick LeBoutillier)
   3. Re:  HUnit - testing for failed pattern match (Edward Z. Yang)
   4. Re:  GTK Haskell and Error on Win32, anyone see the issue?
      (Patrick Lynch)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Feb 2011 07:29:54 -0500
From: David McBride <dmcbr...@neondsl.com>
Subject: Re: [Haskell-beginners] Very basic question on monads
To: Chadda? Fouch? <chaddai.fou...@gmail.com>
Cc: beginners@haskell.org
Message-ID:
        <AANLkTimfCv7vLKwv8fh--vQrsJjyhB1-8mNfWTUjtz=p...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

You should know that the answers are at:
http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours/Answers

parseNumber'' = many1 digit >>= return . Number . read

On Wed, Feb 23, 2011 at 5:31 AM, Chadda? Fouch?
<chaddai.fou...@gmail.com> wrote:
> On Wed, Feb 23, 2011 at 6:30 AM, ?<black...@pro-ns.net> wrote:
>> I'm working through the "Write Yourself a Scheme" wikibook and having
>> trouble with one of the exercises. ?For the function parseNumber :: Parser
>> LispVal, both
>>
>> parseNumber = liftM (Number . read) $ many1 digit
>> parseNumber' = do digits <- many1 digit
>> ? ? ? ? ? ? ? ? return $ (Number . read) digits
>>
>> work. ?But
>>
>> parseNumber'' = many1 digit >>= liftM read >>= liftM Number
>
> You misunderstand liftM : liftM takes an ordinary function (a -> b)
> and "lift" it so that it acts inside the monad and become (m a -> m b)
> thus the parameter of "liftM f" must be a monadic action but through
> (>>=) you feed it an ordinary value since (>>=) bind a monadic action
> (m a) to a function that takes an ordinary value and return an action
> (a -> m b). You used liftM as if it was (return .)
>
> The correct usage would have been :
>
>> parseNumber'' = liftM (Number . read) (many1 digit)
>
> like your parseNumber
>
> or (using Applicative if you wish to do so) :
>
>> parseNumber'' = Number . read <$> many1 digit
>
> --
> Jeda?
>
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>



------------------------------

Message: 2
Date: Wed, 23 Feb 2011 08:29:43 -0500
From: Patrick LeBoutillier <patrick.leboutill...@gmail.com>
Subject: Re: [Haskell-beginners] Help with GHC Packages Installation
        on      Fedora 14
To: Hong Yang <hyang...@gmail.com>
Cc: beginners@haskell.org
Message-ID:
        <AANLkTikbSSAza4aC+ivW5mt-qwim8QJy2=xcu99o2...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Basically yum tries to contact the URLs specified in
/etc/yum.repos.d/fedora.repo to download
the packages and related data.

Are you sure your VM has proper network/Internet connectivity?
Can you start a browser (or wget if you have X running) in it and
access, say, http://haskell.org?

Note: This is not really a Haskell related question though. Perhaps a
Fedora forum would yield more/better answers.


Patrick


On Wed, Feb 23, 2011 at 12:31 AM, Hong Yang <hyang...@gmail.com> wrote:
> Hi,
>
> I installed a Fedora 14 virtual machine on my home Windows desktop. Then I
> tried to install GHC packages on Fedora by typing "yum install ghc" as root,
> and got the following error:
>
> "Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> fedora.
> Please verify its path and try again."
>
> What should I do now to fix this error?
>
> Thanks,
>
> Hong
>
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>



-- 
=====================
Patrick LeBoutillier
Rosem?re, Qu?bec, Canada



------------------------------

Message: 3
Date: Wed, 23 Feb 2011 08:31:33 -0500
From: "Edward Z. Yang" <ezy...@mit.edu>
Subject: Re: [Haskell-beginners] HUnit - testing for failed pattern
        match
To: Xavier Shay <xavier-l...@rhnh.net>
Cc: beginners <beginners@haskell.org>
Message-ID: <1298467874-sup-3273@ezyang>
Content-Type: text/plain; charset=UTF-8

Excerpts from Xavier Shay's message of Tue Feb 22 20:25:28 -0500 2011:
> 
> On 23/02/11 10:35 AM, Edward Z. Yang wrote:
> > What you describe is one of the cases when a partial function is ok
> > (though it's probably better to do something like:
> >
> > giveMeThree x
> > | x == 3 = True
> > | otherwise = error "giveMeThree: not three"
> >
> > It's frequently not possible, but if you can arrange your types so that
> > the invalid values are not possible, even better.)
> ah that's good, I can give a helpful error message.
> 
> Still would like a way to test it though...
> 

Check the section "Testing for expected errors" herE:

    http://leiffrenzel.de/papers/getting-started-with-hunit.html

Edward



------------------------------

Message: 4
Date: Wed, 23 Feb 2011 16:58:04 -0500
From: "Patrick Lynch" <kmandpjly...@verizon.net>
Subject: Re: [Haskell-beginners] GTK Haskell and Error on Win32,
        anyone see the issue?
To: "Berlin Brown" <berlin.br...@gmail.com>,    "aditya siram"
        <aditya.si...@gmail.com>
Cc: beginners@haskell.org
Message-ID: <5C77A99924F94887967DA89110D256ED@UserPC>
Content-Type: text/plain; charset="iso-8859-1"

Good afternoon,

I can't give any help in regard to installing GTK...
I tried it on Windows Vista and on an Apple iMac...but alas with no success...
I spent about a week on this effort...

If anyone wants to set up a 'task force 'to get this GTK install working for 
'newbies' - count me in...

Good day

  ----- Original Message ----- 
  From: Berlin Brown 
  To: aditya siram 
  Cc: beginners@haskell.org 
  Sent: Tuesday, February 22, 2011 1:45 AM
  Subject: Re: [Haskell-beginners] GTK Haskell and Error on Win32, anyone see 
the issue?





  On Tue, Feb 22, 2011 at 12:53 AM, Berlin Brown <berlin.br...@gmail.com> wrote:



    Here is the include, I will try installing in different steps. 


    C:\Documents and Settings\bbrown>echo %INCLUDE%
    C:\Program Files\libxml2\libxml2-dev_2.7.7-1_win32\include


    On Tue, Feb 22, 2011 at 12:22 AM, aditya siram <aditya.si...@gmail.com> 
wrote:

      What does 'echo %INCLUDE%' and 'echo %PATH%' output? You might want to
      try installing the dependencies separately to see where its going
      wrong. For instance 'cabal install glib' and 'cabal install cairo'
      etc. Let me know if I can help you further.

      -deech


      On Mon, Feb 21, 2011 at 11:01 PM, Berlin Brown <berlin.br...@gmail.com> 
wrote:
      > I am following the steps outlined here but I am still getting errors 
related
      > to my install of gtk
      >
      > Here is one of the first errors:
      >
      > tup\setup.exe ...
      > Configuring cairo-0.12.0...
      > setup.exe: Missing dependencies on foreign libraries:
      > * Missing C libraries: z, cairo
      > This problem can usually be solved by installing the system packages 
that
      > provide these libraries (you may need the "-dev" versions). If the 
libraries
      > are already installed but in a non-standard location then you can use 
the
      > flags --extra-include-dirs= and --extra-lib-dirs= to specify where they 
are.
      >
      > http://www.haskell.org/haskellwiki/Gtk2Hs
      >
      >
      > Here is the output:
      > C:\Documents and Settings\Bot User>echo %LIB%
      > C:\Program Files\Gtk+\lib
      >
      > C:\Documents and Settings\Bot User>echo %PKG_CONFIG_PATH%
      > C:\Program Files\Gtk+\lib\pkgconfig;C:\
      > Program Files\Gtk+\include\libglade-2.0;C:\Program
      > Files\libxml2\libxml2-dev_2.7.7-1_win32\lib\pkgconfig
      >
      > I got the install of GTK and everything worked:
      > 
http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/3.6/glade3-3.6.7-with-GTK+.exe
      >
      >
      > Microsoft Windows XP [Version 5.1.2600]
      >
      > C:\Documents and Settings\Bot User>cabal update
      > Downloading the latest package list from hackage.haskell.org
      >
      > Version:
      > C:\Documents and Settings\Bot User>ghc --version
      > The Glorious Glasgow Haskell Compilation System, version 6.12.3
      >
      >
      > C:\Documents and Settings\Bot User>cabal install gtk2hs-buildtools
      > Resolving dependencies...
      > Configuring gtk2hs-buildtools-0.12.0...
      > Preprocessing executables for gtk2hs-buildtools-0.12.0...
      > ...
      > hs\gtk2hsC2hs-tmp\GenBind.o )
      > [41 of 41] Compiling Main             ( c2hs\toplevel\Main.hs,
      > dist\build\gtk2hs
      > C2hs\gtk2hsC2hs-tmp\Main.o )
      > Linking dist\build\gtk2hsC2hs\gtk2hsC2hs.exe ...
      > Installing executable(s) in C:\Documents and Settings\Bot 
User\Application
      > Data\cabal\bin
      >
      > Here is where it fails:
      >
      > C:\Documents and Settings\Bot User>cabal install gtk
      > Resolving dependencies...
      > 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.03164\cairo-0.12.0\Gtk2HsSetup.hs:
      > 25: warning: #warning Setup.hs is guessing the version of Cabal. If
      > compilation
      > of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 
when
      > build
      > ing (prefixed by --ghc-option= when using the 'cabal' command)
      > [1 of 2] Compiling Gtk2HsSetup      (
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0
      > .12.03164\cairo-0.12.0\Gtk2HsSetup.hs,
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-
      > 0.12.03164\cairo-0.12.0\dist\setup\Gtk2HsSetup.o )
      > [2 of 2] Compiling Main             (
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0
      > .12.03164\cairo-0.12.0\Setup.hs,
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.0
      > 3164\cairo-0.12.0\dist\setup\Main.o )
      > Linking
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.03164\cairo-0.12.0\dist\se
      > tup\setup.exe ...
      > Configuring cairo-0.12.0...
      > setup.exe: Missing dependencies on foreign libraries:
      > * Missing C libraries: z, cairo
      > This problem can usually be solved by installing the system packages 
that
      > provide these libraries (you may need the "-dev" versions). If the 
libraries
      > are already installed but in a non-standard location then you can use 
the
      > flags --extra-include-dirs= and --extra-lib-dirs= to specify where they 
are.
      > 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.03164\glib-0.12.0\Gtk2HsSetup.hs:25
      > : warning: #warning Setup.hs is guessing the version of Cabal. If
      > compilation of
      >  Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when
      > buildin
      > g (prefixed by --ghc-option= when using the 'cabal' command)
      > [1 of 2] Compiling Gtk2HsSetup      (
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.
      > 12.03164\glib-0.12.0\Gtk2HsSetup.hs,
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.1
      > 2.03164\glib-0.12.0\dist\setup\Gtk2HsSetup.o )
      > [2 of 2] Compiling Main             (
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.
      > 12.03164\glib-0.12.0\Setup.hs,
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.0316
      > 4\glib-0.12.0\dist\setup\Main.o )
      > Linking
      > C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.03164\glib-0.12.0\dist\setu
      > p\setup.exe ...
      > Configuring glib-0.12.0...
      > setup.exe: Missing dependencies on foreign libraries:
      > * Missing C libraries: gobject-2.0, glib-2.0, intl
      > This problem can usually be solved by installing the system packages 
that
      > provide these libraries (you may need the "-dev" versions). If the 
libraries
      > are already installed but in a non-standard location then you can use 
the
      > flags --extra-include-dirs= and --extra-lib-dirs= to specify where they 
are.
      > cabal: Error: some packages failed to install:
      > cairo-0.12.0 failed during the configure step. The exception was:
      > ExitFailure 1
      > gio-0.12.0 depends on glib-0.12.0 which failed to install.
      > glib-0.12.0 failed during the configure step. The exception was:
      > ExitFailure 1
      > gtk-0.12.0 depends on glib-0.12.0 which failed to install.
      > pango-0.12.0 depends on glib-0.12.0 which failed to install.
      >
      > C:\Documents and Settings\Bot User>
      >
      > --
      > Berlin Brown (berlin dot brown at gmail.com)
      > http://botnode.com
      > http://berlinbrowndev.blogspot.com/
      >

      > _______________________________________________
      > Beginners mailing list
      > Beginners@haskell.org
      > http://www.haskell.org/mailman/listinfo/beginners
      >
      >





    -- 

    Berlin Brown (berlin dot brown at gmail.com)
    http://botnode.com
    http://berlinbrowndev.blogspot.com/



  OK, I tried that and get the following output.


  glib-0.12.0 failed during the configure step. The exception was:
  ExitFailure 1


  Bot Berlin@student-paris ~
  $ cabal install glib -v
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --numeric-version
  looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell
  Platform\2010.2.0.0\bin
  found package tool in C:\Program Files\Haskell
  Platform\2010.2.0.0\bin\ghc-pkg.exe
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc-pkg.exe --version
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --supported-languages
  Reading installed packages...
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc-pkg.exe dump --global
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc-pkg.exe dump --user
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --print-libdir
  Reading available packages...
  Resolving dependencies...
  selecting glib-0.12.0 (hackage) and discarding glib-0.11.0, 0.11.1 and 0.11.2
  selecting haskell98-1.0.1.1 (installed or hackage) and discarding
  haskell98-1.0, 1.0.1.0 and 1.1.0.0
  selecting process-1.0.1.3 (installed or hackage) and discarding
  directory-1.1.0.0, filepath-1.0, process-1.0.0.0, 1.0.1.1, 1.0.1.2 and 1.0.1.4
  selecting random-1.0.0.2 (installed or hackage) and discarding random-1.0.0.0,
  1.0.0.1 and 1.0.0.3
  selecting time-1.1.4 (installed or hackage) and discarding time-1.0, 1.1.2.0,
  1.1.2.1, 1.1.2.2, 1.1.2.3, 1.1.2.4, 1.1.3, 1.2, 1.2.0.1, 1.2.0.2, 1.2.0.3 and
  1.2.0.4
  selecting directory-1.0.1.1 (installed or hackage) and discarding
  directory-1.0.0.0, 1.0.0.3, 1.0.1.0, 1.0.1.2 and filepath-1.2.0.0
  selecting old-time-1.0.0.5 (installed or hackage) and discarding
  old-time-1.0.0.0, 1.0.0.2, 1.0.0.3, 1.0.0.4 and 1.0.0.6
  selecting old-locale-1.0.0.2 (installed or hackage) and discarding
  old-locale-1.0.0.0 and 1.0.0.1
  selecting filepath-1.1.0.4 (installed or hackage) and discarding
  filepath-1.1.0.0, 1.1.0.1, 1.1.0.2 and 1.1.0.3
  selecting containers-0.3.0.0 (installed or hackage) and discarding
  containers-0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1 and 0.4.0.0
  selecting Win32-2.2.0.2 (installed or hackage) and discarding Win32-2.1,
  2.1.0.0, 2.2.0.0 and 2.2.0.1
  selecting bytestring-0.9.1.7 (installed or hackage) and discarding
  bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2,
  0.9.1.3, 0.9.1.4, 0.9.1.5, 0.9.1.6, 0.9.1.8 and 0.9.1.9
  selecting ghc-prim-0.2.0.0 (installed)
  selecting ffi-1.0 (installed)
  selecting rts-1.0 (installed)
  selecting array-0.3.0.1 (installed or hackage) and discarding array-0.1.0.0,
  0.2.0.0, 0.3.0.0 and 0.3.0.2
  selecting base-3.0.3.2 (installed) and 4.2.0.2 (installed) and discarding
  syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2, 0.2.1, 0.2.2 and 0.3
  selecting integer-gmp-0.2.0.1 (installed)
  selecting syb-0.1.0.2 (installed)
  In order, the following would be installed:
  glib-0.12.0 (new package)
  glib-0.12.0 has already been downloaded.
  Extracting C:\Documents and Settings\Bot Berlin\Application
  Data\cabal\packages\hackage.haskell.org\glib\0.12.0\glib-0.12.0.tar.gz to
  C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116...
  Creating
  C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup (and
  its parents)
  C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --make 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\
  lib-0.12.07116\glib-0.12.0\Setup.hs -o 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12
  0\dist\setup\setup.exe -odir 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\se
  up -hidir 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup -i 
-iC:\DOCUME~
  \BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0 -package Cabal-1.8.0.6
  
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\Gtk2HsSetup.hs:25:
 warning: #warning
  Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails 
use -DCABAL_VERSION_MIN
  R=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when 
using the 'cabal' command


  [1 of 2] Compiling Gtk2HsSetup      ( 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.
  \Gtk2HsSetup.hs, 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\Gtk2HsSe
  up.o )
  [2 of 2] Compiling Main             ( 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.
  \Setup.hs, 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\Main.o
 )
  Linking 
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\setup.exe
 ...
  
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\setup.exe
  configure --verbose=2 --ghc --prefix=C:\Documents and Settings\Bot
  Berlin\Application Data\cabal --user --flags=closure_signals --constraint=base
  ==4.2.0.2 --constraint=containers ==0.3.0.0 --constraint=haskell98 ==1.0.1.1
  Configuring glib-0.12.0...
  Flags chosen: closure_signals=True
  Dependency base ==4.2.0.2: using base-4.2.0.2
  Dependency containers ==0.3.0.0: using containers-0.3.0.0
  Dependency haskell98 ==1.0.1.1: using haskell98-1.0.1.1
  Dependency glib-2.0 -any: using version 2.20.3
  Dependency gobject-2.0 -any: using version 2.20.3
  Using Cabal-1.8.0.6 compiled by ghc-6.12
  Using compiler: ghc-6.12.3
  Using install prefix: C:\Documents and Settings\Bot Berlin\Application
  Data\cabal
  Binaries installed in: C:\Documents and Settings\Bot Berlin\Application
  Data\cabal\bin
  Libraries installed in: C:\Documents and Settings\Bot Berlin\Application
  Data\cabal\glib-0.12.0\ghc-6.12.3
  Private binaries installed in: C:\Documents and Settings\Bot
  Berlin\Application Data\cabal\glib-0.12.0
  Data files installed in: C:\Documents and Settings\Bot Berlin\Application
  Data\cabal\glib-0.12.0
  Documentation installed in: C:\Documents and Settings\Bot Berlin\Application
  Data\cabal\doc\glib-0.12.0
  Using alex version 2.3.3 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\lib\extralibs\bin\alex.exe
  Using ar found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\mingw\bin\ar.exe
  No c2hs found
  No cpphs found
  No ffihugs found
  Using gcc version 3.4.5 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\mingw\bin\gcc.exe
  Using ghc version 6.12.3 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\bin\ghc.exe
  Using ghc-pkg version 6.12.3 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\bin\ghc-pkg.exe
  No greencard found
  Using gtk2hsC2hs found on system at: C:\Documents and Settings\Bot
  Berlin\Application Data\cabal\bin\gtk2hsC2hs.exe
  Using gtk2hsHookGenerator found on system at: C:\Documents and Settings\Bot
  Berlin\Application Data\cabal\bin\gtk2hsHookGenerator.exe
  Using gtk2hsTypeGen found on system at: C:\Documents and Settings\Bot
  Berlin\Application Data\cabal\bin\gtk2hsTypeGen.exe
  Using haddock version 2.6.1 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\bin\haddock.exe
  Using happy version 1.18.5 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\lib\extralibs\bin\happy.exe
  No hmake found
  Using hsc2hs version 0.67 found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\bin\hsc2hs.exe
  No hscolour found
  No hugs found
  No jhc found
  Using ld found on system at: C:\Program Files\Haskell
  Platform\2010.2.0.0\mingw\bin\ld.exe
  No lhc found
  No lhc-pkg found
  No nhc98 found
  Using pkg-config version 0.23 found on system at: C:\Program
  Files\Gtk+\bin\pkg-config.exe
  Using ranlib found on system at: C:\projects\tools\cygwin\bin\ranlib.exe
  Using strip found on system at: C:\projects\tools\cygwin\bin\strip.exe
  Using tar found on system at: C:\projects\tools\cygwin\bin\tar.exe
  C:\Program Files\Gtk+\bin\pkg-config.exe --modversion glib-2.0
  C:\Program Files\Gtk+\bin\pkg-config.exe --modversion gobject-2.0
  setup.exe: Missing dependencies on foreign libraries:
  * Missing C libraries: gobject-2.0, glib-2.0, intl
  This problem can usually be solved by installing the system packages that
  provide these libraries (you may need the "-dev" versions). If the libraries
  are already installed but in a non-standard location then you can use the
  flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
  cabal.exe: Error: some packages failed to install:
  glib-0.12.0 failed during the configure step. The exception was:
  ExitFailure 1


  -- 
  Berlin Brown (berlin dot brown at gmail.com)
  http://botnode.com
  http://berlinbrowndev.blogspot.com/



------------------------------------------------------------------------------


  _______________________________________________
  Beginners mailing list
  Beginners@haskell.org
  http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20110223/d4bf3cd7/attachment.htm>

------------------------------

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 32, Issue 44
*****************************************

Reply via email to