[Haskell-iPhone] ghc-ios build issue pt.2

Luke Iannini lukexipd at gmail.com
Thu Nov 29 08:10:36 CET 2012


Hi Casey,

You're sure you ran
sudo mkdir -p /usr/local/ghc-iphone/
sudo chown $USER /usr/local/ghc-iphone/

before running make install?

You can feel free to send me the log directly if you like!
Cheers
Luke

On Wed, Nov 28, 2012 at 6:51 PM, Casey Basichis <caseybasichis at gmail.com> wrote:
> Hi,
>
> I'm unable to get past the make install stage of building ghc-ios.  I
> installed llvm3.0, set it as the default compiler and  and followed the
> instructions on the wiki several times, deleting the folder and starting
> from scratch each time.
>
> Here is what I get for make install. I have the full terminal session log
> for the wiki install procedure if that I can send as well (I think it may be
> to large to post to the mailing list)
>
> ===--- building phase 0
>
> make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
>
> includes/ghc.mk:156: warning: overriding commands for target
> `inplace/bin/mkDerivedConstants'
>
> includes/ghc.mk:146: warning: ignoring old commands for target
> `inplace/bin/mkDerivedConstants'
>
> includes/ghc.mk:200: warning: overriding commands for target
> `inplace/bin/mkGHCConstants'
>
> includes/ghc.mk:188: warning: ignoring old commands for target
> `inplace/bin/mkGHCConstants'
>
> make[1]: Nothing to be done for `phase_0_builds'.
>
> ===--- building phase 1
>
> make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
>
> includes/ghc.mk:156: warning: overriding commands for target
> `inplace/bin/mkDerivedConstants'
>
> includes/ghc.mk:146: warning: ignoring old commands for target
> `inplace/bin/mkDerivedConstants'
>
> includes/ghc.mk:200: warning: overriding commands for target
> `inplace/bin/mkGHCConstants'
>
> includes/ghc.mk:188: warning: ignoring old commands for target
> `inplace/bin/mkGHCConstants'
>
> make[1]: Nothing to be done for `phase_1_builds'.
>
> ===--- building final phase
>
> make -r --no-print-directory -f ghc.mk phase=final install
>
> includes/ghc.mk:156: warning: overriding commands for target
> `inplace/bin/mkDerivedConstants'
>
> includes/ghc.mk:146: warning: ignoring old commands for target
> `inplace/bin/mkDerivedConstants'
>
> includes/ghc.mk:200: warning: overriding commands for target
> `inplace/bin/mkGHCConstants'
>
> includes/ghc.mk:188: warning: ignoring old commands for target
> `inplace/bin/mkGHCConstants'
>
> /usr/bin/install -c -m 755 -d "/usr/local/ghc-iphone/share/man"
>
> /usr/bin/install -c -m 755 -d "/usr/local/ghc-iphone/share/man/man1"
>
> /usr/bin/install -c -m 644  docs/man/ghc.1
> "/usr/local/ghc-iphone/share/man/man1"
>
> /usr/bin/install -c -m 755 -d "/usr/local/ghc-iphone/lib/ghc-7.5.20121127"
>
> /usr/bin/install -c -m 755  driver/split/dist/ghc-split
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127"
>
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include"
>
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/." && /usr/bin/install
> -c -m 644  includes/./*.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/./" &&
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/rts" && /usr/bin/install
> -c -m 644  includes/rts/*.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/rts/" &&
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/rts/prof" &&
> /usr/bin/install -c -m 644  includes/rts/prof/*.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/rts/prof/" &&
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/rts/storage" &&
> /usr/bin/install -c -m 644  includes/rts/storage/*.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/rts/storage/" &&
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/stg" && /usr/bin/install
> -c -m 644  includes/stg/*.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/stg/" &&  true
>
> /usr/bin/install -c -m 644  includes/ghcautoconf.h includes/ghcplatform.h
> includes/dist-ghcconstants/header/GHCConstants.h
> includes/dist-derivedconstants/header/DerivedConstants.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/"
>
> /usr/bin/install -c -m 755 -d
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include"
>
> /usr/bin/install -c -m 644  rts/dist/build/ffi.h rts/dist/build/ffitarget.h
> "/usr/local/ghc-iphone/lib/ghc-7.5.20121127/include/"
>
> /usr/bin/install -c -m 755 -d "/usr/local/ghc-iphone/bin"
>
> install: chmod 755 /usr/local/ghc-iphone/bin: Operation not permitted
>
> "rm" -f
> "/usr/local/ghc-iphone/bin/arm-apple-darwin10-hsc2hs"
>
> create () { touch "$1" && chmod 755 "$1" ; } && create
> "/usr/local/ghc-iphone/bin/arm-apple-darwin10-hsc2hs"
>
> touch: /usr/local/ghc-iphone/bin/arm-apple-darwin10-hsc2hs: Permission
> denied
>
> make[1]: *** [install_utils/hsc2hs_dist_wrapper] Error 1
>
> make: *** [install] Error 2
>
> CASEYs-MacBook-Pro:ghc caseybasichis$
>
>
> _______________________________________________
> iPhone mailing list
> iPhone at haskell.org
> http://www.haskell.org/mailman/listinfo/iphone
>



More information about the iPhone mailing list