PageRenderTime 303ms CodeModel.GetById 161ms app.highlight 1ms RepoModel.GetById 140ms app.codeStats 0ms

/INSTALL

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