<div dir="ltr"><div><div>Hi,<br><br></div>I just tried for about 10 times and even this is not helpful.<br><br></div>-Vamshi.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 1:05 AM, Martynas Pumputis <span dir="ltr"><<a href="mailto:mpumputi@student.ethz.ch" target="_blank">mpumputi@student.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
As a dirty workaround to this problem, I suggest you to run multiple<br>
make jobs by using `make -j8`.<br>
<br>
Best,<br>
Martynas<br>
<div><div class="h5"><br>
On 09/25/2014 10:04 AM, Vamshi Krishna wrote:<br>
> Hi Stefan,<br>
><br>
> I tried building only the header file but it did not help.<br>
> I am still facing the same error!<br>
><br>
> In file included from ../lib/posixcompat/pty.h:16:0,<br>
> from ../lib/posixcompat/write.c:18:<br>
> ../include/term/server/server.h:23:37: fatal error:<br>
> if/terminal_config_defs.h: No such file or directory<br>
> #include <if/terminal_config_defs.h><br>
> ^<br>
> compilation terminated.<br>
> make: *** [x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend]<br>
> Error 1<br>
><br>
><br>
> Then::<br>
> --> I tried building the header files manually i.e by the below procedure.<br>
><br>
> ./tools/bin/flounder -i ../if/platform/x86_64.if -i ../if/arch/x86_64.if<br>
> -i ../if/types.if --generic-header ../if/terminal.if<br>
> ./x86_64/include/if/terminal_config_defs.h<br>
><br>
> This resolved the dependency problem but i am facing some errors later<br>
> in the installation.<br>
><br>
> 1.) Please tell me if it is ok to build manually like i did?<br>
> 2.) If yes What Flounder option should i mention to build the<br>
> terminal_config_defs.h? Is --generic-header fine?<br>
><br>
> Regards,<br>
> -Vamshi.<br>
><br>
> On Sat, Sep 20, 2014 at 4:21 AM, Kästle Stefan<br>
</div></div><span class="">> <<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a> <mailto:<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a>>> wrote:<br>
><br>
> This sounds like a build dependency problem. It's worth trying to<br>
> manually trigger flounder to generate the missing file:<br>
><br>
> $ make ./x86_64/include/if/terminal_config_defs.h<br>
><br>
> And then rebuild:<br>
><br>
> $ make<br>
><br>
> Ultimately, the problem is that libterm includes a file that is<br>
> generated by one of its dependencies. This is bad, because it<br>
> requires to specify this dependency everywhere the library is used<br>
> (in your case libposixcompat).<br>
> <<a href="https://mail.ethz.ch/owa/?ae=PreFormAction&a=Reply&t=IPM.Note&id=RgAAAABf%2bEk9yT%2fyTKqIqwuNs5ufBwB0zMe5vmNwQIrN1QwanZ9MAAABkAJNAACES0pGgACqRp4v1%2b76RudLAAAd4PA3AAAJ&pspid=_1411199770424_328436972#" target="_blank">https://mail.ethz.ch/owa/?ae=PreFormAction&a=Reply&t=IPM.Note&id=RgAAAABf%2bEk9yT%2fyTKqIqwuNs5ufBwB0zMe5vmNwQIrN1QwanZ9MAAABkAJNAACES0pGgACqRp4v1%2b76RudLAAAd4PA3AAAJ&pspid=_1411199770424_328436972#</a>><br>
><br>
> Include files of libraries should be self-contained in the sense<br>
> that they only include headers that are either part of the library<br>
> itself or static external include files (such as system includes,<br>
> i.e. files that do _not_ have to be generated). More often than we<br>
> would like to, they are not ..<br>
><br>
> Cheers,<br>
> Stefan<br>
><br>
> ________________________________<br>
</span>> From: Vamshi Krishna [<a href="mailto:vamshi4ms@gmail.com">vamshi4ms@gmail.com</a> <mailto:<a href="mailto:vamshi4ms@gmail.com">vamshi4ms@gmail.com</a>>]<br>
<span class="">> Sent: Friday, September 19, 2014 8:59 PM<br>
> To: <a href="mailto:barrelfish-users@lists.inf.ethz.ch">barrelfish-users@lists.inf.ethz.ch</a><br>
</span>> <mailto:<a href="mailto:barrelfish-users@lists.inf.ethz.ch">barrelfish-users@lists.inf.ethz.ch</a>><br>
<span class="">> Subject: Re: [Barrelfish-users] Errors while building barrelfish.<br>
><br>
> Hi all,<br>
><br>
> I am trying to build the latest version of barrelfish on Linux-<br>
> ubuntu 14.04 64 bit. Architecture x86_64.<br>
><br>
> I am facing the following error while building.<br>
><br>
> Generating x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend<br>
> In file included from ../lib/posixcompat/pty.h:16:0,<br>
> from ../lib/posixcompat/write.c:18:<br>
> ../include/term/server/server.h:23:37: fatal error:<br>
> if/terminal_config_defs.h: No such file or directory<br>
> #include <if/terminal_config_defs.h><br>
> ^<br>
> compilation terminated.<br>
> make: ***<br>
> [x86_64/lib/posixcompat/_for_lib_posixcompat/write.o.depend] Error 1<br>
><br>
> I tried looking up in the code for the file but couldn't find.<br>
> Please help resolve this issue.<br>
><br>
> Regards,<br>
> -Vamshi.<br>
><br>
><br>
> On Fri, Sep 19, 2014 at 1:39 AM, Stefan Kaestle<br>
> <<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a><br>
</span>> <mailto:<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a>><mailto:<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a> <mailto:<a href="mailto:stefan.kaestle@inf.ethz.ch">stefan.kaestle@inf.ethz.ch</a>>>><br>
<div><div class="h5">> wrote:<br>
> Hi Vamshi,<br>
><br>
> As the error message suggests, you are missing parsec. On a typical<br>
> Debian/Ubuntu system, the required package is typically called<br>
> libghc-parsec2-dev<br>
><br>
> For more information, read<br>
> <a href="http://wiki.barrelfish.org/Getting_Started" target="_blank">http://wiki.barrelfish.org/Getting_Started</a> and<br>
> <a href="http://hg.barrelfish.org/barrelfish/file/tip/README" target="_blank">http://hg.barrelfish.org/barrelfish/file/tip/README</a>.<br>
><br>
> Cheers,<br>
> Stefan<br>
><br>
><br>
> On 09/19/2014 10:29 AM, Vamshi Krishna wrote:<br>
> Hi all,<br>
><br>
> I am trying to build the latest version of barrelfish on Linux-<br>
> ubuntu 14.04 64 bit. Architecture x86_64.<br>
><br>
> I successfully built the makefile but while i try to build<br>
> barrelfish, i get below errors. Please help me resolve.<br>
><br>
> touch ./x86_64/trace_definitions/.marker<br>
> mkdir -p ./x86_64/tools/asmoffsets<br>
> touch ./x86_64/tools/asmoffsets/.marker<br>
> mkdir -p ./x86_64/lib/posixcompat/_for_lib_posixcompat<br>
> touch ./x86_64/lib/posixcompat/_for_lib_posixcompat/.marker<br>
> ghc -i../tools/flounder -odir ./tools/tools/flounder -hidir<br>
> ./tools/tools/flounder -rtsopts=all --make<br>
> ../tools/flounder/Main.lhs -o ./tools/bin/flounder<br>
><br>
> ../tools/pleco/Parser.hs:22:8:<br>
> Could not find module `Text.ParserCombinators.Parsec.Language'<br>
> Use -v to see a list of the files searched for.<br>
> make: *** [tools/bin/pleco] Error 1<br>
> make: *** Waiting for unfinished jobs....<br>
><br>
> ../tools/flounder/Parser.hs:25:8:<br>
> Could not find module `Text.ParserCombinators.Parsec.Language'<br>
> Use -v to see a list of the files searched for.<br>
> make: *** [tools/bin/flounder] Error 1<br>
><br>
> ../tools/hamlet/Parser.hs:21:8:<br>
> Could not find module `Text.ParserCombinators.Parsec.Language'<br>
> Use -v to see a list of the files searched for.<br>
> make: *** [tools/bin/hamlet] Error 1<br>
><br>
> Regards,<br>
> -Vamshi.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Barrelfish-users mailing list<br>
> <a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
</div></div>> <mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>><mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
<span class="">> <mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>>><br>
> <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
><br>
><br>
><br>
> --<br>
> Stefan<br>
> <a href="http://people.inf.ethz.ch/skaestle/" target="_blank">http://people.inf.ethz.ch/skaestle/</a><br>
><br>
> _______________________________________________<br>
> Barrelfish-users mailing list<br>
> <a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
</span>> <mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>><mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
<span class="">> <mailto:<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>>><br>
> <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Barrelfish-users mailing list<br>
> <a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
</span>> <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
<span class="">><br>
<br>
_______________________________________________<br>
Barrelfish-users mailing list<br>
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
</span><a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
</blockquote></div><br></div>