Coap-client on Ubuntu?

Has anyone been able to build the coap-client on Ubuntu in order to use the Tradfri nodes?