Re: [graphviz-interest] building on Linux
Ron Newman <[email protected]> Wed, 20 Sep 2017 15:34:56 -0600
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <CAGEsD1=BQxvHfum1TWVrrW5pDLnQKJYXFMPs5PsZ8ZNUPCKguA@mail.gmail.com> |
--===============2818137407499423372== Content-Type: multipart/alternative; boundary="001a113de63e7cc05c0559a5c042" --001a113de63e7cc05c0559a5c042 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable automake (GNU automake) 1.14.1 On Wed, Sep 20, 2017 at 3:30 PM, ELLSON, JOHN <[email protected]> wrote: > What do you get for: > > automake --version > > > > ------------------------------ > *From:* Ron Newman [[email protected]] > *Sent:* Wednesday, September 20, 2017 5:18 PM > > *To:* ELLSON, JOHN > *Cc:* [email protected] > *Subject:* Re: [graphviz-interest] building on Linux > > > I can't even do the first line, make distclean, without running into the > 'automake-1.13 is missing on your system' error. > > > On Wed, Sep 20, 2017 at 3:09 PM, ELLSON, JOHN <[email protected]> wrote: > >> My bad. Your configure log does show that you are using /bin.sed. Sorr= y. >> >> Still doesn't explain the empty scan.c though. >> >> Maybe do: >> make distclean >> ./autogen.sh >> ./configure .... >> make -j >> make install >> >> John >> >> ------------------------------ >> *From:* Ron Newman [[email protected]] >> *Sent:* Wednesday, September 20, 2017 4:37 PM >> >> *To:* ELLSON, JOHN >> *Cc:* [email protected] >> *Subject:* Re: [graphviz-interest] building on Linux >> >> Don't see a softlink, dir sed* just says no file or directory. >> 'ls -la' the same. >> >> Also, looking at all the configure options, I see nothing allowing >> altering sed's expected location. >> >> >> On Wed, Sep 20, 2017 at 2:23 PM, ELLSON, JOHN <[email protected]> wrote: >> >>> The working sed executable is supposed to be found by ./configure. >>> Not sure why that went wrong. You can probably override with a >>> ./configure option. >>> >>> Is there a broken softlink in /usr/bin/sed ? >>> >>> >>> ------------------------------ >>> *From:* Ron Newman [[email protected]] >>> *Sent:* Wednesday, September 20, 2017 3:51 PM >>> *To:* ELLSON, JOHN >>> *Cc:* [email protected] >>> *Subject:* Re: [graphviz-interest] building on Linux >>> >>> John, >>> We may be getting somewhere. >>> >>> /usr/bin/sed "s/yy/aag/g" < lex.yy.c | /usr/bin/sed '/extern.*isatty/d= ' >>> > scan.c >>> >>> could not find sed. Turns out it's installed in /bin/sed. When I >>> changed that it successfully created scan.c. >>> >>> I've posted scan.c at: >>> >>> https://www.ideatreelive.com/ron/scan >>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.ideatreeliv= e.com_ron_scan&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5= Rm8w&m=3DGD6KuZMldzC3x_oQl8HR8J6dTbkb_Xfgt31Azvy-Qis&s=3D70SqelxggqBWGq7PZ_= 51ui9UxKBFu-8va0rAZpjXys8&e=3D> >>> >>> Ron >>> >>> >>> On Wed, Sep 20, 2017 at 12:42 PM, ELLSON, JOHN <[email protected]> wrote: >>> >>>> Maybe its a problem with sed ? After running "flex -i scan.l", the >>>> Makefile does: >>>> >>>> /usr/bin/sed "s/yy/aag/g" < lex.yy.c | /usr/bin/sed >>>> '/extern.*isatty/d' > scan.c >>>> >>>> Can you try that manually? >>>> >>>> >>>> ------------------------------ >>>> *From:* Ron Newman [[email protected]] >>>> *Sent:* Wednesday, September 20, 2017 2:04 PM >>>> *To:* ELLSON, JOHN >>>> *Cc:* [email protected] >>>> >>>> *Subject:* Re: [graphviz-interest] graphviz-interest Digest, Vol 146, >>>> Issue 5 >>>> >>>> John, >>>> >>>> I did: >>>> cd lib/cgraph >>>> rm scan.c >>>> make scan.c >>>> >>>> but stopped by the automake error: >>>> WARNING: 'automake-1.13' is missing on your system. >>>> You should only need it if you modified 'Makefile.am' or >>>> 'configure.ac >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__configure.ac&d= =3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_Pajr= Y-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3Da-j0xD0eZn0XMus1oIHSbZhLo12PvJN-dr= Yr23BoUfw&e=3D>' >>>> or m4 files included by 'configure.ac >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__configure.ac&d= =3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_Pajr= Y-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3Da-j0xD0eZn0XMus1oIHSbZhLo12PvJN-dr= Yr23BoUfw&e=3D> >>>> '. >>>> The 'automake' program is part of the GNU Automake package: >>>> <http://www.gnu.org/software/automake >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_sof= tware_automake&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5= Rm8w&m=3Dci_PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3D3DxdBPyHj2sHeDJt_y= tIh9yjvW9rxFoULSQ6IbowSFQ&e=3D> >>>> > >>>> It also requires GNU Autoconf, GNU m4 and Perl in order to ru= n: >>>> <http://www.gnu.org/software/autoconf >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_sof= tware_autoconf&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5= Rm8w&m=3Dci_PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3D8DBHcdsupTw7xvkbZx= xSr4djaUp9_m4tYtjwGc7JZrM&e=3D> >>>> > >>>> <http://www.gnu.org/software/m4/ >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_sof= tware_m4_&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&= m=3Dci_PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3Dr_jMTRJVPQDDYuLue7ZsMo6= lecb9PysuBXz8oEIcyCA&e=3D> >>>> > >>>> <http://www.perl.org/ >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.perl.org_&d= =3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_Pajr= Y-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3Dma7cJ_qZqxoYRu_lr7Cxdg6Ku2MfeIuRg8= klIzgZrWE&e=3D> >>>> > >>>> make[1]: *** [Makefile.in] Error 1 >>>> make[1]: Leaving directory `/mnt/c/Users/Owner/Documents/ >>>> SoftwareDevelopment/graphviz/graphviz-2.40.1' >>>> make: *** [../../configure] Error 2 >>>> >>>> >>>> scan.c is still empty, but even though there's an error, I ran >>>> flex -i scan.l >>>> >>>> out of curiosity. >>>> >>>> output here: >>>> https://www.ideatreelive.com/ron/lex >>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.ideatreeli= ve.com_ron_lex&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5= Rm8w&m=3Dci_PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3DbZ2P_94ER--OKROl4H= Hpgeyu9OH5Y1dp776CENa0qdU&e=3D> >>>> >>>> Ron >>>> >>>> >>>> >>>> >>>> On Wed, Sep 20, 2017 at 10:58 AM, ELLSON, JOHN <[email protected]> wrote: >>>> >>>>> Ron, >>>>> >>>>> Could you try this: >>>>> >>>>> cd lib/cgraph >>>>> rm scan.c >>>>> make scan.c >>>>> >>>>> If scan.c is still empty and no obvious error messages, could you run= : >>>>> >>>>> flex -i scan.l >>>>> >>>>> which should generate a file "lex.yy.c" in the current directory. >>>>> Could you post that? >>>>> >>>>> > Should I be downloading the "2.40-working" source instead of 2.40.1= ? >>>>> >>>>> I would. That's where the fix will go when we find whats broken. >>>>> >>>>> I checked that today's graphviz-2.41.20170919.2122.tar.gz >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__graphviz.org_p= ub_graphviz_development_SOURCES_graphviz-2D2.41.20170919.2122.tar.gz&d=3DDw= MFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_PajrY-Za-= 5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3DKgh4ijxY5PsXxELp1BSTpqjFAS1kaWIYyHM1Zuw= SRWA&e=3D> >>>>> contains a prebuilt, non-empty >>>>> lib/cgraph/scan.c >>>>> >>>>> >>>>> John >>>>> >>>>> ------------------------------ >>>>> *From:* [email protected] [ >>>>> [email protected]] on behalf of Ron >>>>> Newman [[email protected]] >>>>> *Sent:* Wednesday, September 20, 2017 12:32 PM >>>>> *To:* [email protected] >>>>> *Subject:* Re: [graphviz-interest] graphviz-interest Digest, Vol 146, >>>>> Issue 5 >>>>> >>>>> Emden, >>>>> scan.c exists but is empty. >>>>> >>>>> nm lib/cgraph/.libs/scan.o | grep agsetfile yields no output. >>>>> >>>>> Also no output before being piped to grep. >>>>> >>>>> >>>>> So, I re-loaded 2.40, and without touching anything, >>>>> ./configure : >>>>> output at https://www.ideatreelive.com/ron/configure >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.ideatreel= ive.com_ron_configure&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r= 9PkYjYHFSAHTFFqB2AV5vAfBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTm= O9Q8Y&s=3DTnXtxCgUOW5OGFZR6QvpBpiQF2Uh4iOLjp2XTS1p-J0&e=3D> >>>>> >>>>> make: >>>>> WARNING: 'automake-1.13' is missing on your system. >>>>> You should only need it if you modified 'Makefile.am' or >>>>> 'configure.ac >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__configure.ac&d= =3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAf= BZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DTqcZfx-D4KGZl= J6rV2xvYoNp082FaWdK6DE2c8-b1tk&e=3D>' >>>>> or m4 files included by 'configure.ac >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__configure.ac&d= =3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAf= BZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DTqcZfx-D4KGZl= J6rV2xvYoNp082FaWdK6DE2c8-b1tk&e=3D> >>>>> '. >>>>> The 'automake' program is part of the GNU Automake package: >>>>> <http://www.gnu.org/software/automake >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_so= ftware_automake&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjY= HFSAHTFFqB2AV5vAfBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&= s=3DfOGRTfMDJqe2lZpb0l9SExMH4WTV5H-wFQD9GdaXagg&e=3D> >>>>> > >>>>> It also requires GNU Autoconf, GNU m4 and Perl in order to >>>>> run: >>>>> <http://www.gnu.org/software/autoconf >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_so= ftware_autoconf&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjY= HFSAHTFFqB2AV5vAfBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&= s=3DDyuo1Bg6tTF6G5fJjtGoZaz-Bw_LSBH131Aq5JzkTGI&e=3D> >>>>> > >>>>> <http://www.gnu.org/software/m4/ >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_so= ftware_m4_&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAH= TFFqB2AV5vAfBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DK= D5pvvYei8-qk2xfM4oaWZ9MHNAVWmLvRYi6GEOKEOo&e=3D> >>>>> > >>>>> <http://www.perl.org/ >>>>> <https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.perl.org_&= d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vA= fBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DUKt9xU7I1EuD= FZBoopN-wOxfLERl_hPatY3MXS9XZWs&e=3D> >>>>> > >>>>> make: *** [Makefile.in] Error 1 >>>>> >>>>> >>>>> Should I be downloading the "2.40-working" source instead of 2.40.1? >>>>> >>>>> Ron >>>>> >>>>> >>>>> >>>>>> Date: Tue, 19 Sep 2017 13:38:20 -0400 >>>>>> From: "Emden R. Gansner" <[email protected]> >>>>>> To: [email protected] >>>>>> Subject: Re: [graphviz-interest] building on Linux >>>>>> Message-ID: <[email protected]> >>>>>> Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed >>>>>> >>>>>> What does scan.c look like? Does it contain the agsetfile function? >>>>>> What >>>>>> do you get if you run >>>>>> >>>>>> ?? nm lib/cgraph/.libs/scan.o | grep agsetfile >>>>>> ? >>>>>> >>>>>> I still think you should start over with a fresh 2.40 source package= , >>>>>> and >>>>>> >>>>>> ?? configure >>>>>> ?? make >>>>>> >>>>>> There should be no reason for extra tools (bison, flex, automake, >>>>>> etc.) >>>>>> to be involved. If they are invoked, and you haven't touched anythin= g, >>>>>> that is a bug that should be fixed. Can you capture the output of >>>>>> configure and make and post these? Thanks. >>>>>> >>>>>> ??? Emden >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> graphviz-interest mailing list >>>>>> [email protected] >>>>>> http://lists.research.att.com/mailman/listinfo/graphviz-interest >>>>>> >>>>>> >>>>>> End of graphviz-interest Digest, Vol 146, Issue 5 >>>>>> ************************************************* >>>>>> >>>>> >>>>> >>>> >>> >> > --001a113de63e7cc05c0559a5c042 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_extra"><br clear=3D"all">automake = (GNU automake) 1.14.1=C2=A0</div><div class=3D"gmail_extra"><br></div><div = class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Sep 20, 2017 a= t 3:30 PM, ELLSON, JOHN <span dir=3D"ltr"><<a href=3D"mailto:je2641@att.= com" target=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex"> <div> <div style=3D"direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:1= 0pt"> <div>What do you get for:</div> <div><br> </div> <div>=C2=A0=C2=A0=C2=A0 automake --version</div> <div><br> </div> <div><br> </div> <div><br> </div> <div style=3D"font-family:"Times New Roman";color:rgb(0,0,0);font= -size:16px"> <hr> <div id=3D"gmail-m_-3721615728985262912divRpF378444" style=3D"direction:ltr= "><font size=3D"2" color=3D"#000000" face=3D"Tahoma"><b>From:</b> Ron Newma= n [<a href=3D"mailto:[email protected]" target=3D"_blank">ron.newman@gma= il.com</a>]<br> <b>Sent:</b> Wednesday, September 20, 2017 5:18 PM<div><div class=3D"gmail-= h5"><br> <b>To:</b> ELLSON, JOHN<br> <b>Cc:</b> <a href=3D"mailto:[email protected]" targ= et=3D"_blank">graphviz-interest@lists.<wbr>research.att.com</a><br> <b>Subject:</b> Re: [graphviz-interest] building on Linux<br> </div></div></font><br> </div><div><div class=3D"gmail-h5"> <div></div> <div> <div dir=3D"ltr"><br> <div class=3D"gmail_extra">I can't even do the first line, make distcle= an, without running into the 'automake-1.13 is missing on your system&#= 39; error.=C2=A0</div> <div class=3D"gmail_extra"><br> </div> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Wed, Sep 20, 2017 at 3:09 PM, ELLSON, JOHN <s= pan dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div style=3D"direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:1= 0pt"> <div>My bad.=C2=A0 Your configure log does show that you are using /bin.sed= .=C2=A0 Sorry.</div> <div><br> </div> <div>Still doesn't explain the empty scan.c though.</div> <div><br> </div> <div>Maybe do:</div> <div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 make distclean</div> <div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ./autogen.sh</div> <div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ./configure ....</div> <div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 make -j</div> <div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 make install</div> <div><br> </div> <div>John<br> </div> <div><br> </div> <div style=3D"font-family:"Times New Roman";color:rgb(0,0,0);font= -size:16px"> <hr> <div id=3D"gmail-m_-3721615728985262912m_-3080488904402841435divRpF692974" = style=3D"direction:ltr"><font size=3D"2" color=3D"#000000" face=3D"Tahoma">= <b>From:</b> Ron Newman [<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a>]<br> <b>Sent:</b> Wednesday, September 20, 2017 4:37 PM <div> <div class=3D"gmail-m_-3721615728985262912h5"><br> <b>To:</b> ELLSON, JOHN<br> <b>Cc:</b> <a href=3D"mailto:[email protected]" targ= et=3D"_blank"> [email protected]<wbr>ch.att.com</a><br> <b>Subject:</b> Re: [graphviz-interest] building on Linux<br> </div> </div> </font><br> </div> <div> <div class=3D"gmail-m_-3721615728985262912h5"> <div></div> <div> <div dir=3D"ltr"> <div class=3D"gmail_extra">Don't see a softlink, dir sed* just says no = file or directory. =C2=A0</div> <div class=3D"gmail_extra">'ls -la' the same.<br> <br> Also, looking at all the configure options, I see nothing allowing altering= sed's expected location.<br> <br> <br> <div class=3D"gmail_quote">On Wed, Sep 20, 2017 at 2:23 PM, ELLSON, JOHN <s= pan dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div style=3D"direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:1= 0pt"> <div>The working sed executable is supposed to be found by ./configure.</di= v> <div>Not sure why that went wrong.=C2=A0 You can probably override with a= =C2=A0 ./configure option.</div> <div><br> </div> <div>Is there a broken softlink in /usr/bin/sed ?</div> <div><br> </div> <div><br> </div> <div style=3D"font-family:"Times New Roman";color:rgb(0,0,0);font= -size:16px"> <hr> <div id=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134826= 5267990divRpF334954" style=3D"direction:ltr"> <font size=3D"2" color=3D"#000000" face=3D"Tahoma"><b>From:</b> Ron Newman = [<a href=3D"mailto:[email protected]" target=3D"_blank">ron.newman@gmail= .com</a>]<br> <b>Sent:</b> Wednesday, September 20, 2017 3:51 PM<span><br> <b>To:</b> ELLSON, JOHN<br> <b>Cc:</b> <a href=3D"mailto:[email protected]" targ= et=3D"_blank"> [email protected]<wbr>ch.att.com</a><br> </span><b>Subject:</b> Re: [graphviz-interest] building on Linux<br> </font><br> </div> <div> <div class=3D"gmail-m_-3721615728985262912m_-3080488904402841435h5"> <div></div> <div> <div dir=3D"ltr">John, <div>We may be getting somewhere. <div class=3D"gmail_extra"><br clear=3D"all"> <div> <div class=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134= 8265267990gmail_signature"> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div style=3D"color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">=C2= =A0/usr/bin/sed "s/yy/aag/g" < lex.yy.c | /usr/bin/sed '/e= xtern.*isatty/d' > scan.c</div> <div><br> </div> <div>could not find sed.=C2=A0 Turns out it's installed in /bin/sed.=C2= =A0 When I changed that it successfully created scan.c.</div> <div><br> </div> <div>I've posted scan.c at:</div> <div><br> </div> <div><a href=3D"https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.= ideatreelive.com_ron_scan&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&= ;r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3DGD6KuZMldzC3x_oQl8HR8J6dTbkb_Xfgt31Azvy= -Qis&s=3D70SqelxggqBWGq7PZ_51ui9UxKBFu-8va0rAZpjXys8&e=3D" target= =3D"_blank">https://www.ideatreelive.com/r<wbr>on/scan</a><br> </div> <div><br> </div> <div>Ron</div> <br> </div> </div> </div> </div> </div> </div> <br> <div class=3D"gmail_quote">On Wed, Sep 20, 2017 at 12:42 PM, ELLSON, JOHN <= span dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div style=3D"direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:1= 0pt"> <div>Maybe its a problem with sed ? =C2=A0 After running "flex -i scan= .l",=C2=A0 the Makefile does:</div> <div><br> </div> <div>=C2=A0=C2=A0=C2=A0 /usr/bin/sed "s/yy/aag/g" < lex.yy.c |= /usr/bin/sed '/extern.*isatty/d' > scan.c</div> <div><br> </div> <div>Can you try that manually?</div> <div><br> </div> <div><br> </div> <div style=3D"font-family:"Times New Roman";color:rgb(0,0,0);font= -size:16px"> <hr> <div id=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134826= 5267990gmail-m_5795440105681583463divRpF182039" style=3D"direction:ltr"> <font size=3D"2" color=3D"#000000" face=3D"Tahoma"><b>From:</b> Ron Newman = [<a href=3D"mailto:[email protected]" target=3D"_blank">ron.newman@gmail= .com</a>]<br> <b>Sent:</b> Wednesday, September 20, 2017 2:04 PM<br> <b>To:</b> ELLSON, JOHN<br> <b>Cc:</b> <a href=3D"mailto:[email protected]" targ= et=3D"_blank"> [email protected]<wbr>ch.att.com</a> <div> <div class=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134= 8265267990gmail-h5"><br> <b>Subject:</b> Re: [graphviz-interest] graphviz-interest Digest, Vol 146, = Issue 5<br> </div> </div> </font><br> </div> <div> <div class=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134= 8265267990gmail-h5"> <div></div> <div> <div dir=3D"ltr">John, <div><br> </div> <div>I did:<br> <div> <div style=3D"color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">cd l= ib/cgraph</div> <div style=3D"color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">=C2= =A0 =C2=A0 rm scan.c</div> <div style=3D"color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">=C2= =A0=C2=A0=C2=A0 make scan.c</div> </div> <div><br> </div> <div>but stopped by the automake error:</div> <div> <div>WARNING: 'automake-1.13' is missing on your system.</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0You should only need it if you modif= ied 'Makefile.am' or</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'<a href=3D"https://urldefense.p= roofpoint.com/v2/url?u=3Dhttp-3A__configure.ac&d=3DDwMFaQ&c=3DLFYZ-= o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_PajrY-Za-5ky7ZU= Ahah61TsRKJEZvdAAz35mocd4&s=3Da-j0xD0eZn0XMus1oIHSbZhLo12PvJN-drYr23BoU= fw&e=3D" target=3D"_blank">configure.ac</a>' or m4 files included by '<a href=3D"https://urldefense.proofpoint.com/= v2/url?u=3Dhttp-3A__configure.ac&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicv= jIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_PajrY-Za-5ky7ZUAhah61TsRKJEZv= dAAz35mocd4&s=3Da-j0xD0eZn0XMus1oIHSbZhLo12PvJN-drYr23BoUfw&e=3D" t= arget=3D"_blank">configure.ac</a>'.</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The 'automake' program is pa= rt of the GNU Automake package:</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_software_automake&d=3DDwMF= aQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci= _PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3D3DxdBPyHj2sHeDJt_ytIh9yjv= W9rxFoULSQ6IbowSFQ&e=3D" target=3D"_blank">http://www.gnu.org/software/= <wbr>automake</a>></div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0It also requires GNU Autoconf, GNU m= 4 and Perl in order to run:</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_software_autoconf&d=3DDwMF= aQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci= _PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3D8DBHcdsupTw7xvkbZxxSr4dja= Up9_m4tYtjwGc7JZrM&e=3D" target=3D"_blank">http://www.gnu.org/software/= <wbr>autoconf</a>></div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_software_m4_&d=3DDwMFaQ&am= p;c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_Pajr= Y-Za-5ky7ZUAhah61TsRKJEZvdAAz35mocd4&s=3Dr_jMTRJVPQDDYuLue7ZsMo6lecb9Py= suBXz8oEIcyCA&e=3D" target=3D"_blank">http://www.gnu.org/software/<wbr>= m4/</a>></div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.perl.org_&d=3DDwMFaQ&c=3DLFYZ-= o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_PajrY-Za-5ky7ZU= Ahah61TsRKJEZvdAAz35mocd4&s=3Dma7cJ_qZqxoYRu_lr7Cxdg6Ku2MfeIuRg8klIzgZr= WE&e=3D" target=3D"_blank">http://www.perl.org/</a>></div> <div>make[1]: *** [Makefile.in] Error 1</div> <div>make[1]: Leaving directory `/mnt/c/Users/Owner/Documents/<wbr>Software= Development/graphviz/g<wbr>raphviz-2.40.1'</div> <div>make: *** [../../configure] Error 2</div> </div> <div><br> </div> <div><br> </div> <div>scan.c is still empty, but even though there's an error, I ran=C2= =A0</div> <div><span style=3D"color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px= ">flex -i scan.l</span><br> </div> <div><br> </div> <div><font color=3D"#000000" face=3D"Tahoma"><span style=3D"font-size:13.33= 33px">out of curiosity.</span></font></div> <div><br> </div> <div>output here:</div> <div><a href=3D"https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__www.= ideatreelive.com_ron_lex&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&= r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_PajrY-Za-5ky7ZUAhah61TsRKJEZvdAAz35mo= cd4&s=3DbZ2P_94ER--OKROl4HHpgeyu9OH5Y1dp776CENa0qdU&e=3D" target=3D= "_blank">https://www.ideatreelive.com/r<wbr>on/lex</a><br> </div> <div><br> </div> <div>Ron</div> <div class=3D"gmail_extra"><br clear=3D"all"> <div> <div class=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134= 8265267990gmail-m_5795440105681583463gmail_signature"> <div dir=3D"ltr"> <div dir=3D"ltr"><br> <div><br> </div> </div> </div> </div> </div> <br> <div class=3D"gmail_quote">On Wed, Sep 20, 2017 at 10:58 AM, ELLSON, JOHN <= span dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <div> <div style=3D"direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:1= 0pt"> <div>Ron,<br> </div> <div><br> </div> <div>Could you try this:</div> <div><br> </div> <div>=C2=A0=C2=A0=C2=A0 cd lib/cgraph</div> <div>=C2=A0 =C2=A0 rm scan.c</div> <div>=C2=A0=C2=A0=C2=A0 make scan.c</div> <div><br> </div> <div>If scan.c is still empty and no obvious error messages, could you run:= </div> <div><br> </div> <div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 flex -i scan.l</div> <div><br> </div> <div>which should generate a file "lex.yy.c" in the current direc= tory.=C2=A0 Could you post that?</div> <span class=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_62906813= 48265267990gmail-m_5795440105681583463gmail-"> <div><br> </div> <div>> Should I be downloading the "2.40-working" source inste= ad of 2.40.1?</div> <div><br> </div> </span> <div>I would.=C2=A0=C2=A0 That's where the fix will go when we find wha= ts broken.</div> <div><br> </div> <div>I checked that today's <font size=3D"-1"><a href=3D"https://urldef= ense.proofpoint.com/v2/url?u=3Dhttp-3A__graphviz.org_pub_graphviz_developme= nt_SOURCES_graphviz-2D2.41.20170919.2122.tar.gz&d=3DDwMFaQ&c=3DLFYZ= -o9_HUMeMTSQicvjIg&r=3DNcfO-NNO41gr2FPL-5Rm8w&m=3Dci_PajrY-Za-5ky7Z= UAhah61TsRKJEZvdAAz35mocd4&s=3DKgh4ijxY5PsXxELp1BSTpqjFAS1kaWIYyHM1ZuwS= RWA&e=3D" target=3D"_blank">graphviz-2.41.20170919.2122.ta<wbr>r.gz</a>= =C2=A0 contains a prebuilt, non-empty</font></div> <div><font size=3D"-1">lib/cgraph/scan.c<br> </font></div> <div><font size=3D"-1"><br> </font></div> <div><font size=3D"-1"><br> </font></div> <div><font size=3D"-1">John<br> </font></div> <div>=C2=A0=C2=A0=C2=A0 <br> </div> <div style=3D"font-family:"Times New Roman";color:rgb(0,0,0);font= -size:16px"> <hr> <div id=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134826= 5267990gmail-m_5795440105681583463gmail-m_349120322957723855divRpF314110" s= tyle=3D"direction:ltr"> <font size=3D"2" color=3D"#000000" face=3D"Tahoma"><b>From:</b> <a href=3D"= mailto:[email protected]" target=3D"_blank"> graphviz-interest-bounces@list<wbr>s.research.att.com</a> [<a href=3D"mailt= o:[email protected]" target=3D"_blank">graph= viz-interest-bounces@lis<wbr>ts.research.att.com</a>] on behalf of Ron Newm= an [<a href=3D"mailto:[email protected]" target=3D"_blank">ron.newman@gm= ail.com</a>]<br> <b>Sent:</b> Wednesday, September 20, 2017 12:32 PM<br> <b>To:</b> <a href=3D"mailto:[email protected]" targ= et=3D"_blank"> [email protected]<wbr>ch.att.com</a><br> <b>Subject:</b> Re: [graphviz-interest] graphviz-interest Digest, Vol 146, = Issue 5<br> </font><br> </div> <div> <div class=3D"gmail-m_-3721615728985262912m_-3080488904402841435m_629068134= 8265267990gmail-m_5795440105681583463gmail-h5"> <div></div> <div> <div dir=3D"ltr"> <div class=3D"gmail_extra"> <div class=3D"gmail_quote"> <div>Emden,</div> <div>scan.c exists but is empty.</div> <div><br> </div> <div>nm lib/cgraph/.libs/scan.o | grep agsetfile =C2=A0yields no output.<br= > </div> <div><br> </div> <div>Also no output before being piped to grep.</div> <div><br> </div> <div><br> </div> <div>So, I re-loaded 2.40, and without touching anything,</div> <div>./configure :</div> <div>output at =C2=A0<a href=3D"https://urldefense.proofpoint.com/v2/url?u= =3Dhttps-3A__www.ideatreelive.com_ron_configure&d=3DDwMFaQ&c=3DLFYZ= -o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAfBZZDx8E8A&= m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DTnXtxCgUOW5OGFZR6Qv= pBpiQF2Uh4iOLjp2XTS1p-J0&e=3D" target=3D"_blank">https://www.ideatreeli= ve.com/<wbr>ron/configure</a></div> <div><br> </div> <div>make:</div> <div> <div>WARNING: 'automake-1.13' is missing on your system.</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0You should only need it if you modif= ied 'Makefile.am' or</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'<a href=3D"https://urldefense.p= roofpoint.com/v2/url?u=3Dhttp-3A__configure.ac&d=3DDwMFaQ&c=3DLFYZ-= o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAfBZZDx8E8A&m= =3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DTqcZfx-D4KGZlJ6rV2xv= YoNp082FaWdK6DE2c8-b1tk&e=3D" target=3D"_blank">configure.ac</a>' or m4 files included by '<a href=3D"https://urldefense.proofpoint.com/= v2/url?u=3Dhttp-3A__configure.ac&d=3DDwMFaQ&c=3DLFYZ-o9_HUMeMTSQicv= jIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAfBZZDx8E8A&m=3D8dRi6Fy7n7N= Mh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DTqcZfx-D4KGZlJ6rV2xvYoNp082FaWdK6D= E2c8-b1tk&e=3D" target=3D"_blank">configure.ac</a>'.</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The 'automake' program is pa= rt of the GNU Automake package:</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_software_automake&d=3DDwMF= aQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vA= fBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DfOGR= TfMDJqe2lZpb0l9SExMH4WTV5H-wFQD9GdaXagg&e=3D" target=3D"_blank">http://= www.gnu.org/software/<wbr>automake</a>></div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0It also requires GNU Autoconf, GNU m= 4 and Perl in order to run:</div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_software_autoconf&d=3DDwMF= aQ&c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vA= fBZZDx8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DDyuo= 1Bg6tTF6G5fJjtGoZaz-Bw_LSBH131Aq5JzkTGI&e=3D" target=3D"_blank">http://= www.gnu.org/software/<wbr>autoconf</a>></div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.gnu.org_software_m4_&d=3DDwMFaQ&am= p;c=3DLFYZ-o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAfBZZD= x8E8A&m=3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DKD5pvvYei= 8-qk2xfM4oaWZ9MHNAVWmLvRYi6GEOKEOo&e=3D" target=3D"_blank">http://www.g= nu.org/software/<wbr>m4/</a>></div> <div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<<a href=3D"https://urldefense.pr= oofpoint.com/v2/url?u=3Dhttp-3A__www.perl.org_&d=3DDwMFaQ&c=3DLFYZ-= o9_HUMeMTSQicvjIg&r=3DUb0JoglNx6r9PkYjYHFSAHTFFqB2AV5vAfBZZDx8E8A&m= =3D8dRi6Fy7n7NMh6LwA-JPdIWNLinJqBja22RlTmO9Q8Y&s=3DUKt9xU7I1EuDFZBoopN-= wOxfLERl_hPatY3MXS9XZWs&e=3D" target=3D"_blank">http://www.perl.org/</a= >></div> <div>make: *** [Makefile.in] Error 1</div> </div> <div><br> </div> <div><br> </div> <div>Should I be downloading the "2.40-working" source instead of= 2.40.1?</div> <div><br> </div> <div>Ron</div> <div><br> </div> <div>=C2=A0</div> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> Date: Tue, 19 Sep 2017 13:38:20 -0400<br> From: "Emden R. Gansner" <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>><br> To: <a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]<wbr>ch.att.com</a><br> Subject: Re: [graphviz-interest] building on Linux<br> Message-ID: <<a href=3D"mailto:ff0488ec-db48-dbea-4162-c626b70ada49@emde= nrg.net" target=3D"_blank">ff0488ec-db48-dbea-4162-c626b<wbr>70ada49@emdenr= g.net</a>><br> Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed<br> <br> What does scan.c look like? Does it contain the agsetfile function? What<br= > do you get if you run<br> <br> =C2=A0?? nm lib/cgraph/.libs/scan.o | grep agsetfile<br> ?<br> <br> I still think you should start over with a fresh 2.40 source package, and<b= r> <br> =C2=A0?? configure<br> =C2=A0?? make<br> <br> There should be no reason for extra tools (bison, flex, automake, etc.)<br> to be involved. If they are invoked, and you haven't touched anything,<= br> that is a bug that should be fixed. Can you capture the output of<br> configure and make and post these? Thanks.<br> <br> =C2=A0??? Emden<br> <br> <br> ------------------------------<br> <br> ______________________________<wbr>_________________<br> graphviz-interest mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]<wbr>ch.att.com</a><br> <a href=3D"http://lists.research.att.com/mailman/listinfo/graphviz-interest= " rel=3D"noreferrer" target=3D"_blank">http://lists.research.att.com/<wbr>m= ailman/listinfo/graphviz-inte<wbr>rest</a><br> <br> <br> End of graphviz-interest Digest, Vol 146, Issue 5<br> ******************************<wbr>*******************<br> </blockquote> </div> <br> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> </div> <br> </div> </div> </div> </div></div></div> </div> </div> </blockquote></div><br></div></div> --001a113de63e7cc05c0559a5c042-- --===============2818137407499423372== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest --===============2818137407499423372==--