Error in make command in installing Rasqal RDF Query Library

The Rasqal RDF Query Library is packaged in all current Ubuntu releases. You do not need to compile it manually. For client-oriented usage install it using:

sudo apt-get install librasqal3 librasqal3-doc rasqal-utils

To develop some software on top of it install the following packages by

sudo apt-get install librasqal3-dbg librasqal3-dev

and you will get rasqal.h, librasqal.a and so on.