Short story (If you already have ruby and cmake):
./configure && make install
When things go wrong:
attain CMake (www.cmake.org) and ruby (ruby-lang.org) and try again.
OR, attain CMake and build by hand:
-
mkdir build
-
cd build
-
cmake ..
-
make
-
build output left in yajl-X.Y.Z
NOTE: for 64-bit systems where lib64 is used you can pass the cmake
variable LIB_SUFFIX to cause installation into the system's 'lib64' directory.
best, lloyd