-
Notifications
You must be signed in to change notification settings - Fork 26
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 7.8.1 for device #5
Comments
Yeah, I ran into this too — I'm not sure what caused my paths to get hardcoded in the binary-dist. You can work around it by running a find&replace "/Users/lukexi/Code/ghc-ios-scripts/" with "" (it will hit a lot of files but works fine). I'll look into it while I build the 7.8.2 dist |
Similar?
Replacing "cfgOnAppThread" with "" did it for me. |
Thanks — I added a workaround for that in the installGHCiOS.sh script. I'll track that one down for 7.8.3. |
Should be fixed now! http://www.haskell.org/ghc/download_ghc_7_8_3#ios |
Now script works fine, but it downloads ghc-7.8.2-i386-apple-ios.tar.xz instead of 7.8.3 |
Whoops, forgot to update that part, thanks Cyril! Fixing now.
|
"mv" "/usr/local/lib/i386-apple-darwin11-ghc-7.8.3/bin/ghc-stage1" "/usr/local/lib/i386-apple-darwin11-ghc-7.8.3/bin/ghc" rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a rts/dist/build/libHSrts_l.a rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a rts/dist/build/libHSrts_thr_p.a rts/dist/build/libCffi.a rts/dist/build/libCffi_p.a rts/dist/build/libCffi_l.a rts/dist/build/libCffi_debug.a rts/dist/build/libCffi_thr.a rts/dist/build/libCffi_thr_debug.a rts/dist/build/libCffi_thr_l.a rts/dist/build/libCffi_thr_p.a = libraries to install"/usr/local/lib/i386-apple-darwin11-ghc-7.8.3/rts-1.0" = directory to install to/usr/bin/install -c -m 755 -d "/usr/local/lib/i386-apple-darwin11-ghc-7.8.3/rts-1.0" |
Argh, I took steps to fix that and apparently they still snuck in there. Until I figure out the cause, I've added a step to the install script that should strip them out. Can you give that a try? Thanks! |
Now I have more strange error:
|
Any progress on this? The script fails in the same place for me too:
|
Yep, I'm getting this too :(
|
Alright. After some digging, and wondering why this does not work, it looks like the ghc-prim is damaged somehow. (This is ghc-7.8.3 though, not ghc-7.8.1 as the thread sais.)
|
@angerman It works, thanks. |
I'm using Yosemite and the latest version of xcode.
|
If I switch a few lines around to my local directory
it will all install successfully, but when I run ghc-ios on Counter.hs I get
|
Ok, I was able to get it working by prefixing libtool-quiet with its full path in the ghc-ios file. Looks like I might have to edit the paths for all the other scripts. |
@mchaver I ran into that same error (ghc-cabal: arm-apple-darwin10-ranlib: does not exist) but it was a problem with my path. |
On step
make install
I have the next error:Seems somewere makefiles contain the wrong absolute path.
Full log:
https://gist.github.com/notorca/10576103
The text was updated successfully, but these errors were encountered: