43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
Parsley depends on
|
|
- the JSON C library from http://oss.metaparadigm.com/json-c/ (I used 0.7)
|
|
- argp (standard with Linux, other platforms use argp-standalone package)
|
|
- pcre (with dev headers)
|
|
- libxml2
|
|
- libxslt (with exslt)
|
|
|
|
It's a standard ./configure && make && sudo make install once the
|
|
dependencies are installed. Examples below, assuming you're in the
|
|
current directory.
|
|
|
|
Debian/Ubuntu
|
|
------------------------------------------------------------------------
|
|
sudo apt-get install libxslt1-dev libpcre3-dev build-essential wget
|
|
wget http://oss.metaparadigm.com/json-c/json-c-0.7.tar.gz
|
|
tar -zxf json-c-0.7.tar.gz
|
|
cd json-c-0.7
|
|
./configure
|
|
make
|
|
sudo make install
|
|
cd -
|
|
./configure
|
|
make
|
|
sudo make install
|
|
|
|
Mac OS X with MacPorts:
|
|
------------------------------------------------------------------------
|
|
sudo port install argp-standalone json-c pcre
|
|
./configure
|
|
make
|
|
sudo make install
|
|
|
|
Ruby Binding (via Gems)
|
|
------------------------------------------------------------------------
|
|
http://github.com/fizx/parsley-ruby
|
|
|
|
Python Binding
|
|
------------------------------------------------------------------------
|
|
http://github.com/fizx/pyparsley
|
|
|
|
Other OS/Configurations:
|
|
------------------------------------------------------------------------
|
|
Haven't tried. |