Install of `cabal-install` fails with:unrecognized option `--sysconfdir=/Users/anderspersson/Library/Haskell/ghc-7.6.3/lib/cabal-install-1.18.0/etc'
I tried to install using rc1./AndersOSX 10.8.4% cabal install http://johantibell.com/files/Cabal-1.18.0-rc2.tar.gz http://johantibell.com/files/cabal-install-1.18.0-rc2.tar.gzResolving dependencies...In order, the following will be installed:Cabal-1.18.0 (latest: 1.16.0.3) (reinstall)cabal-install-1.18.0 (latest: 1.16.0.2) (new package)Warning: Note that reinstalls are always dangerous. Continuing anyway...Configuring Cabal-1.18.0...Building Cabal-1.18.0...Installed Cabal-1.18.0Configuring cabal-install-1.18.0...Failed to install cabal-install-1.18.0Last 10 lines of the build log ( /Users/anderspersson/.cabal/logs/cabal-install-1.18.0.log ):unrecognized option `--sysconfdir=/Users/anderspersson/Library/Haskell/ghc-7.6.3/lib/cabal-install-1.18.0/etc'Updating documentation index/Users/anderspersson/Library/Haskell/doc/index.htmlcabal: Error: some packages failed to install:cabal-install-1.18.0 failed during the configure step. The exception was:ExitFailure 1% cabal --versioncabal-install version 1.18.0using version 1.18.0 of the Cabal library% ghc --info[("Project name","The Glorious Glasgow Haskell Compilation System"),("GCC extra via C opts"," -fwrapv"),("C compiler command","/usr/bin/gcc"),("C compiler flags"," -m64 -fno-stack-protector -m64"),("ar command","/usr/bin/ar"),("ar flags","clqs"),("ar supports at file","@ArSupportsAtFile@"),("touch command","touch"),("dllwrap command","/bin/false"),("windres command","/bin/false"),("perl command","/usr/bin/perl"),("target os","OSDarwin"),("target arch","ArchX86_64"),("target word size","8"),("target has GNU nonexec stack","False"),("target has .ident directive","True"),("target has subsections via symbols","True"),("LLVM llc command","llc"),("LLVM opt command","opt"),("Project version","7.6.3"),("Booter version","7.4.2"),("Stage","2"),("Build platform","x86_64-apple-darwin"),("Host platform","x86_64-apple-darwin"),("Target platform","x86_64-apple-darwin"),("Have interpreter","YES"),("Object splitting supported","YES"),("Have native code generator","YES"),("Support SMP","YES"),("Unregisterised","NO"),("Tables next to code","YES"),("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn thr_debug_dyn"),("Leading underscore","YES"),("Debug on","False"),("LibDir","/Library/Frameworks/GHC.framework/Versions/7.6.3-x86_64/usr/lib/ghc-7.6.3"),("Global Package DB","/Library/Frameworks/GHC.framework/Versions/7.6.3-x86_64/usr/lib/ghc-7.6.3/package.conf.d"),("Gcc Linker flags","[\"-m64\"]"),("Ld Linker flags","[\"-arch\",\"x86_64\"]")]On Thu, Aug 29, 2013 at 4:40 AM, Johan Tibell <johan.tibell@gmail.com> wrote:
_______________________________________________Hi,I've prepared another RC, including some fixes. This one is based on 9f374ab45e62924506b992db9157c970c7259a03 on the master branch. If we don't see any problems with this RC the next few days, I'll release it as 1.18.Again, to install the RC just run:cabal install http://johantibell.com/files/Cabal-1.18.0-rc2.tar.gz http://johantibell.com/files/cabal-install-1.18.0-rc2.tar.gz
These are the changes since RC1:9f374ab Give the xxx_HOST_OS and xxx_HOST_ARCH options that were probed from ghc's target platform, rather than assuming HOST == BUILD. This fixes things for cross compiling.0bd367f Fix the 'index.cache' up-to-date check.323460e Unit tests: use configure GHC473f76a Merge pull request #1440 from 23Skidoo/ghc-info-ignore-ghc-options85cb83d Merge pull request #1441 from 23Skidoo/repl-extralibs2d938de Rename 'pref' to 'libTargetDir'.d9283d2 Rearrange the code a bit.7802fa0 Ignore 'ghc-options' when parsing 'ghc --info' output.218c6bb Add 'suppressOverrideArgs'.43624cf Formatting.a3bbf4c Pass linker options when loading *libraries* in GHCi.c977ddd Merge changes from GHC HQ fork5fa5c41 Merge branch 'master' into rolesdd3ca38 Fix link to users' guide.2803d87 Added a new extension (RoleAnnotations) to the list-- Johan
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel