вот что пишет ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for libraries containing socket functions... -lc
checking for gzopen in -lz... yes
checking for pow in -lm... yes
checking for library containing DGifSlurp... no
checking for library containing DGifSlurp... (cached) no
configure: error: Both libgif and libungif not found.
libungif - поставил, а эту штуку libgif где взять не как непойму