Didn´t get an error like this on my ubuntu.
Only thing that changed is sqlite:
sudo apt-get install sqlite3 libsqlite3-dev
Then it should work.
Try to delete the local git-rep and clone new from github.
Then try again to compile.
lg t.
No luck, I had already latest version, so tried to remove it then install again, still the same, it could stop to work after some update, found somewhere that running ./autogen.sh twice could help but not in my case, I will try later some older not updated version.