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.

I am using Fedora 18.

Just install libyajl-devel and it should be built by default

Or try something like that:

cc couchview.c -lyajl -lcouchbase

AFAIR it requires yajl 2.x

YES, yum install yajl-devel, a new configure and build did the job!