If you are getting the console version, you should check the output of "configure" command. "configure" looks for libraries and headers to detect and setup the compilation against the proper X Toolkit. Probably you must install some additional packages, like: libxt-dev and libgtk2.0-dev
To be sure you have everything you need, check for this lines in the output of configure command:
Configured for `i686-pc-linux-gnu'.
Where should the build process find the source code? /home/danirus/cvs/savannah/emacs
What operating system and machine description files should Emacs use?
`s/gnu-linux.h' and `m/intel386.h'
What compiler should emacs be built with? gcc -g -O2 -Wno-pointer-sign
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? x11
What toolkit should Emacs use? GTK
Where do we find X Windows header files? Standard dirs
Where do we find X Windows libraries? /usr/X11R6/lib
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use -lungif? no
Does Emacs use -lpng? yes
Does Emacs use X toolkit scroll bars? yes