Installing aeson as a dependency with cabal-ios
Hi, I’m attempting to install aeson as a dependency for another library with cabal-ios. I’m somewhat confused because I believe I’ve installed aeson (after removing the template haskell), but when I try to build my library, it attempts to install aeson again. Does anyone have any suggestions? You can find the build logs here http://lpaste.net/7956551478481518592. Thanks! James
On Tue, Aug 18, 2015 at 4:51 PM, James Parker
I’m attempting to install aeson as a dependency for another library with cabal-ios. I’m somewhat confused because I believe I’ve installed aeson (after removing the template haskell), but when I try to build my library, it attempts to install aeson again. Does anyone have any suggestions? You can find the build logs here.
What do these print? i386-apple-darwin11-ghc-pkg list arm-apple-darwin10-ghc-pkg list
Cool, I was wondering how to run ghc-pkg. The output is here http://lpaste.net/8410752052514258944. After some playing around, I got aeson and my library to install. For future reference, I had to do something along the line of: arm-apple-darwin10-ghc-pkg unregister aeson i386-apple-darwin11-ghc-pkg unregister aeson arm-apple-darwin10-ghc-pkg unregister attoparsec i386-apple-darwin11-ghc-pkg unregister attoparsec I also had to add the following constraints to aeson-0.8.0.2: attoparsec == 0.12.1.2 dlist == 0.7.1 syb == 0.4.4 As an aside, I keep seeing the following warning: ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/lib/' The specified directory doesn’t exist, but the following does for me (XCode 6.4). Do I need to change some configuration? /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib JP
On Aug 18, 2015, at 6:57 PM, Manuel Gómez
wrote: On Tue, Aug 18, 2015 at 4:51 PM, James Parker
wrote: I’m attempting to install aeson as a dependency for another library with cabal-ios. I’m somewhat confused because I believe I’ve installed aeson (after removing the template haskell), but when I try to build my library, it attempts to install aeson again. Does anyone have any suggestions? You can find the build logs here.
What do these print?
i386-apple-darwin11-ghc-pkg list
arm-apple-darwin10-ghc-pkg list
participants (2)
-
James Parker -
Manuel Gómez