Re: [gnome-db] Failling to compile source code
Arthur Neves <[email protected]> Wed, 10 Feb 2016 13:30:05 +0000
| Newsgroups | gmane.comp.gnome.db |
|---|---|
| Message-ID | <CAA6kw-8SbeuTpzG1QKKUy9k3gktf5FKHWqLFovOYBQjQ4wbJug@mail.gmail.com> |
--===============8357525317878560742== Content-Type: multipart/alternative; boundary=94eb2c088a10275279052b6a6fb3 --94eb2c088a10275279052b6a6fb3 Content-Type: text/plain; charset=UTF-8 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 >> >> > --94eb2c088a10275279052b6a6fb3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <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 runs make recurs= ive in all dirs, so I saw this on the output , right before the error:</div= ><div><br></div><div><div><i>Making all in help</i></div></div><div dir=3D"= ltr"><div><div><i>Makefile:660: *** missing separator.=C2=A0 Stop.</i></div= ></div></div><div dir=3D"ltr"><div><div><i>make[2]: *** [all-recursive] Err= or 1</i></div><div><i>make[1]: *** [all-recursive] Error 1</i></div><div><i= >make: *** [all-recursive] Error 1</i></div></div><div><br></div><div>You c= an see it says, making all in help. So I opened up the file=C2=A0tools/brow= ser/help/Makefile, and found the problem:</div><div><i><br></i></div><div><= div><i>.PRECIOUS: Makefile</i></div><div><i><br></i></div><div><i>@YELP_HEL= P_RULES@</i></div><div><i><br></i></div><div><i># Tell versions [3.59,3.63)= of GNU make to not export all variables.</i></div><div><i># Otherwise a sy= stem 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 st= yle=3D"font-size:13px;line-height:19.5px">@YELP_HELP_RULES@`, I was able to= pass the make error. Why is that happening, 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:13px;line-height:19.5px">Thanks</span></d= iv></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, Feb 9, 201= 6 at 3:43 PM Vivien Malerba <<a href=3D"mailto:[email protected]" targe= t=3D"_blank">[email protected]</a>> wrote:<br></div><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"><div class=3D"gmail_default" style=3D"font-f= amily:arial,helvetica,sans-serif">Hi!<br></div><div class=3D"gmail_default"= style=3D"font-family:arial,helvetica,sans-serif">I could not identify any = problem (but I don't have any OSX system either)... Just to be on the s= afe side, can you make sure the "make" command is actually GNU= 9;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 solution is found), to actually be able to compile, I guess you ca= n 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-family: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 Neves <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= om" target=3D"_blank">[email protected]</a>></span>:<br><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex"><div dir=3D"ltr">Follow a link with the entire generated Ma= kefile,=C2=A0<a href=3D"https://gist.github.com/arthurnn/008fa31bbe2e21d867= aa" target=3D"_blank">https://gist.github.com/arthurnn/008fa31bbe2e21d867aa= </a><div><br></div><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"mail= to:[email protected]" target=3D"_blank">[email protected]</a>> wrote:<br></div= ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex">Could you post the Makefile from the failin= g 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> --94eb2c088a10275279052b6a6fb3-- --===============8357525317878560742== 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 --===============8357525317878560742==--