help installing GTK+



Hello all, I'm a Linux newbie, trying to install GTK+ 1.2.8 onto Redhat
Linux 5.2.  I first had to get the updated version of glib it required, no
problem.  Now the configure script gives the error:

*** X libraries or include files not found. Check 'config.log for 
*** more details.

X appears to be installed and running, so I'm not exactly sure what else
is required.  The config.log gives more details, but I'm still not sure
what I need to do to make it happy.  Any help is appreciated.  

Here is config.log:
---------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:659: checking for a BSD compatible install
configure:712: checking whether build environment is sane
configure:769: checking whether make sets ${MAKE}
configure:808: checking for working aclocal
configure:821: checking for working autoconf
configure:834: checking for working automake
configure:847: checking for working autoheader
configure:860: checking for working makeinfo
configure:955: checking host system type
configure:976: checking build system type
configure:996: checking for ranlib
configure:1026: checking for gcc
configure:1139: checking whether the C compiler (gcc  ) works
configure:1155: gcc -o conftest    conftest.c  1>&5
configure:1181: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1186: checking whether we are using GNU C
configure:1214: checking whether gcc accepts -g
configure:1257: checking for ld used by GCC
configure:1319: checking if the linker (/usr/bin/ld) is GNU ld
configure:1335: checking for BSD-compatible nm
configure:1371: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
cc1: Invalid option `-fno-exceptions'
cc1: Invalid option `-fno-exceptions'
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.9.1 (with BFD 2.9.1.0.15)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' > conftest.nm"
ltconfig:1691: gcc -o conftest -g -O2 -fno-builtin   conftest.c conftstm.o
1>&5
configure:1557: checking whether to enable maintainer-specific portions of
Makefiles
configure:1587: checking host system type
configure:1695: checking whether build environment is sane
configure:1737: checking for gcc
configure:1850: checking whether the C compiler (gcc -g -O2 ) works
configure:1866: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1892: checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler
configure:1897: checking whether we are using GNU C
configure:1925: checking whether gcc accepts -g
configure:1957: checking for POSIXized ISC
configure:1981: checking for gcc option to accept ANSI C
configure:2034: gcc  -c -g -O2  conftest.c 1>&5
configure:2069: checking for a BSD compatible install
configure:2122: checking whether make sets ${MAKE}
configure:2179: checking for mawk
configure:2179: checking for gawk
configure:2213: checking for perl5
configure:2213: checking for perl
configure:2247: checking for indent
configure:2284: checking whether make is GNU Make
configure:2302: checking how to run the C preprocessor
configure:2323: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2382: checking for ANSI C header files
configure:2395: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2462: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:2486: checking for working const
configure:2540: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:2514: warning: unused variable `s'
configure:2534: warning: unused variable `foo'
configure:2502: warning: unused variable `zero'
configure:2496: warning: unused variable `x'
configure:2513: warning: `t' might be used uninitialized in this function
configure:2531: warning: `b' might be used uninitialized in this function
configure:2561: checking for inline
configure:2575: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:2571: warning: control reaches end of non-void function
configure:2601: checking for off_t
configure:2634: checking for size_t
configure:2669: checking for working alloca.h
configure:2681: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure: In function `main':
configure:2677: warning: unused variable `p'
configure:2702: checking for alloca
configure:2735: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure: In function `main':
configure:2731: warning: unused variable `p'
configure:2904: checking for unistd.h
configure:2914: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2943: checking for getpagesize
configure:2971: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:2996: checking for working mmap
configure:3147: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3175: checking for argz.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3175: checking for limits.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3175: checking for locale.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3175: checking for nl_types.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3175: checking for malloc.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3175: checking for string.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3175: checking for unistd.h
configure:3175: checking for sys/param.h
configure:3185: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3215: checking for getcwd
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for munmap
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for putenv
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for setenv
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for setlocale
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for strchr
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for strcasecmp
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for strdup
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for __argz_count
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for __argz_stringify
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3215: checking for __argz_next
configure:3243: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3272: checking for stpcpy
configure:3300: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3334: checking for LC_MESSAGES
configure:3346: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3367: checking whether NLS is requested
configure:3399: checking for libintl.h
configure:3409: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3426: checking for dgettext in libc
configure:3438: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3556: checking for msgfmt
configure:3751: checking whether catgets can be used
configure:4107: checking for extra flags to get ANSI library prototypes
configure:4121: gcc -o conftest -g -O2 -Wall   conftest.c   -lm 1>&5
configure:4161: checking for extra flags for POSIX compliance
configure:4170: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:4166: warning: unused variable `dir'
configure:4263: checking for glib-config
configure:4298: checking for GLIB - version >= 1.2.8
configure:4397: gcc -o conftest -g -O2 -Wall -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -D_REENTRANT   conftest.c -L/usr/local/lib
-rdynamic -lgmodule -lgthread -lglib -lpthread -ldl   1>&5
configure:4537: checking for X
configure:4604: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4600: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 4599 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:4680: gcc -o conftest -g -O2 -Wall   conftest.c -lXt   1>&5
configure: In function `main':
configure:4676: warning: implicit declaration of function `XtMalloc'
ld: cannot open -lXt: No such file or directory
configure: failed program was:
#line 4673 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
-------------------------

Michael Gardner
mgardner sdf lonestar org





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]