Compiling isn't something you can do on-device (not without a lot of work). Install pidgin from the repos.