[buug] newbie: configuring/installing gtk

mic mic at linefeed.org
Mon Aug 9 18:44:10 PDT 2004


#trying to configure gtk 2.4.2 on debian box
#---------------------------------------------------
root at mith:/home/mith/gtk# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
loading argument cache configarg.cache
checking for --enable-gui... yes
checking for --enable-universal... no
checking for --enable-nanox... no
checking for --enable-gtk2... no
checking for --with-libpng... yes
checking for --with-libjpeg... yes
<snip>
checking for toolkit... gtk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for strip... (cached) strip
checking if make is GNU make... (cached) yes
checking for bison... (cached) bison -y
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking whether ln -s works... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for fnmatch.h... (cached) yes
checking for fnmatch... (cached) yes
checking for langinfo.h... (cached) yes
checking for X11/XKBlib.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of void *... (cached) 4
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking size of wchar_t... (cached) 4
checking for _FILE_OFFSET_BITS value needed for large files... (cached)
64
checking if large file support is available... yes
checking whether byte ordering is bigendian... (cached) no
checking how to run the C++ preprocessor... (cached) c++ -E
checking for iostream... (cached) yes
checking if C++ compiler supports bool... (cached) yes
checking if C++ compiler supports the explicit keyword... (cached) yes
checking for glibc 2.1 or later... yes
checking for regex.h... yes
checking for regcomp... yes
checking for zlib.h >= 1.1.4... yes
checking for deflate in -lz... yes
checking for png.h > 0.90... yes
checking for png_check_sig in -lpng... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for tiffio.h... no
configure: warning: system tiff library not found, will use built-in
instead
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

root at mith:/home/mith/gtk# gtk-config --libs
bash: gtk-config: command not found

root at mith:/home/mith/gtk# which gtk-config
root at mith:/home/mith/gtk#

#dont know if this is cool?
#-----------------------------------------
root at mith:/home/mith/gtk# echo $GTK_CONFIG
/usr/lib



#but appearantly im uptodate on this:
#--------------------------------------------
root at mith:/home/mith/round2# apt-get install libwxgtk2.2
Reading Package Lists... Done
Building Dependency Tree... Done
libwxgtk2.2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 249 not upgraded.


anyone got ideas on what should i do here?
and general tricks of the trade to trouble shoot this problem that i am
missing here?

i'm about to take off, will revisit in 3 or four hours
thanks
mic






More information about the buug mailing list