I'm working on the package for vtk 5-4-0 in macports (vtk-devel).  The src/Wrapping/README.txt indicates a dependency on yacc (byacc) and flex.  I have the following available (through macports), which dependency should I use?<br>
<br>*****************************************************************************<br>
<br>bison @2.4.1 (devel)<br>    general-purpose parser generator<br><br>bison1 @1.875 (devel, lang)<br>    general-purpose parser generator<br><br>byacc @20090221 (devel)<br>    Berkeley Yacc<br><br>flex @2.5.35 (devel)<br>
    Fast lexical analyser generator<br><br>py-bison @0.1.8 (python, lang)<br>    Python-based parsing at the speed of C<br><br>*****************************************************************************<br>
<br>bison @2.4.1 (devel)<br>Variants:    universal, yacc<br><br>Bison is a general-purpose parser generator that converts a grammar description for an LALR context-free grammar into a C program to<br>parse that grammar. Once you are proficient with Bison, you can use it to develop a wide range of language parsers, from those used in<br>
simple desk calculators to complex programming languages.<br>Homepage:    <a href="http://www.gnu.org/software/bison/">http://www.gnu.org/software/bison/</a><br><br>Library Dependencies: gettext, m4, libiconv<br>Platforms:            darwin<br>
Maintainers:          <a href="mailto:mww@macports.org">mww@macports.org</a><br><br>*****************************************************************************<br><br>byacc @20090221 (devel)<br>Variants:    universal<br>
<br>Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available. In contrast to bison, it is written to avoid<br>dependencies upon a particular compiler.<br>Homepage:    <a href="http://invisible-island.net/byacc/">http://invisible-island.net/byacc/</a><br>
<br>Platforms:            darwin<br>Maintainers:          <a href="mailto:toby@macports.org">toby@macports.org</a><br><br>*****************************************************************************<br>
<br><br>Furthermore, if both bison yacc and byacc are installed, how are they called; ie, how do we control which one is used?<br><br>Thanks in advance,<br>Darren<br><br><br><br><br><br><div class="gmail_quote">On Mon, May 4, 2009 at 1:17 PM, David Thompson <span dir="ltr"><<a href="mailto:dcthomp@sandia.gov">dcthomp@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> Does the python (and other lang) wrapping depend on swig?<br>
</div>No, the wrapping in VTK is a parser written in C with the help of lex<br>
and yacc. It was written before SWIG existed, as I recall.<br>
<font color="#888888"><br>
        David<br>
</font><div><div></div><div class="h5"><br>
> On Mon, May 4, 2009 at 11:27 AM, pat marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>
> wrote:<br>
>         Another helpful detail- you can tell the wrapper to ignore<br>
>         certain<br>
>         files by using this in your CMakeLists.txt:<br>
><br>
>         SET_SOURCE_FILES_PROPERTIES(<br>
>          vtkMyUnwrappableClass.cxx<br>
>          WRAP_EXCLUDE<br>
>         )<br>
><br>
>         Pat<br>
><br>
><br>
>         On Mon, May 4, 2009 at 1:22 PM, David E DeMarle<br>
>         <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
>         > A search on markmail turned up a fairly recent discussion of<br>
>         the topic.<br>
>         ><br>
>         > <a href="http://vtk.markmail.org/search/?q=wrapping#query:wrapping" target="_blank">http://vtk.markmail.org/search/?q=wrapping#query:wrapping</a><br>
>         +page:1+mid:plwydwprhlreh24s+state:results<br>
>         ><br>
>         > It doesn't look the the wiki page was ever moved over to<br>
>         <a href="http://vtk.org" target="_blank">vtk.org</a>. I<br>
>         > will do that now.<br>
>         ><br>
>         > David E DeMarle<br>
>         > Kitware, Inc.<br>
>         > R&D Engineer<br>
>         > 28 Corporate Drive<br>
>         > Clifton Park, NY 12065-8662<br>
>         > Phone: 518-371-3971 x109<br>
>         ><br>
>         ><br>
>         ><br>
>         > On Mon, May 4, 2009 at 1:12 PM, kent williams<br>
>         <<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>> wrote:<br>
>         >> Maybe I'm just missing the tree I need for the forest, but<br>
>         I went<br>
>         >> looking for documentation on VTK Wrapping, and came up<br>
>         empty.<br>
>         >><br>
>         >> In fact, in the top ten hits for google search on "vtk<br>
>         wrapping"  my<br>
>         >> own posts to the VTK-Users come up, the ones where I claim<br>
>         that VTK<br>
>         >> wrapping are driving me insane.<br>
>         >><br>
>         >> I've acquired the bare minimum knowledge necessary to<br>
>         survive VTK<br>
>         >> wrapping for KWWidgets applications --- use //BTX and //ETX<br>
>         to keep<br>
>         >> the wrapping parser from losing its mind, always name<br>
>         classes with a<br>
>         >> 'vtk' prefix, limit argument types to built-in scalar types<br>
>         and char *<br>
>         >> -- but is VTK wrapping actually documented anywhere?<br>
>         >> _______________________________________________<br>
>         >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>         >><br>
>         >> Visit other Kitware open-source projects at<br>
>         <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>         >><br>
>         >> Follow this link to subscribe/unsubscribe:<br>
>         >> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>         >><br>
>         >><br>
>         > _______________________________________________<br>
>         > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>         ><br>
>         > Visit other Kitware open-source projects at<br>
>         <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>         ><br>
>         > Follow this link to subscribe/unsubscribe:<br>
>         > <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>         ><br>
>         ><br>
>         _______________________________________________<br>
>         Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
>         Visit other Kitware open-source projects at<br>
>         <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
>         Follow this link to subscribe/unsubscribe:<br>
>         <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br>