-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building the ghc ios simulator on Mavericks #4
Comments
Hi Alfred, Thanks so much for testing : ) Hmm, we've gotten it going on other machines so I'm not sure what's up yet. Can you tell me exactly the Xcode and OS X versions you have? Thanks! On Feb 8, 2014, at 2:47 AM, Alfredo Di Napoli notifications@github.com wrote:
|
Hi! Thanks! |
Just FYI: I have tried the install process on my work Mac, and the installation succeeded (yay!), so I can I can try to diff the two configurations as soon as I have a chance to get hold of my home machine. A. |
Hi Alfredo, |
I have the same issue. My 'make install' output is almost identical (except it references /usr/bin/install instead of /usr/local/bin/ginstall). The device install completes successfully but the simulator fails as above. The machine is a MacBook Air with OS X 10.9.1 and XCode 5.0.2 (5A3005). I have the 64bit Haskell Platform 2013.2.0.0 installed. Thanks for all the great work making this happen. Please let me know if there is something I can do to help track this down. |
Failed:
Succeed:
|
Hi, When I was installing the RC2(20140226) version both arm and i386 versions got the same error: "inplace/bin/ghc-cabal" copy libraries/ghc-prim dist-install ":" '' '/usr/local' '/usr/local/lib/arm-apple-darwin10-ghc-7.8.0.20140226' '/usr/local/share/doc/ghc/html/libraries' 'v p' One step closer to the problem. |
README error: Download the GHC iOS for the device: https://github.com/ghc-ios/ghc-ios-scripts/releases/download/7.8-rc2-simulator/ghc-7.8.0.20140228-i386-apple-ios.tar.bz2 I think this link is error. should be: |
Thanks Zhangjiji, fixed! I knew I'd do that sometime : ) Luckily Austin caught it in the official release. I take it you're still having the same issue with the 20140228 version? I'm going to try diffing with RC1 to see if that sheds any light... Cheers |
I'm having the same issue on 10.8.5 |
Wow, alright! I figured something out : ) I had a chance to try things out on a new machine that had the Haskell Platform installed, and ran into this same exact issue. All of my own machines have a manually installed GHC 7.8.2 + fresh Cabal setup, so I thought there might be something to that. So I tried it: After doing all that, I was able to install both the Simulator and Device editions of GHC iOS flawlessly on the machine. Since I did a lot at once, I'm not exactly sure which piece fixes it. But now we have a working recipe and it would be awesome if you guys could try some pieces of that! (I did a lot of "which cabal" and "which ghc" and PATH editing to make sure I was getting the newest of each — it can get pretty confusing since the Platform uses very different directories than a hand-installed GHC/Cabal) |
If I had to guess, it was probably the cabal version/config file rather than needing to install a new GHC — so try making sure the latest cabal is in your path (e.g. cabal -V, make sure it's 1.20) and then try backing up your .cabal/config file and running cabal update to let it generate a new one (and removing $ncpus from that : )) |
Today I tried to install the ghc cross compiler for ios and got the same issue. The install package I've used is http://www.haskell.org/ghc/dist/7.8.2/ghc-7.8.2-i386-apple-ios.tar.xz. After some investation I found that it might be caused by static linking of exectuables, for example, ghc-cabal. I replaced ghc-cabal with the one in installation package for os x, which is dynamic linked, and then the error is gone. After that, I replaced ghc-pkg due to the same issue. But finally it seems that the exectuable ghc itself has the same problem, it cannot run properly. The installer cannot get the proper version number of ghc and then stopped. Thanks. |
I have installed the compiler by compiling the source code, it's easier than what I had expected. Thanks, |
Hi!
First of all thanks for your heroic effort :)
I've been following the README instructions, using the very same files and paths described. the ghc-ios for the device installed correctly, whereas the ghc ios simulator hanged with the following error:
the full "make install" output is available here: https://gist.github.com/adinapoli/8881775
and my settings are: https://gist.github.com/adinapoli/8881785
where obviously all the bins are available in my $PATH.
Thanks!
Alfredo
The text was updated successfully, but these errors were encountered: