[Barrelfish-users] Compiling barrelfish for ARM

Timothy Roscoe troscoe at inf.ethz.ch
Mon Jul 25 14:46:26 CEST 2011


Indeed - by the way, many thanks for putting the information on the wiki!

In an ideal world, we'd have to worry a lot less about compiler bugs...

  -- Mothy

On 07/25/2011 02:09 PM, Calum McCall wrote:
> Hi,
>
> Apologies, I didn't make this very clear on the wiki.
>
> The only packages for GHC required to build Barrelfish are the ghc-paths
> and parsec libraries(so you're almost there :P).
>
> You should be able to find the parsec library by searching in synaptic,
> the package name is libghc6-parsec2-dev. I'm unsure if parsec3 works, I
> haven't tried it myself. Anyhow, installing that should fix your problem.
>
> -Calum
>
> On 25/07/11 08:52, Konstantin Zertsekel wrote:
>>> This is completely normal behavior for make - the included dependency files
>>> don't exist because they haven't been generated yet (you see this with lots
>>> of other Makefiles).   If there's an error it will be at the bottom of the
>>> log.
>>
>> Oh, ... it was kind of silly on my side...
>> Here it is:
>>
>> --------------------------------------------------------------------------------
>> ...
>> ...
>> Makefile:34877: arm/usr/fish/_for_app_fish/font.o.depend: No such file
>> or directory
>> ghc -i../tools/fugu -odir  ./tools/tools/fugu -hidir
>> ./tools/tools/fugu --make  ../tools/fugu/Main.lhs -o  ./tools/bin/fugu
>>    -i../tools/fof
>>
>> ../tools/fugu/Parser.hs:25:7:
>>       Could not find module `Text.ParserCombinators.Parsec.Language':
>>         Use -v to see a list of the files searched for.
>> make: *** [tools/bin/fugu] Error 1
>> --------------------------------------------------------------------------------
>>
>> And when I rerun ghc with '-v' for verbose as supposed it cries this:
>>
>> --------------------------------------------------------------------------------
>> konszert at kosta-ubuntu:~/dev/hg.barrelfish.org/my_build$ ghc -v
>> -i../tools/fugu -odir  ./tools/tools/fugu -hidir  ./tools/tools/fugu
>> --make  ../tools/fugu/Main.lhs -o  ./tools/bin/fugu  -i../tools/fof
>> Glasgow Haskell Compiler, Version 6.12.1, for Haskell 98, stage 2
>> booted by GHC version 6.12.1
>> Using binary package database: /usr/lib/ghc-6.12.1/package.conf.d/package.cache
>> hiding package base-3.0.3.2 to avoid conflict with later version base-4.2.0.0
>> wired-in package ghc-prim mapped to
>> ghc-prim-0.2.0.0-3fbcc20c802efcd7c82089ec77d92990
>> wired-in package integer-gmp mapped to
>> integer-gmp-0.2.0.0-fa82a0df93dc30b4a7c5654dd7c68cf4
>> wired-in package base mapped to base-4.2.0.0-73995e854f236dc2acd577d7c791221d
>> wired-in package rts mapped to builtin_rts
>> wired-in package haskell98 mapped to
>> haskell98-1.0.1.1-0fdaf3b26bc38c43ce8371edf538dbf6
>> wired-in package template-haskell mapped to
>> template-haskell-2.4.0.0-92d419f5a3bd03d1c021561d3b29c041
>> wired-in package dph-seq mapped to
>> dph-seq-0.4.0-1f5167ea371010387123b68e975177b2
>> wired-in package dph-par mapped to
>> dph-par-0.4.0-4e569f28e047d67d87266113526bc6ec
>> Hsc static flags: -static
>> *** Chasing dependencies:
>> Chasing modules from: *../tools/fugu/Main.lhs
>> Created temporary directory: /tmp/ghc13070_0
>> *** Literate pre-processor:
>> /usr/lib/ghc-6.12.1/unlit -h ../tools/fugu/Main.lhs
>> ../tools/fugu/Main.lhs /tmp/ghc13070_0/ghc13070_0.lpp
>>
>> ../tools/fugu/Parser.hs:25:7:
>>       Could not find module `Text.ParserCombinators.Parsec.Language':
>>         locations searched:
>>           Text/ParserCombinators/Parsec/Language.hs
>>           Text/ParserCombinators/Parsec/Language.lhs
>>           ../tools/fugu/Text/ParserCombinators/Parsec/Language.hs
>>           ../tools/fugu/Text/ParserCombinators/Parsec/Language.lhs
>>           ../tools/fof/Text/ParserCombinators/Parsec/Language.hs
>>           ../tools/fof/Text/ParserCombinators/Parsec/Language.lhs
>> *** Deleting temp files:
>> Deleting: /tmp/ghc13070_0/ghc13070_0.lpp
>> *** Deleting temp dirs:
>> Deleting: /tmp/ghc13070_0
>> --------------------------------------------------------------------------------
>>
>> As I see it, I miss some haskell library/package, but Ubuntu has so
>> many of them like ~100.
>> Can you please post what haskell libraries are must?
>>
>> Thanks,
>> --- Kosta
>>
>> _______________________________________________
>> Barrelfish-users mailing list
>> Barrelfish-users at lists.inf.ethz.ch
>> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
> _______________________________________________
> Barrelfish mailing list
> Barrelfish at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish



More information about the Barrelfish-users mailing list