Skip to content

Instantly share code, notes, and snippets.

@gabrielstuff
Created March 15, 2012 23:49
Show Gist options
  • Save gabrielstuff/2047731 to your computer and use it in GitHub Desktop.
Save gabrielstuff/2047731 to your computer and use it in GitHub Desktop.
brew install -v haskell-platform
Ven mar 16 00:33:24 ~/Sites/exquise/wp-content/themes/exquiseV2 [master] $ brew install -v haskell-platform
==> Downloading http://lambda.haskell.org/platform/download/2011.4.0.0/haskell-platform-2011.4.0.0.tar.gz
File already downloaded in /Users/gabrielstuff/Library/Caches/Homebrew
/usr/bin/tar xf /Users/gabrielstuff/Library/Caches/Homebrew/haskell-platform-2011.4.0.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/haskell-platform/2011.4.0.0 --enable-unsupported-ghc-version
./configure --prefix=/usr/local/Cellar/haskell-platform/2011.4.0.0 --enable-unsupported-ghc-version
**************************************************
*
* Haskell Platform Source Installer
*
* For the Haskell Platform 2011.4.0.0 and GHC 7.0.4
*
**************************************************
checking build system type... i386-apple-darwin11.3.0
checking host system type... i386-apple-darwin11.3.0
checking target system type... i386-apple-darwin11.3.0
checking for ghc... /usr/local/bin/ghc
checking for ghc-pkg... /usr/local/bin/ghc-pkg
checking for hsc2hs... /usr/local/bin/hsc2hs
checking version of ghc... 7.0.4
checking version of ghc-pkg matches... yes
checking ghc actually works... [1 of 1] Compiling Main ( conftest.hs, conftest.o )
yes
checking for perl... /usr/bin/perl
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
configure: creating ./config.status
config.status: creating scripts/config
**************************************************
* Configuration completed successfully.
*
* Install prefix: /usr/local/Cellar/haskell-platform/2011.4.0.0
* Haskell packages will be registered into
* the global ghc package database
*
* If you wish to change these settings then
* use --prefix= and/or --enable-user-install
*
* Now do "make" followed by "sudo make install"
**************************************************
==> EXTRA_CONFIGURE_OPTS="--libdir=/usr/local/Cellar/haskell-platform/2011.4.0.0/lib/ghc" make install
EXTRA_CONFIGURE_OPTS="--libdir=/usr/local/Cellar/haskell-platform/2011.4.0.0/lib/ghc" make install
scripts/build.sh
**************************************************
Scanning system for any installed Haskell Platform components...
-n Found:
None.
-n New packages to install:
None! All done.
**************************************************
Building transformers-0.2.2.0
"/usr/local/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal"
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
ld: warning: text reloc in _Main_main_info to _Cabalzm1zi10zi2zi0_DistributionziSimple_defaultMain_closure
ld: warning: text reloc in _Main_main_info to non_lazy_ptr
ld: warning: text reloc in _Main_main_info to non_lazy_ptr
ld: warning: text reloc in _Main_main_info to non_lazy_ptr
ld: warning: text reloc in _ZCMain_main_info to _Cabalzm1zi10zi2zi0_DistributionziSimple_defaultMain_closure
ld: warning: text reloc in _ZCMain_main_info to _base_GHCziTopHandler_runMainIO_closure
ld: warning: text reloc in _ZCMain_main_info to non_lazy_ptr
ld: warning: text reloc in _ZCMain_main_info to non_lazy_ptr
ld: warning: text reloc in _ZCMain_main_info to non_lazy_ptr
ld: warning: text reloc in ___stginit_Main_ to ___stginit_base_GHCziTopHandler_
ld: warning: text reloc in ___stginit_Main_ to ___stginit_base_Prelude_
ld: warning: text reloc in ___stginit_Main_ to ___stginit_Cabalzm1zi10zi2zi0_DistributionziSimple_
ld: warning: text reloc in ___stginit_Main_ to __module_registered
ld: warning: text reloc in ___stginit_Main_ to __module_registered
ld: warning: text reloc in _main to non_lazy_ptr
ld: warning: text reloc in _main to non_lazy_ptr
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor16_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_UHC_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor23_info to _c1MP_str
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor23_info to non_lazy_ptr
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor23_info to non_lazy_ptr
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor23_info to non_lazy_ptr
ld: warning: text reloc in _s1EO_info to _ghczmprim_GHCziBool_Bool_closure_tbl
ld: warning: text reloc in _s2zd_info to _s1EO_info
ld: warning: text reloc in _s1ER_info to _ghczmprim_GHCziBool_False_closure
ld: warning: text reloc in _s1ER_info to _ghczmprim_GHCziBool_True_closure
ld: warning: text reloc in _s1EI_info to _s2zd_info
ld: warning: text reloc in _s1EI_info to _s1ER_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfEqCompilerFlavorzuzdczeze_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfEqCompilerFlavorzuzdczeze_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfEqCompilerFlavorzuzdczeze_info to _s1EI_info
ld: warning: text reloc in _s2B4_info to _ghczmprim_GHCziBool_False_closure
ld: warning: text reloc in _s2B4_info to _ghczmprim_GHCziBool_True_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfEqCompilerFlavorzuzdczsze_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfEqCompilerFlavorzuzdczsze_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfEqCompilerFlavorzuzdczsze_info to _s2B4_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor25_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_Helium_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadList_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadList_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadList_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor42_closure
ld: warning: text reloc in _s2GQ_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor3_closure
ld: warning: text reloc in _s2GQ_info to non_lazy_ptr
ld: warning: text reloc in _s2GQ_info to _base_TextziParserCombinatorsziReadP_zdfMonadPzuzdcreturn_closure
ld: warning: text reloc in _s2GQ_info to non_lazy_ptr
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadsPrec_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadsPrec_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadsPrec_info to _base_TextziParserCombinatorsziReadP_run_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavorzuzdcreadsPrec_info to _s2GQ_info
ld: warning: text reloc in _s2HD_info to non_lazy_ptr
ld: warning: text reloc in _s2HG_info to _base_GHCziShow_showSignedInt1_closure
ld: warning: text reloc in _s2HG_info to _ghczmprim_GHCziTypes_ZC_con_info
ld: warning: text reloc in _s2HG_info to non_lazy_ptr
ld: warning: text reloc in _s2HI_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdLr1wOlvl_closure
ld: warning: text reloc in _s2HI_info to _base_GHCziShow_zdfShowChar1_closure
ld: warning: text reloc in _s2HI_info to _ghczmprim_GHCziTypes_ZC_con_info
ld: warning: text reloc in _s2HI_info to _s2HG_info
ld: warning: text reloc in _s2HI_info to non_lazy_ptr
ld: warning: text reloc in _s2HC_info to _base_GHCziShow_showSignedInt2_closure
ld: warning: text reloc in _s2HC_info to _ghczmprim_GHCziTypes_ZC_con_info
ld: warning: text reloc in _s2HC_info to _s2HI_info
ld: warning: text reloc in _s2HC_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdLr1wOlvl_closure
ld: warning: text reloc in _s2HC_info to _base_GHCziShow_zdfShowChar1_closure
ld: warning: text reloc in _s2HC_info to _ghczmprim_GHCziTypes_ZC_con_info
ld: warning: text reloc in _s2HC_info to _s2HD_info
ld: warning: text reloc in _s2HA_info to _s2HC_info
ld: warning: text reloc in _s2HA_info to _Cabalzm1zi10zi2zi0_DistributionziCompiler_zdfReadCompilerFlavor17_closure
....
ld: warning: text reloc in _se21_info to _Cabalzm1zi10zi2zi0_DistributionziPackage_PackageIdentifier_con_info
ld: warning: text reloc in _se23_info to _se21_info
ld: warning: text reloc in _se23_info to non_lazy_ptr
ld: warning: text reloc in _se22_info to _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_InstalledPackageInfo_con_info
ld: warning: text reloc in _se22_info to _se23_info
ld: warning: text reloc in _se24_info to _se22_info
ld: warning: text reloc in _se24_info to non_lazy_ptr
ld: warning: text reloc in _se1Z_info to _Cabalzm1zi10zi2zi0_DistributionziParseUtils_ParseOk_con_info
ld: warning: text reloc in _se1Z_info to _se24_info
ld: warning: text reloc in _se1Z_info to _Cabalzm1zi10zi2zi0_DistributionziParseUtils_ParseFailed_con_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfo130_info to _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfo130_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfo130_info to _se1Z_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfo130_info to _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfozuw17_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfo130_info to _Cabalzm1zi10zi2zi0_DistributionziParseUtils_parsePackageNameQ1_closure
ld: warning: text reloc in _se53_info to _se51_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_parseInstalledPackageInfo131_info to _se53_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_zdfShowInstalledPackageInfozuzuzdcshowsPrec_info to _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_zdfShowInstalledPackageInfozuzuzdcshowsPrec_closure
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_zdfShowInstalledPackageInfozuzuzdcshowsPrec_info to _se6a_info
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_zdfShowInstalledPackageInfozuzuzdcshow_info to _Cabalzm1zi10zi2zi0_DistributionziInstalledPackageInfo_zdfShowInstalledPackageInfozuzuzdcshow_closure
...
ld: warning: text reloc in _s6bl_info to _base_TextziParserCombinatorsziReadP_Look_con_info
...
ld: warning: text reloc in _Cabalzm1zi10zi2zi0_DistributionziModuleName_zdfReadModuleName7_info to non_lazy_ptr
...
ld: warning: text reloc in _seBg_info to _Cabalzm1zi10zi2zi0_DistributionziPackageDescriptionziCheck_zdLr5IYlvl71_closure
ld: warning: text reloc in _seBg_info to _Cabalzm1zi10zi2zi0_DistributionziPackageDescriptionziCheck_zdLr5J2lvl73_closure
....
ld: warning: text reloc in _s7CC_info to non_lazy_ptr
...
ld: warning: text reloc in _stg_waitReadzh to non_lazy_ptr
ld: warning: text reloc in _stg_waitWritezh to non_lazy_ptr
...
dist/build/happy/happy-tmp/AttrGrammarParser.hs:574:7:
warning: missing terminating ' character
-- Don't inline any functions from the template. GHC has a nasty habit
^
18 warnings generated.
src/AttrGrammar.lhs:70:33:
warning: missing terminating ' character
aux toks s l = agLexer' (\t -> aux (t:toks)) s l
^
...
src/LALR.lhs:651:31:
warning: missing terminating ' character
countMultiples (LR'Multiple _ _) _
^
58 warnings and 4 errors generated.
Error:
Building the happy-1.18.6 package failed
make: *** [build.stamp] Error 2
config.log was copied to /Users/gabrielstuff/Library/Logs/Homebrew
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/haskell-platform.rb#L13
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: 9d3b181c86ceb5915d0e907c5736d4825659f8fe
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/gabrielstuff/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
==> Build Flags
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
MAKEFLAGS: -j2
PKG_CONFIG_PATH: :/usr/local/lib/pkgconfig/:/Users/igab/gtk/inst/lib/pkgconfig/
Error: Failed executing: EXTRA_CONFIGURE_OPTS="--libdir=/usr/local/Cellar/haskell-platform/2011.4.0.0/lib/ghc" make install
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/10396
Otherwise, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Ven mar 16 00:40:13 ~/Sites/exquise/wp-content/themes/exquiseV2 [master] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment