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