From: David P. <d...@vi...> - 2010-03-11 09:10:34
|
Hi: I have just installed the Haskell Platform 2009.2.0.2 on Mac OSX 10.6.2. When I try to install wx I get the following error which I do not understand. Can anyone give me a hint? $ cabal install wx Resolving dependencies... cabal: cannot configure containers-0.3.0.0. It requires base >=4.2 && <6 For the dependency on base >=4.2 && <6 there are these packages: base-4.2.0.0. However none of them are available. base-4.2.0.0 was excluded because of the top level dependency base -any Here are my packages: $ ghc-pkg list /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/./package.conf: Cabal-1.6.0.3, GLUT-2.1.1.2, HTTP-4000.0.6, HUnit-1.2.0.3, OpenGL-2.2.1.1, QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0, bytestring-0.9.1.4, cgi-3001.1.7.1, containers-0.2.0.1, directory-1.0.0.3, (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3), editline-0.2.1.0, extensible-exceptions-0.1.1.0, fgl-5.4.2.2, filepath-1.1.0.2, (ghc-6.10.4), ghc-prim-0.1.0.0, haddock-2.4.2, haskell-src-1.0.1.3, haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1.2, network-2.2.1.4, old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1, parallel-1.1.0.1, parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1, regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3, rts-1.0, stm-2.1.1.2, syb-0.1.0.1, template-haskell-2.3.0.1, time-1.1.2.4, time-1.1.4, unix-2.3.2.0, xhtml-3000.2.0.1, zlib-0.5.0.0 /Users/davidplace/.ghc/i386-darwin-6.10.4/package.conf: fingertree-0.0.1.0 |
From: David P. <d...@vi...> - 2010-03-11 18:37:16
|
On Mar 10, 2010, at 3:41 PM, David Place wrote: > I have just installed the Haskell Platform 2009.2.0.2 on Mac OSX 10.6.2. When I try to install wx I get the following error which I do not understand. > Can anyone give me a hint? With the kind help of several people on haskell-cafe, I have been able to get a version of wxHaskell to install. I appear to be missing "macosx-app". It is not in /usr/local/wxhaskell/bin/macosx-app or ~/.cabal/bin. I have tried the EnableGUI module, but get the error: > $ ghci -framework Carbon try.hs > GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help > Loading package ghc-prim ... linking ... done. > Loading package integer ... linking ... done. > Loading package base ... linking ... done. > Loading object (framework) Carbon ... done > final link ... done > [2 of 2] Compiling Main ( try.hs, interpreted ) > Ok, modules loaded: Main, EnableGUI. > *Main> enableGUI > *Main> main > Loading package syb ... linking ... done. > Loading package array-0.2.0.0 ... linking ... done. > Loading package containers-0.2.0.1 ... linking ... done. > Loading package bytestring-0.9.1.4 ... linking ... done. > Loading package old-locale-1.0.0.1 ... linking ... done. > Loading package old-time-1.0.0.2 ... linking ... done. > Loading package filepath-1.1.0.2 ... linking ... done. > Loading package unix-2.3.2.0 ... linking ... done. > Loading package directory-1.0.0.3 ... linking ... done. > Loading package stm-2.1.1.2 ... linking ... done. > Loading package parsec-2.1.0.1 ... linking ... done. > Loading package time-1.1.4 ... linking ... done. > Loading package wxdirect-0.12.1.1 ... linking ... done. > Loading package wxcore-0.12.1.2 ... can't load .so/.DLL for: stdc++ (dlopen(libstdc++.dylib, 9): image not found) > *Main> > |
From: carlos g. <car...@gm...> - 2010-03-11 21:27:29
|
I got the same error, but it is only in the ghc interpreter, so if you compile that with ghc --make, you will not get that error. -- carlos gomez On 11 March 2010 14:37, David Place <d...@vi...> wrote: > > On Mar 10, 2010, at 3:41 PM, David Place wrote: > > > I have just installed the Haskell Platform 2009.2.0.2 on Mac OSX 10.6.2. > When I try to install wx I get the following error which I do not > understand. > > Can anyone give me a hint? > > With the kind help of several people on haskell-cafe, I have been able to > get a version of wxHaskell to install. I appear to be missing "macosx-app". > It is not in /usr/local/wxhaskell/bin/macosx-app or ~/.cabal/bin. I have > tried the EnableGUI module, but get the error: > > > $ ghci -framework Carbon try.hs > > GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help > > Loading package ghc-prim ... linking ... done. > > Loading package integer ... linking ... done. > > Loading package base ... linking ... done. > > Loading object (framework) Carbon ... done > > final link ... done > > [2 of 2] Compiling Main ( try.hs, interpreted ) > > Ok, modules loaded: Main, EnableGUI. > > *Main> enableGUI > > *Main> main > > Loading package syb ... linking ... done. > > Loading package array-0.2.0.0 ... linking ... done. > > Loading package containers-0.2.0.1 ... linking ... done. > > Loading package bytestring-0.9.1.4 ... linking ... done. > > Loading package old-locale-1.0.0.1 ... linking ... done. > > Loading package old-time-1.0.0.2 ... linking ... done. > > Loading package filepath-1.1.0.2 ... linking ... done. > > Loading package unix-2.3.2.0 ... linking ... done. > > Loading package directory-1.0.0.3 ... linking ... done. > > Loading package stm-2.1.1.2 ... linking ... done. > > Loading package parsec-2.1.0.1 ... linking ... done. > > Loading package time-1.1.4 ... linking ... done. > > Loading package wxdirect-0.12.1.1 ... linking ... done. > > Loading package wxcore-0.12.1.2 ... can't load .so/.DLL for: stdc++ > (dlopen(libstdc++.dylib, 9): image not found) > > *Main> > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |
From: David P. <d...@vi...> - 2010-03-11 22:31:10
|
Interesting. When I try that, the program compiles. When I try to run it however, the window pops up, but the button does not accept a click. I thought to just get the macosx-app script from the source distribution. In there, I find something called macosx-app-template. I don't know how to generate the former from the latter. On Mar 11, 2010, at 4:19 PM, carlos gomez wrote: > I got the same error, but it is only in the ghc interpreter, so if you compile that with ghc --make, you will not get that error. > > -- carlos gomez > > On 11 March 2010 14:37, David Place <d...@vi...> wrote: > > On Mar 10, 2010, at 3:41 PM, David Place wrote: > > > I have just installed the Haskell Platform 2009.2.0.2 on Mac OSX 10.6.2. When I try to install wx I get the following error which I do not understand. > > Can anyone give me a hint? > > With the kind help of several people on haskell-cafe, I have been able to get a version of wxHaskell to install. I appear to be missing "macosx-app". It is not in /usr/local/wxhaskell/bin/macosx-app or ~/.cabal/bin. I have tried the EnableGUI module, but get the error: > > > $ ghci -framework Carbon try.hs > > GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help > > Loading package ghc-prim ... linking ... done. > > Loading package integer ... linking ... done. > > Loading package base ... linking ... done. > > Loading object (framework) Carbon ... done > > final link ... done > > [2 of 2] Compiling Main ( try.hs, interpreted ) > > Ok, modules loaded: Main, EnableGUI. > > *Main> enableGUI > > *Main> main > > Loading package syb ... linking ... done. > > Loading package array-0.2.0.0 ... linking ... done. > > Loading package containers-0.2.0.1 ... linking ... done. > > Loading package bytestring-0.9.1.4 ... linking ... done. > > Loading package old-locale-1.0.0.1 ... linking ... done. > > Loading package old-time-1.0.0.2 ... linking ... done. > > Loading package filepath-1.1.0.2 ... linking ... done. > > Loading package unix-2.3.2.0 ... linking ... done. > > Loading package directory-1.0.0.3 ... linking ... done. > > Loading package stm-2.1.1.2 ... linking ... done. > > Loading package parsec-2.1.0.1 ... linking ... done. > > Loading package time-1.1.4 ... linking ... done. > > Loading package wxdirect-0.12.1.1 ... linking ... done. > > Loading package wxcore-0.12.1.2 ... can't load .so/.DLL for: stdc++ (dlopen(libstdc++.dylib, 9): image not found) > > *Main> > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |
From: Andy G. <ha...@gi...> - 2010-03-24 11:52:03
|
Dear David, You might like to look at cabal-macosx http://hackage.haskell.org/package/cabal-macosx http://github.com/gimbo/cabal-macosx -Andy On 11 Mar 2010, at 22:30, David Place wrote: > Interesting. When I try that, the program compiles. When I try to > run it however, the window pops up, but the button does not accept a > click. > > I thought to just get the macosx-app script from the source > distribution. In there, I find something called macosx-app- > template. I don't know how to generate the former from the latter. > > On Mar 11, 2010, at 4:19 PM, carlos gomez wrote: > >> I got the same error, but it is only in the ghc interpreter, so if >> you compile that with ghc --make, you will not get that error. >> >> -- carlos gomez >> >> On 11 March 2010 14:37, David Place <d...@vi...> wrote: >> >> On Mar 10, 2010, at 3:41 PM, David Place wrote: >> >>> I have just installed the Haskell Platform 2009.2.0.2 on Mac OSX >>> 10.6.2. When I try to install wx I get the following error which >>> I do not understand. >>> Can anyone give me a hint? >> >> With the kind help of several people on haskell-cafe, I have been >> able to get a version of wxHaskell to install. I appear to be >> missing "macosx-app". It is not in /usr/local/wxhaskell/bin/macosx- >> app or ~/.cabal/bin. I have tried the EnableGUI module, but get >> the error: >> >>> $ ghci -framework Carbon try.hs >>> GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help >>> Loading package ghc-prim ... linking ... done. >>> Loading package integer ... linking ... done. >>> Loading package base ... linking ... done. >>> Loading object (framework) Carbon ... done >>> final link ... done >>> [2 of 2] Compiling Main ( try.hs, interpreted ) >>> Ok, modules loaded: Main, EnableGUI. >>> *Main> enableGUI >>> *Main> main >>> Loading package syb ... linking ... done. >>> Loading package array-0.2.0.0 ... linking ... done. >>> Loading package containers-0.2.0.1 ... linking ... done. >>> Loading package bytestring-0.9.1.4 ... linking ... done. >>> Loading package old-locale-1.0.0.1 ... linking ... done. >>> Loading package old-time-1.0.0.2 ... linking ... done. >>> Loading package filepath-1.1.0.2 ... linking ... done. >>> Loading package unix-2.3.2.0 ... linking ... done. >>> Loading package directory-1.0.0.3 ... linking ... done. >>> Loading package stm-2.1.1.2 ... linking ... done. >>> Loading package parsec-2.1.0.1 ... linking ... done. >>> Loading package time-1.1.4 ... linking ... done. >>> Loading package wxdirect-0.12.1.1 ... linking ... done. >>> Loading package wxcore-0.12.1.2 ... can't load .so/.DLL for: stdc+ >>> + (dlopen(libstdc++.dylib, 9): image not found) >>> *Main> >>> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> wxhaskell-users mailing list >> wxh...@li... >> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users >> > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- Andy Gimblett http://gimbo.org.uk/ |