how to install opencv with GTK support ,i m getting error

i m trying to install opencv with gtk .but i got this error while ./
configure
""checking for "gtk+-2.0 gdk-pixbuf-2.0"... checking QuickTime/
QuickTime.h usability... no""
what is the solution???

damon@damon:~/Desktop/OpenCV-2.0.0/opencv.build$ /home/damon/Desktop/
OpenCV-2.0.0/configure --host=arm-angstrom-linux-gnueabi --prefix=/
home/damon/GCCexample/opencv --with-gtk

configure: WARNING: If you wanted to set the --build type, don't use --
host.
    If a cross compiler is detected then cross compile mode will be
used.
configure: loading site script /usr/local/angstrom/arm/site-config
checking build system type... i686-pc-linux-gnu
checking host system type... arm-angstrom-linux-gnueabi
checking target system type... arm-angstrom-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-angstrom-linux-gnueabi-strip... arm-angstrom-linux-
gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for arm-angstrom-linux-gnueabi-g++... arm-angstrom-linux-
gnueabi-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-angstrom-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... arm-angstrom-linux-gnueabi-
g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... (cached)
yes
checking dependency style of arm-angstrom-linux-gnueabi-g++...
(cached) gcc3
checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-
gnueabi-gcc
checking whether we are using the GNU C compiler... yes
checking whether arm-angstrom-linux-gnueabi-gcc accepts -g... yes
checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO
C89... none needed
checking dependency style of arm-angstrom-linux-gnueabi-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-angstrom-linux-gnueabi-gcc... /usr/local/
angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-
gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/
angstrom/arm/bin/arm-angstrom-linux-gnueabi-nm
checking the name lister (/usr/local/angstrom/arm/bin/arm-angstrom-
linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
option to reload object files... -r
checking for arm-angstrom-linux-gnueabi-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-angstrom-linux-gnueabi-ar... arm-angstrom-linux-
gnueabi-ar
checking for arm-angstrom-linux-gnueabi-strip... (cached) arm-angstrom-
linux-gnueabi-strip
checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-
gnueabi-ranlib
checking command to parse /usr/local/angstrom/arm/bin/arm-angstrom-
linux-gnueabi-nm output from arm-angstrom-linux-gnueabi-gcc object...
failed
checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-
gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... (cached)
yes
checking dependency style of arm-angstrom-linux-gnueabi-g++...
(cached) gcc3
checking how to run the C++ preprocessor... arm-angstrom-linux-gnueabi-
g++ -E
checking for objdir... .libs
checking if arm-angstrom-linux-gnueabi-gcc supports -fno-rtti -fno-
exceptions... no
checking for arm-angstrom-linux-gnueabi-gcc option to produce PIC... -
fPIC -DPIC
checking if arm-angstrom-linux-gnueabi-gcc PIC flag -fPIC -DPIC
works... yes
checking if arm-angstrom-linux-gnueabi-gcc static flag -static
works... yes
checking if arm-angstrom-linux-gnueabi-gcc supports -c -o file.o...
yes
checking if arm-angstrom-linux-gnueabi-gcc supports -c -o file.o...
(cached) yes
checking whether the arm-angstrom-linux-gnueabi-gcc linker (/usr/local/
angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by arm-angstrom-linux-gnueabi-g++... /usr/local/
angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld
checking if the linker (/usr/local/angstrom/arm/arm-angstrom-linux-
gnueabi/bin/ld) is GNU ld... yes
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/
angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared
libraries... yes
checking for arm-angstrom-linux-gnueabi-g++ option to produce PIC... -
fPIC -DPIC
checking if arm-angstrom-linux-gnueabi-g++ PIC flag -fPIC -DPIC
works... yes
checking if arm-angstrom-linux-gnueabi-g++ static flag -static
works... yes
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o...
yes
checking if arm-angstrom-linux-gnueabi-g++ supports -c -o file.o...
(cached) yes
checking whether the arm-angstrom-linux-gnueabi-g++ linker (/usr/local/
angstrom/arm/arm-angstrom-linux-gnueabi/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for arm-angstrom-linux-gnueabi-gcc option to support
OpenMP... unsupported
checking for x86 cpuid output... unknown
checking for x86 cpuid 0x00000001 output... unknown
checking whether mmx is supported... no
checking whether sse is supported... no
checking whether sse2 is supported... no
checking whether sse3 is supported... no
checking whether ssse3 is supported... no
checking whether to build debug version... no
checking whether to enable aggressive optimization flags... yes
checking for pow in -lm... yes
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for gzputs in -lz... yes
checking whether byte ordering is bigendian... no
checking for working alloca.h... yes
checking for alloca... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for lrint... yes
checking for library containing clock_gettime... -lrt
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for pkg-config... /usr/local/angstrom/arm/bin/pkg-config
checking for "gtk+-2.0 gdk-pixbuf-2.0"... checking QuickTime/
QuickTime.h usability... no
checking QuickTime/QuickTime.h presence... no
checking for QuickTime/QuickTime.h... no
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavcodec/avcodec.h usability... no
checking libavcodec/avcodec.h presence... yes
configure: WARNING: libavcodec/avcodec.h: present but cannot be
compiled
configure: WARNING: libavcodec/avcodec.h: check for missing
prerequisite headers?
configure: WARNING: libavcodec/avcodec.h: see the Autoconf
documentation
configure: WARNING: libavcodec/avcodec.h: section "Present But
Cannot Be Compiled"
configure: WARNING: libavcodec/avcodec.h: proceeding with the
compiler's result
configure: WARNING: ##
-------------------------------------------------------- ##
configure: WARNING: ## Report this to opencvlibrary-
devel@lists.sourceforge.net ##
configure: WARNING: ##
-------------------------------------------------------- ##
checking for libavcodec/avcodec.h... no
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking libavformat/avformat.h usability... no
checking libavformat/avformat.h presence... yes
configure: WARNING: libavformat/avformat.h: present but cannot be
compiled
configure: WARNING: libavformat/avformat.h: check for missing
prerequisite headers?
configure: WARNING: libavformat/avformat.h: see the Autoconf
documentation
configure: WARNING: libavformat/avformat.h: section "Present But
Cannot Be Compiled"
configure: WARNING: libavformat/avformat.h: proceeding with the
compiler's result
configure: WARNING: ##
-------------------------------------------------------- ##
configure: WARNING: ## Report this to opencvlibrary-
devel@lists.sourceforge.net ##
configure: WARNING: ##
-------------------------------------------------------- ##
checking for libavformat/avformat.h... no
checking libraw1394/raw1394.h usability... no
checking libraw1394/raw1394.h presence... no
checking for libraw1394/raw1394.h... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for linux/videodev2.h... yes
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking for png_read_image in -lpng12... yes
checking for png_get_valid... yes
checking for png_set_tRNS_to_alpha... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for TIFFReadRGBAStrip in -ltiff... yes
checking jasper/jasper.h usability... yes
checking jasper/jasper.h presence... yes
checking for jasper/jasper.h... yes
checking for jas_image_readcmpt in -ljasper... yes
checking ImfCRgbaFile.h usability... no
checking ImfCRgbaFile.h presence... no
checking for ImfCRgbaFile.h... no
configure: Checking for necessary tools to build python wrappers
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-
packages
checking for python extension module directory... ${exec_prefix}/lib/
python2.6/site-packages
configure: PYTHON_CSPEC=-fPIC -I/usr/include/python2.6
configure: PYTHON_LSPEC=-Wl,-Bsymbolic-functions -L/usr/lib/python2.6/
config -lm -lpthread -ldl -lutil -lpython2.6 -Xlinker -export-dynamic
-Wl,-O1 -Wl,-Bsymbolic-functions
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
configure: WARNING: Python headers not found, disabling python
wrappers
configure: creating ./config.status
config.status: creating Makefile
config.status: creating opencv.pc
config.status: creating opencv.spec
config.status: creating data/Makefile
config.status: creating include/Makefile
config.status: creating 3rdparty/Makefile
config.status: creating src/Makefile
config.status: creating apps/Makefile
config.status: creating interfaces/Makefile
config.status: creating interfaces/swig/Makefile
config.status: creating interfaces/swig/filtered/Makefile
config.status: creating interfaces/swig/general/Makefile
config.status: creating interfaces/swig/python/Makefile
config.status: creating interfaces/swig/octave/Makefile
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating samples/Makefile
config.status: creating cvconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands

General configuration ================================================

    CXX: arm-angstrom-linux-gnueabi-g++
    CXXCPP: arm-angstrom-linux-gnueabi-g++ -E
    CPPFLAGS:
    CXXFLAGS:
    LDFLAGS:

    Install path: /home/damon/GCCexample/opencv

    Debug flags
    Optimization flags -DNDEBUG -O2 -fomit-frame-pointer
    MMX/SSE/SSE2/SSE3:
    OpenMP support:
    External BLAS & LAPACK: no

HighGUI configuration ================================================

    Windowing system --------------
    Use Carbon / Mac OS X: no
    Use gtk+ 2.x: no
    Use gthread: no

    Image I/O ---------------------
    Use ImageIO / Mac OS X: no
    Use libjpeg: yes
    Use zlib: yes
    Use libpng: yes
    Use libtiff: yes
    Use libjasper: yes
    Use libIlmImf/OpenEXR: no

    Video I/O ---------------------
    Use QuickTime / Mac OS X: no
    Use xine: no
    Use gstreamer: no
    Use ffmpeg: no
    Use dc1394 & raw1394: no
    Use dc1394_v2 & raw1394: no
    Use v4l: yes
    Use v4l2: yes
    Use unicap: no

Wrappers for other languages =========================================

    SWIG
    Python no
    Octave no

Additional build settings ============================================

    Build demo apps yes

Now run make ...

damon@damon:~/Desktop/OpenCV-2.0.0/opencv.build$

Many opencv build options are harmless and not needed by all.
Did you install libgtk-2.0 or gdk-pixbuf before trying to build?
Unless you need quicktime image tools then it is not necessary.

djlewis

i have installed Opencv 2.2 with help of Narcissus SDK
toolchain,& i hav configured OPENCV 2.2 as below.

now i want to run Opencv programs(with gtk) on beagleboard for that
how to do??
i hav installed Angstrom image with opencv (Narcissus)........

http://groups.google.com/group/beagleboard/browse_thread/thread/c7ed492e9b0e10a8?hl=en

General configuration for opencv 2.2.0