Deploy Haskell For Windows On Mac

05.12.2018
Windows on mac free

I am trying to install Haskell on my Macbook two days and can not get the success. What I have done: $ brew install ghc Fine. Now I am trying to install $ cabal install text and get next error messages: Data/Text.hs:1074:4: error: invalid preprocessing directive #-} ^ I have googled and found.

In 2013, she decided to purchase a MacBook Pro and switched to Quicken for Mac. She has been using Quicken for Windows since 1994 to track her family finances and investments. Quicken replacement for mac.

If you are new to Haskell (very likely, given the question) your best bet is to install XCode (or at least the command line tools for XCode) which you can get from Apple and then the Haskell Platform for Mac OS X. Windows¶ We recommend installing to the default location with these installers, as that will make stack install and stack upgrade work correctly out of the box. Windows 64-bit Installer.

So: • brew install gcc48 $ /usr/local/bin/gcc-4.8 --version gcc-4.8 (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ cat /usr/local/lib/ghc-7.6.3/settings [('GCC extra via C opts', ' -fwrapv'), ('C compiler command', '/usr/local/bin/gcc-4.8'), ('C compiler flags', ' -m64 -fno-stack-protector -m64'). • brew install cabal-install • cabal install text And I get the same messages. How can I fix them?

I'm referring to the to the. Cabal install readline output below: $ cabal install readline Resolving dependencies.

Configuring readline-1.0.1.0. Checking for gcc. Gcc checking for C compiler default output file name.

A.out checking whether the C compiler works. Yes checking whether we are cross compiling. No checking for suffix of executables. Checking for suffix of object files. O checking whether we are using the GNU C compiler. Yes checking whether gcc accepts -g. Yes checking for gcc option to accept ISO C89.

None needed checking for GNUreadline.framework. Checking for readline. No checking for tputs in -lncurses. Yes checking for readline in -lreadline. Yes checking for rl_readline_version. Yes checking for rl_begin_undo_group. No configure: error: readline not found, so this package cannot be built See `config.log' for more details.

Cabal: Error: some packages failed to install: readline-1.0.1.0 failed during the configure step. The exception was: ExitFailure 1 I have the c readline library installed via macports (using sudo port install readline), but I still get the same error while trying to install the haskell readline library.

If your MacPorts installation uses the default paths for installed files, try specifying where to look for the C headers and libraries: cabal install readline --extra-include-dirs=/opt/local/include --extra-lib-dirs=/opt/local/lib Update 2x: On my machine with GNU Readline installed via Homebrew rather than MacPorts, it looks like the configure script for the Haskell readline library needs some non-standard flags to properly find its bearings. If the above doesn't work, try this: cabal install readline --extra-include-dirs=/opt/local/include --extra-lib-dirs=/opt/local/lib --configure-option=--with-readline-includes=/opt/local/include --configure-option=--with-readline-libraries=/opt/local/lib.