INSTALL 810 B

12345678910111213141516171819202122232425262728
  1. INSTALL file for PyBison
  2. 1. Prerequisites
  3. You will need:
  4. - Python 2.2 or later, with development headers and libraries
  5. - GNU bison (or yacc) - www.gnu.org or gnuwin32.sf.net
  6. - GNU flex (or lex) - ditto
  7. - The Pyrex Python/C wrapper creation framework:
  8. - http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
  9. - A standard C compiler and linker
  10. 2. Installing
  11. - Crack the tarball somewhere convenient (eg your home directory)
  12. - cd into the top level directory of this package
  13. - become root, and type 'python setup.py install'
  14. With all going well, you should see a bunch of harmless warning messages
  15. from the compilation of bison.c, but no errors.
  16. The following commands will verify if the installation succeeded:
  17. $ which bison2py
  18. /usr/bin/bison2py
  19. $ python -c "import bison"
  20. $