Skip to content

build error #4

@rzil

Description

@rzil

I followed all instructions here. See transcript below.

[ruben@Rubens-MacBook-Pro 09:14 hs-src]$ ./call x86_64-apple-ios-cabal new-update --allow-newer
Downloading the latest package lists from:
- hackage.haskell.org
- hackage.mobilehaskell
To revert to previous state run:
    cabal new-update 'hackage.mobilehaskell,2018-01-17T08:44:23Z'
To revert to previous state run:
    cabal new-update 'hackage.haskell.org,2018-04-28T04:36:26Z'
[ruben@Rubens-MacBook-Pro 09:14 hs-src]$ ./call make iOS
CABAL=x86_64-apple-ios-cabal make cabal-build
x86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following would be built (use -v for more details):
 - base-orphans-0.7 (lib) (requires build)
 - natural-transformation-0.4 (lib) (requires build)
 - transformers-compat-0.6.1.6 (lib) (requires build)
 - transformers-base-0.4.5.2 (lib) (requires build)
 - freer-simple-1.1.0.0 (lib) (requires build)
 - freer-simple-1.1.0.0 (exe:freer-examples) (requires build)
 - MobileFun-0.1.0.0 (lib) (first run)
x86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following will be built (use -v for more details):
 - base-orphans-0.7 (lib) (requires build)
 - natural-transformation-0.4 (lib) (requires build)
 - transformers-compat-0.6.1.6 (lib) (requires build)
 - transformers-base-0.4.5.2 (lib) (requires build)
 - freer-simple-1.1.0.0 (lib) (requires build)
 - MobileFun-0.1.0.0 (lib) (first run)
Configuring library for base-orphans-0.7..
Preprocessing library for base-orphans-0.7..
Building library for base-orphans-0.7..
[1 of 2] Compiling Data.Orphans     ( src/Data/Orphans.hs, dist/build/Data/Orphans.o )
[2 of 2] Compiling Data.Orphans.Prelude ( src/Data/Orphans/Prelude.hs, dist/build/Data/Orphans/Prelude.o )
[1 of 2] Compiling Data.Orphans     ( src/Data/Orphans.hs, dist/build/Data/Orphans.p_o )

src/Data/Orphans.hs:38:8: error:
    Could not find module ‘Prelude’
    Perhaps you haven't installed the profiling libraries for package ‘base-4.11.0.0’?
    Use -v to see a list of the files searched for.
   |
38 | module Data.Orphans () where
   |        ^^^^^^^^^^^^
cabal: Failed to build base-orphans-0.7 (which is required by
MobileFun-0.1.0.0).

make[1]: *** [cabal-build] Error 1
make: *** [binaries/iOS/libHSMobileFun.a] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions