gtk 1.2.2 BUG RedHat Bug?



Hello,

I just installed RedHat 5.1 (have tried with 6.0 too) 'out of the box'
and i get some really wierd errors.

I have everything included in these two log files. Please have a look
cause i am stuck and cannot install gtk.


If you know what i miss and have done wrong please mail me at:
cthunder@telia.com


Thankyou in advance, Martin
==========================================
Here is the output from the command below.
==========================================

[root@venus gtk+-1.2.2]# ./configure --with-glib-prefix=/usr/local/
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib | cat >
gtk_error.log


loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
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 for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... (cached) yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for mawk... no
checking for gawk... gawk
checking for perl5... no
checking for perl... perl
checking for indent... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  cs de es fr hu it ja ko nl no pl pt ru sv
checking for gettext... yes
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local//bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no

========================
This is the error i get.
========================

configure: error: *** libX11 not found. Check 'config.log' for more
details.

==========================================
This is the output from the command below.
==========================================

[root@venus gtk+-1.2.2]# ldconfig -v | grep libX11
        libX11.so.6 => libX11.so.6.1
        libX11.so.6 => libX11.so.6.1
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:657: checking for a BSD compatible install
configure:710: checking whether build environment is sane
configure:767: checking whether make sets ${MAKE}
configure:806: checking for working aclocal
configure:819: checking for working autoconf
configure:832: checking for working automake
configure:845: checking for working autoheader
configure:858: checking for working makeinfo
configure:953: checking host system type
configure:974: checking build system type
configure:994: checking for ranlib
configure:1024: checking for gcc
configure:1137: checking whether the C compiler (gcc  ) works
configure:1153: gcc -o conftest    conftest.c  1>&5
configure:1179: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1184: checking whether we are using GNU C
configure:1212: checking whether gcc accepts -g
configure:1255: checking for ld used by GCC
configure:1318: checking if the linker (/usr/bin/ld) is GNU ld
configure:1334: checking for BSD-compatible nm
configure:1372: checking command to parse /usr/bin/nm -B output
configure:1537: checking for _ prefix in compiled symbols
configure:1575: checking whether ln -s works
ltconfig:586: checking for object suffix
ltconfig:587: gcc -c -g -O2  conftest.c 1>&5
ltconfig:717: checking if gcc PIC flag -fPIC works
ltconfig:718: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:760: checking if gcc supports -c -o file.o
ltconfig:761: gcc -c -g -O2 -c -o conftest2.o  conftest.c 1>&5
ltconfig:788: checking if gcc supports -c -o file.lo
ltconfig:789: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:840: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:841: 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:884: checking if gcc static flag -static works
ltconfig:885: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.9.1 (with BFD 2.9.1.0.4)
ltconfig:1447: checking if global_symbol_pipe works
ltconfig:1448: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1451: 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:1503: gcc -o conftest -g -O2 -fno-builtin   conftest.c conftestm.o 1>&5
configure:1905: checking whether to enable maintainer-specific portions of Makefiles
configure:1935: checking host system type
configure:2035: checking whether build environment is sane
configure:2077: checking for gcc
configure:2190: checking whether the C compiler (gcc -g -O2 ) works
configure:2206: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2232: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler
configure:2237: checking whether we are using GNU C
configure:2265: checking whether gcc accepts -g
configure:2297: checking for POSIXized ISC
configure:2321: checking for gcc option to accept ANSI C
configure:2374: gcc  -c -g -O2  conftest.c 1>&5
configure:2409: checking for a BSD compatible install
configure:2462: checking whether make sets ${MAKE}
configure:2519: checking for mawk
configure:2519: checking for gawk
configure:2553: checking for perl5
configure:2553: checking for perl
configure:2587: checking for indent
configure:2625: checking how to run the C preprocessor
configure:2646: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2705: checking for ANSI C header files
configure:2718: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2785: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:2809: checking for working const
configure:2863: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:2837: warning: unused variable `s'
configure:2857: warning: unused variable `foo'
configure:2825: warning: unused variable `zero'
configure:2819: warning: unused variable `x'
configure:2836: warning: `t' might be used uninitialized in this function
configure:2854: warning: `b' might be used uninitialized in this function
configure:2884: checking for inline
configure:2898: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:2894: warning: control reaches end of non-void function
configure: At top level:
configure:2894: warning: return-type defaults to `int'
configure:2924: checking for off_t
configure:2957: checking for size_t
configure:2992: checking for working alloca.h
configure:3004: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure: In function `main':
configure:3000: warning: unused variable `p'
configure:3025: checking for alloca
configure:3058: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure: In function `main':
configure:3054: warning: unused variable `p'
configure:3227: checking for unistd.h
configure:3237: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3266: checking for getpagesize
configure:3294: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3319: checking for working mmap
configure:3467: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure: In function `main':
configure:3408: warning: implicit declaration of function `getpagesize'
configure:3417: warning: implicit declaration of function `rand'
configure:3418: warning: implicit declaration of function `umask'
configure:3422: warning: implicit declaration of function `write'
configure:3424: warning: implicit declaration of function `close'
configure:3455: warning: implicit declaration of function `read'
configure:3461: warning: implicit declaration of function `unlink'
configure:3495: checking for argz.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3495: checking for limits.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3495: checking for locale.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3495: checking for nl_types.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3495: checking for malloc.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3495: checking for string.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3495: checking for unistd.h
configure:3495: checking for sys/param.h
configure:3505: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3535: checking for getcwd
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for munmap
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for putenv
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for setenv
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for setlocale
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for strchr
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for strcasecmp
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for strdup
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for __argz_count
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for __argz_stringify
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3535: checking for __argz_next
configure:3563: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3592: checking for stpcpy
configure:3620: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3654: checking for LC_MESSAGES
configure:3666: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3687: checking whether NLS is requested
configure:3719: checking for libintl.h
configure:3729: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3746: checking for gettext in libc
configure:3758: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3872: checking for msgfmt
configure:3906: checking for dcgettext
configure:3934: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3961: checking for gmsgfmt
configure:3997: checking for xgettext
configure:4037: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:4313: checking for catalogs to be installed
configure:4416: checking for gettext
configure:4444: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:4517: checking for extra flags to get ANSI library prototypes
configure:4530: gcc -o conftest -g -O2 -Wall   conftest.c  -lm 1>&5
configure:4571: checking for extra flags for POSIX compliance
configure:4580: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:4576: warning: unused variable `dir'
configure:4673: checking for glib-config
configure:4708: checking for GLIB - version >= 1.2.2
configure:4807: gcc -o conftest -g -O2 -Wall -I/usr/local//lib/glib/include -I/usr/local//include -D_REENTRANT   conftest.c -L/usr/local//lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl  1>&5
configure:4947: checking for X
configure:5261: checking for dnet_ntoa in -ldnet
configure:5280: gcc -o conftest -g -O2 -Wall   conftest.c -ldnet   1>&5
ld: cannot open -ldnet: No such file or directory
configure: failed program was:
#line 5269 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:5302: checking for dnet_ntoa in -ldnet_stub
configure:5321: gcc -o conftest -g -O2 -Wall   conftest.c -ldnet_stub   1>&5
ld: cannot open -ldnet_stub: No such file or directory
configure: failed program was:
#line 5310 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:5350: checking for gethostbyname
configure:5378: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:5448: checking for connect
configure:5476: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:5540: checking for remove
configure:5568: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:5632: checking for shmat
configure:5660: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:5733: checking for IceConnectionNumber in -lICE
configure:5752: gcc -o conftest -g -O2 -Wall   -L/usr/X11R6/lib conftest.c -lICE   1>&5
ld: cannot open -lICE: No such file or directory
configure: failed program was:
#line 5741 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char IceConnectionNumber();

int main() {
IceConnectionNumber()
; return 0; }
configure:5796: checking for XOpenDisplay in -lX11
configure:5815: gcc -o conftest -g -O2 -Wall  -I/usr/X11R6/include     -L/usr/X11R6/lib conftest.c -lX11   1>&5
ld: cannot open -lX11: No such file or directory
configure: failed program was:
#line 5804 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XOpenDisplay();

int main() {
XOpenDisplay()
; return 0; }


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