Re: [gnome-db] Failling to compile source code
Vivien Malerba <[email protected]> Wed, 10 Feb 2016 15:07:49 +0100
| Newsgroups | gmane.comp.gnome.db |
|---|---|
| Message-ID | <CAEP1ZN=27ahGuR1ECZfEd_uejuP3QNEr4mxLkLuOV7M4oi-LVQ@mail.gmail.com> |
--===============0441674766978333668== Content-Type: multipart/alternative; boundary=001a11400e208c1705052b6af551 --001a11400e208c1705052b6af551 Content-Type: text/plain; charset=UTF-8 Hi! Yelp is the Gnome tool to view help files which are in the "Mallard format", see http://en.flossmanuals.net/introduction-to-mallard/. Maybe on MacOS you did not have the correct tools to build; I guess that you first ran the autogen.sh script which created the configure script which you in turn executed? If so, you could try to set up the Yelp tools, or pass the --with-help=no flag to the configure script. Regards, Vivien 2016-02-10 14:30 GMT+01:00 Arthur Neves <[email protected]>: > Thanks Vivien. > > Turns out, I was looking at the wrong Makefile. I realized that the main > make file runs make recursive in all dirs, so I saw this on the output , > right before the error: > > *Making all in help* > *Makefile:660: *** missing separator. Stop.* > *make[2]: *** [all-recursive] Error 1* > *make[1]: *** [all-recursive] Error 1* > *make: *** [all-recursive] Error 1* > > You can see it says, making all in help. So I opened up the > file tools/browser/help/Makefile, and found the problem: > > *.PRECIOUS: Makefile* > > *@YELP_HELP_RULES@* > > *# Tell versions [3.59,3.63) of GNU make to not export all variables.* > *# Otherwise a system limit (for SysV at least) may be exceeded.* > *.NOEXPORT:* > > > After removing `@YELP_HELP_RULES@`, I was able to pass the make error. > Why is that happening, any fix I could provide? > > Thanks > > On Tue, Feb 9, 2016 at 3:43 PM Vivien Malerba <[email protected]> wrote: > >> Hi! >> I could not identify any problem (but I don't have any OSX system >> either)... Just to be on the safe side, can you make sure the "make" >> command is actually GNU's make version (use make -v). >> Otherwise, >> In the meanwhile (till a solution is found), to actually be able to >> compile, I guess you can safely try to edit the Makefile and remove lines >> 660 to 672 included and run make again. >> Regards, >> Vivien >> >> 2016-02-09 16:46 GMT+01:00 Arthur Neves <[email protected]>: >> >>> Follow a link with the entire generated Makefile, >>> https://gist.github.com/arthurnn/008fa31bbe2e21d867aa >>> >>> thanks >>> >>> On Tue, Feb 9, 2016 at 2:42 AM <[email protected]> wrote: >>> >>>> Could you post the Makefile from the failing directory? >>>> >>>> >>> CC ui-spec-editor.lo >>>> >>> CC xml-spec-editor.lo >>>> >>> CCLD libperspective.la [1] >>>> >>> Making check in help >>>> >>> Makefile:660: *** missing separator. Stop. >>>> >>> make[2]: *** [check-recursive] Error 1 >>>> >>> make[1]: *** [check-recursive] Error 1 >>>> >>> make: *** [check-recursive] Error 1 >>>> >>> ``` >>>> >>>> Stian >>>> _______________________________________________ >>>> gnome-db-list mailing list >>>> [email protected] >>>> https://mail.gnome.org/mailman/listinfo/gnome-db-list >>>> >>> >>> _______________________________________________ >>> gnome-db-list mailing list >>> [email protected] >>> https://mail.gnome.org/mailman/listinfo/gnome-db-list >>> >>> >> --001a11400e208c1705052b6af551 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif">Hi!<br></div><div class=3D"gmail_default" style=3D"font= -family:arial,helvetica,sans-serif">Yelp is the Gnome tool to view help fil= es which are in the "Mallard format", see <a href=3D"http://en.fl= ossmanuals.net/introduction-to-mallard/">http://en.flossmanuals.net/introdu= ction-to-mallard/</a>. Maybe on MacOS you did not have the correct tools to= build; I guess that you first ran the autogen.sh script which created the = configure script which you in turn executed?<br></div><div class=3D"gmail_d= efault" style=3D"font-family:arial,helvetica,sans-serif">If so, you could t= ry to set up the Yelp tools, or pass the --with-help=3Dno flag to the confi= gure script.<br></div><div class=3D"gmail_default" style=3D"font-family:ari= al,helvetica,sans-serif">Regards,<br></div><div class=3D"gmail_default" sty= le=3D"font-family:arial,helvetica,sans-serif">Vivien<br></div></div><div cl= ass=3D"gmail_extra"><br><div class=3D"gmail_quote">2016-02-10 14:30 GMT+01:= 00 Arthur Neves <span dir=3D"ltr"><<a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a>></span>:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><div dir=3D"ltr">Thanks Vivien.<div><br></div><div>Turns out,= I was looking at the wrong Makefile. I realized that the main make file ru= ns make recursive in all dirs, so I saw this on the output , right before t= he error:</div><div><br></div><div><div><i>Making all in help</i></div></di= v><span class=3D""><div dir=3D"ltr"><div><div><i>Makefile:660: *** missing = separator.=C2=A0 Stop.</i></div></div></div></span><div dir=3D"ltr"><div><d= iv><i>make[2]: *** [all-recursive] Error 1</i></div><div><i>make[1]: *** [a= ll-recursive] Error 1</i></div><div><i>make: *** [all-recursive] Error 1</i= ></div></div><div><br></div><div>You can see it says, making all in help. S= o I opened up the file=C2=A0tools/browser/help/Makefile, and found the prob= lem:</div><div><i><br></i></div><div><div><i>.PRECIOUS: Makefile</i></div><= div><i><br></i></div><div><i>@YELP_HELP_RULES@</i></div><div><i><br></i></d= iv><div><i># Tell versions [3.59,3.63) of GNU make to not export all variab= les.</i></div><div><i># Otherwise a system limit (for SysV at least) may be= exceeded.</i></div><div><i>.NOEXPORT:</i></div></div><div><br></div><div><= br></div><div>After removing `<span style=3D"font-size:13px;line-height:19.= 5px">@YELP_HELP_RULES@`, I was able to pass the make error. Why is that hap= pening, any fix I could provide?</span></div><div><span style=3D"font-size:= 13px;line-height:19.5px"><br></span></div><div><span style=3D"font-size:13p= x;line-height:19.5px">Thanks</span></div></div><div><div class=3D"h5"><br><= div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, Feb 9, 2016 at 3:43 PM V= ivien Malerba <<a href=3D"mailto:[email protected]" target=3D"_blank">v= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote"= style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d= iv dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,helv= etica,sans-serif">Hi!<br></div><div class=3D"gmail_default" style=3D"font-f= amily:arial,helvetica,sans-serif">I could not identify any problem (but I d= on't have any OSX system either)... Just to be on the safe side, can yo= u make sure the "make" command is actually GNU's make version= (use make -v).<br></div><div class=3D"gmail_default" style=3D"font-family:= arial,helvetica,sans-serif">Otherwise, <br>In the meanwhile (till a solutio= n is found), to actually be able to compile, I guess you can safely try to = edit the Makefile and remove lines 660 to 672 included and run make again.<= br></div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,= sans-serif">Regards,<br></div><div class=3D"gmail_default" style=3D"font-fa= mily:arial,helvetica,sans-serif">Vivien<br></div></div><div class=3D"gmail_= extra"><br><div class=3D"gmail_quote">2016-02-09 16:46 GMT+01:00 Arthur Nev= es <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_b= lank">[email protected]</a>></span>:<br><blockquote class=3D"gmail_quot= e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">= <div dir=3D"ltr">Follow a link with the entire generated Makefile,=C2=A0<a = href=3D"https://gist.github.com/arthurnn/008fa31bbe2e21d867aa" target=3D"_b= lank">https://gist.github.com/arthurnn/008fa31bbe2e21d867aa</a><div><br></d= iv><div>thanks</div></div><div><div><br><div class=3D"gmail_quote"><div dir= =3D"ltr">On Tue, Feb 9, 2016 at 2:42 AM <<a href=3D"mailto:[email protected]= o" target=3D"_blank">[email protected]</a>> wrote:<br></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex">Could you post the Makefile from the failing directory?<br> <br> >>> =C2=A0 CC =C2=A0 =C2=A0 =C2=A0 ui-spec-editor.lo<br> >>> =C2=A0 CC =C2=A0 =C2=A0 =C2=A0 xml-spec-editor.lo<br> >>> =C2=A0 CCLD =C2=A0 =C2=A0 <a href=3D"http://libperspective.la"= rel=3D"noreferrer" target=3D"_blank">libperspective.la</a> [1]<br> >>> Making check in help<br> >>> Makefile:660: *** missing separator.=C2=A0 Stop.<br> >>> make[2]: *** [check-recursive] Error 1<br> >>> make[1]: *** [check-recursive] Error 1<br> >>> make: *** [check-recursive] Error 1<br> >>> ```<br> <br> Stian<br> _______________________________________________<br> gnome-db-list mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">gnome-db-list@= gnome.org</a><br> <a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-db-list" rel=3D"no= referrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-d= b-list</a><br> </blockquote></div> </div></div><br>_______________________________________________<br> gnome-db-list mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">gnome-db-list@= gnome.org</a><br> <a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-db-list" rel=3D"no= referrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/gnome-d= b-list</a><br> <br></blockquote></div><br></div> </blockquote></div></div></div></div> </blockquote></div><br></div> --001a11400e208c1705052b6af551-- --===============0441674766978333668== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-db-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-db-list --===============0441674766978333668==--