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

Casey Basichis caseybasichis at gmail.com
Thu Nov 29 03:51:35 CET 2012


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$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20121128/1c6999fc/attachment.htm>


More information about the iPhone mailing list