Build couchview on Linux

How do I build libcouchbase/example/yajl/couchview on Linux?
The other examples builds from the git clone.

I build yajl from its git clone.