From jp at jamesparker.me Tue Aug 18 21:21:34 2015 From: jp at jamesparker.me (James Parker) Date: Tue, 18 Aug 2015 17:21:34 -0400 Subject: [Haskell-iPhone] Installing aeson as a dependency with cabal-ios Message-ID: 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 . Thanks! James -------------- next part -------------- An HTML attachment was scrubbed... URL: From targen at gmail.com Tue Aug 18 22:57:26 2015 From: targen at gmail.com (=?UTF-8?Q?Manuel_G=C3=B3mez?=) Date: Tue, 18 Aug 2015 18:27:26 -0430 Subject: [Haskell-iPhone] Installing aeson as a dependency with cabal-ios In-Reply-To: References: Message-ID: 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 From jp at jamesparker.me Wed Aug 19 00:31:25 2015 From: jp at jamesparker.me (James Parker) Date: Tue, 18 Aug 2015 20:31:25 -0400 Subject: [Haskell-iPhone] Installing aeson as a dependency with cabal-ios In-Reply-To: References: Message-ID: Cool, I was wondering how to run ghc-pkg. The output is here . 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: