[Haskell-cafe] macosx-app on Yosemite
Jeffrey Brown
jeffbrown.the at gmail.com
Tue Dec 30 01:16:30 UTC 2014
Dear list,
I tried to install wxHaskell, following these instructions:
https://www.haskell.org/haskellwiki/WxHaskell/Mac
It lists some configurations known to work, but I am running OS X
10.10,which is not among them.
"brew install wxmac --devel" reported no errors.
Next, "cabal install wx cabal-macosx" reported no errors.
Next, "ghc --make HelloWorld.hs" reported no errors.
But when I try to run "macosx-app HelloWorld", I get "-bash: macosx-app:
command not found".
Below is a transcript of the installation process, tab-indented for ease of
viewing.
Many thanks,
Jeff
----
this worked:
Jefferys-MBP:~ jbb$ brew install wxmac --devel
==> Installing dependencies for wxmac: jpeg, libpng, libtiff
==> Installing wxmac dependency: jpeg
==> Downloading
https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.yosemi
########################################################################
100.0%
==> Pouring jpeg-8d.yosemite.bottle.2.tar.gz
[image: 🍺] /usr/local/Cellar/jpeg/8d: 18 files, 776K
==> Installing wxmac dependency: libpng
==> Downloading
https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.15.
########################################################################
100.0%
==> Pouring libpng-1.6.15.yosemite.bottle.tar.gz
[image: 🍺] /usr/local/Cellar/libpng/1.6.15: 17 files, 1.3M
==> Installing wxmac dependency: libtiff
==> Downloading
https://downloads.sf.net/project/machomebrew/Bottles/libtiff-4.0.3.
########################################################################
100.0%
==> Pouring libtiff-4.0.3.yosemite.bottle.tar.gz
[image: 🍺] /usr/local/Cellar/libtiff/4.0.3: 254 files, 3.8M
==> Installing wxmac
==> Downloading
https://downloads.sf.net/project/machomebrew/Bottles/wxmac-3.0.2.yo
########################################################################
100.0%
==> Pouring wxmac-3.0.2.yosemite.bottle.9.tar.gz
[image: 🍺] /usr/local/Cellar/wxmac/3.0.2: 777 files, 41M
Jefferys-MBP:~ jbb$
next, this worked:
Last login: Sun Dec 28 15:38:02 on ttys000
Jefferys-MBP:~ jbb$ cabal install wx cabal-macosx
Resolving dependencies...
Downloading fgl-5.4.2.4...
Configuring wxc-0.91.0.0...
Configuring fgl-5.4.2.4...
Building fgl-5.4.2.4...
Building wxc-0.91.0.0...
Installed fgl-5.4.2.4
Downloading cabal-macosx-0.2.3...
Configuring cabal-macosx-0.2.3...
Building cabal-macosx-0.2.3...
Installed cabal-macosx-0.2.3
Installed wxc-0.91.0.0
Downloading wxcore-0.91.0.0...
Configuring wxcore-0.91.0.0...
Building wxcore-0.91.0.0...
Installed wxcore-0.91.0.0
Downloading wx-0.91.0.0...
Configuring wx-0.91.0.0...
Building wx-0.91.0.0...
Installed wx-0.91.0.0
Updating documentation index /Users/jbb/Library/Haskell/share/doc/index.html
Jefferys-MBP:~ jbb$
next, this failed:
Jefferys-MBP:wxHaskell jbb$ date
Mon Dec 29 16:56:05 PST 2014
Jefferys-MBP:wxHaskell jbb$ pwd
/Users/jbb/Mine/fun/computer/Haskell/wxHaskell
Jefferys-MBP:wxHaskell jbb$ ls
HelloWorld.hs
Jefferys-MBP:wxHaskell jbb$ ghc --make HelloWorld.hs
[1 of 1] Compiling Main ( HelloWorld.hs, HelloWorld.o )
Linking HelloWorld ...
Jefferys-MBP:wxHaskell jbb$ macosx-app HelloWorld
-bash: macosx-app: command not found
Jefferys-MBP:wxHaskell jbb$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141229/78c99693/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emoji_u1f37a.png
Type: image/png
Size: 1818 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141229/78c99693/attachment.png>
More information about the Haskell-Cafe
mailing list