/INSTALL

http://github.com/fizx/parsley · #! · 84 lines · 66 code · 18 blank · 0 comment · 0 complexity · f01a044c0cbc7979c581d9575f307956 MD5 · raw file

  1. Welcome to Parsley!
  2. Parsley depends on
  3. - argp (standard with Linux, other platforms use argp-standalone package)
  4. - the JSON C library from http://oss.metaparadigm.com/json-c/ (I used 0.8)
  5. - pcre (with dev headers)
  6. - libxml2 (>= 2.7)
  7. - libxslt (with exslt)
  8. Here's how to install it:
  9. 1. Get the release
  10. ------------------------------------------------------------------------
  11. Parsley is currently still being tracked in git, and isn't ready to make a
  12. formal release. So you need to either clone or download the latest tarball:
  13. git clone git://github.com/fizx/parsley.git
  14. or
  15. wget http://github.com/fizx/parsley/tarball/master
  16. 2. Build for your platform
  17. ------------------------------------------------------------------------
  18. Enter your parsley working directory, (from the clone or download you
  19. just made) and, based on your platform, do the following:
  20. Debian/Ubuntu
  21. ------------------------------------------------------------------------
  22. sudo apt-get install libxslt1-dev libpcre3-dev build-essential wget
  23. wget http://oss.metaparadigm.com/json-c/json-c-0.8.tar.gz
  24. tar -zxf json-c-0.8.tar.gz
  25. cd json-c-0.8
  26. ./configure
  27. make
  28. sudo make install
  29. cd -
  30. ./configure
  31. make
  32. sudo make install
  33. Mac OS X with Homebrew:
  34. ------------------------------------------------------------------------
  35. brew install argp-standalone pcre json-c
  36. ./configure
  37. make
  38. sudo make install
  39. If you have a few extra minutes, consider replacing the last make with a
  40. 'make check' and let us know if it reports any failures from the test
  41. suite - thanks!
  42. Mac OS X with MacPorts:
  43. ------------------------------------------------------------------------
  44. sudo port install argp-standalone pcre wget libxslt
  45. wget http://oss.metaparadigm.com/json-c/json-c-0.8.tar.gz
  46. tar -zxf json-c-0.8.tar.gz
  47. cd json-c-0.8
  48. ./configure
  49. make
  50. sudo make install
  51. cd -
  52. ./configure
  53. make
  54. sudo make install
  55. If you have a few extra minutes, consider replacing the last make with a
  56. 'make check' and let us know if it reports any failures from the test
  57. suite - thanks!
  58. 3. Ruby Binding (via Gems)
  59. ------------------------------------------------------------------------
  60. http://github.com/fizx/parsley-ruby
  61. 4. Python Binding
  62. ------------------------------------------------------------------------
  63. http://github.com/fizx/pyparsley
  64. Other OS/Configurations:
  65. ------------------------------------------------------------------------
  66. Haven't tried.