Install either libungif and libungif-dev OR giflib and giflib-dev libungif is free, giflib is hindered by patents