codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

xmonad-contrib fails to install on osx #556

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.cabal install xmonad-contrib -flags="use_xft" --ghc-options="-pgmPcpphs 
-optP--cpp"
2.
3.

What is the expected output? What do you see instead?
Expected output is a succesful installation.

What version of the product are you using? On what operating system?
GHC 7.6.3/cabal -install 1.16.02
Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

Please provide any additional information below.

Hi,
I'm trying to build/install xmonad-contrib 0.11.2 with cabal.
I already installed xmonad 0.11. successfully, but trying to install 
xmonad-contrib keeps on failing with
a ranlib error.
I'm on a mac (10.8.2). I even tried switching ranlib and ar to the binutils 
versions, but that attempt, failed too,
though later than with clang.

Here the end of the output
...
Documentation created: dist/doc/html/xmonad-contrib/index.html
Installing library in
/Users/louis/Library/Haskell/ghc-7.6.3/lib/xmonad-contrib-0.11.2/lib
/opt/bin/ranlib: 
/Users/louis/Library/Haskell/ghc-7.6.3/lib/xmonad-contrib-0.11.2/lib/libHSxmonad
-contrib-0.11.2.a: Malformed archive
Failed to install xmonad-contrib-0.11.2
cabal: Error: some packages failed to install:
xmonad-contrib-0.11.2 failed during the final install step. The exception was:
ExitFailure 1
...

Any suggestions?

Original issue reported on code.google.com by mitun...@gmx.de on 22 Aug 2013 at 1:04

Attachments:

GoogleCodeExporter commented 8 years ago
I fiddled around with the toolchain and finally with the combination 
clang+binutils the package managed to compile.

Original comment by mitun...@gmx.de on 22 Aug 2013 at 1:52

GoogleCodeExporter commented 8 years ago

Original comment by vogt.a...@gmail.com on 25 Sep 2013 at 3:08