Re: [gtk-list] trying to install glib please help !!!



Most likely your old libraries are interfering with your new ones. 
Redhat 5.2 installs glib/gtk, but if you're using 1.1.x series, they
(old gtk libaries) mess up your new GTK/GLIB.  I found it safest to
delete all traces of GTK/GLIB that RedHat installed and rerun your
configuration. 

 -Eric

---Paul Juster <p_juster@hotmail.com> wrote:
>
> I have downloaded version 1.1.16 of glib
> I have tried to do a ./configure make & make install
> but when i try and install gtk i get the following message after a 
> ./configure
> could not run Glib test program, checking why...
> The test program failed to to compile or link.  see config.log for
the 
> exact error that occured. This usually means glibwas incorrectly 
> installed or that is has been moved since it was intstall. In the
latter 
> case, you may want to edit the glib-config script /usr/bin/glib-config
> configure error.
> 
> I know that glib has not been installed as the directory is version 8 
> under /usr
> here is change.log that the error message is pointing me too.....
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:648: checking for a BSD compatible install
> configure:701: checking whether build environment is sane
> configure:758: checking whether make sets ${MAKE}
> configure:797: checking for working aclocal
> configure:810: checking for working autoconf
> configure:823: checking for working automake
> configure:836: checking for working autoheader
> configure:849: checking for working makeinfo
> configure:921: checking host system type
> configure:942: checking build system type
> configure:962: checking for ranlib
> configure:992: checking for gcc
> configure:1105: checking whether the C compiler (gcc  ) works
> configure:1121: gcc -o conftest    conftest.c  1>&5
> configure:1147: checking whether the C compiler (gcc  ) is a 
> cross-compiler
> configure:1152: checking whether we are using GNU C
> configure:1161: gcc -E conftest.c
> configure:1180: checking whether gcc accepts -g
> configure:1223: checking for ld used by GCC
> configure:1316: checking if the linker (/usr/bin/ld) is GNU ld
> GNU ld version 2.9.1 (with BFD 2.9.1.0.15)
> configure:1332: checking for BSD-compatible nm
> configure:1368: checking command to parse /usr/bin/nm -B output
> configure:1431: gcc -c -g -O2  conftest.c 1>&5
> configure:1434: /usr/bin/nm -B conftest.o | sed -n -e 's/^.* 
> [ABCDGISTUW]
> \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
> configure:1492: gcc -o conftest -g -O2   conftest.c conftestm.o 1>&5
> configure:1528: checking for _ prefix in compiled symbols
> configure:1537: gcc -c -g -O2  conftest.c 1>&5
> configure:1540: /usr/bin/nm -B conftest.o | sed -n -e 's/^.* 
> [ABCDGISTUW]
> \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
> configure:1571: checking whether ln -s works
> ltconfig:552: checking for object suffix
> ltconfig:553: gcc -c -g -O2  conftest.c 1>&5
> ltconfig:674: checking if gcc PIC flag -fPIC works
> ltconfig:675: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
> ltconfig:709: checking if gcc supports -c -o file.o
> ltconfig:710: gcc -c -g -O2 -c -o conftest2.o  conftest.c 1>&5
> ltconfig:737: checking if gcc supports -c -o file.lo
> ltconfig:738: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
> ltconfig:789: checking if gcc supports -fno-rtti -fno-exceptions
> ltconfig:790: 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:833: checking if gcc static flag -static works
> ltconfig:834: gcc -o conftest -g -O2   -static conftest.c  1>&5
> GNU ld version 2.9.1 (with BFD 2.9.1.0.15)
> ltconfig:1425: checking if global_symbol_pipe works
> ltconfig:1426: gcc -c -g -O2  conftest.c 1>&5
> ltconfig:1429: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.* 
> [ABCDGISTUW]
> \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm"
> ltconfig:1487: gcc -o conftest -g -O2 -fno-builtin   conftest.c 
> conftestm.o 1>&5
> configure:1836: checking whether to enable maintainer-specific
portions 
> of Makefiles
> configure:1866: checking host system type
> configure:1965: checking whether build environment is sane
> configure:2007: checking for gcc
> configure:2120: checking whether the C compiler (gcc -g -O2 ) works
> configure:2136: gcc -o conftest -g -O2   conftest.c  1>&5
> configure:2162: checking whether the C compiler (gcc -g -O2 ) is a 
> cross-compiler
> configure:2167: checking whether we are using GNU C
> configure:2195: checking whether gcc accepts -g
> configure:2227: checking for POSIXized ISC
> configure:2251: checking for gcc option to accept ANSI C
> configure:2304: gcc  -c -g -O2  conftest.c 1>&5
> configure:2339: checking for a BSD compatible install
> configure:2392: checking whether make sets ${MAKE}
> configure:2446: checking for mawk
> configure:2446: checking for gawk
> configure:2480: checking for perl5
> configure:2480: checking for perl
> configure:2514: checking for indent
> configure:2552: checking how to run the C preprocessor
> configure:2573: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:2632: checking for ANSI C header files
> configure:2645: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:2712: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:2736: checking for working const
> configure:2790: gcc -c -g -O2 -Wall  conftest.c 1>&5
> configure: In function `main':
> configure:2764: warning: unused variable `s'
> configure:2784: warning: unused variable `foo'
> configure:2752: warning: unused variable `zero'
> configure:2746: warning: unused variable `x'
> configure:2763: warning: `t' might be used uninitialized in this 
> function
> configure:2781: warning: `b' might be used uninitialized in this 
> function
> configure:2811: checking for inline
> configure:2825: gcc -c -g -O2 -Wall  conftest.c 1>&5
> configure: In function `main':
> configure:2821: warning: control reaches end of non-void function
> configure: At top level:
> configure:2821: warning: return-type defaults to `int'
> configure:2851: checking for off_t
> configure:2884: checking for size_t
> configure:2919: checking for working alloca.h
> configure:2931: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure: In function `main':
> configure:2927: warning: unused variable `p'
> configure:2952: checking for alloca
> configure:2985: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure: In function `main':
> configure:2981: warning: unused variable `p'
> configure:3154: checking for unistd.h
> configure:3164: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3193: checking for getpagesize
> configure:3221: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3246: checking for working mmap
> configure:3394: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure: In function `main':
> configure:3335: warning: implicit declaration of function
`getpagesize'
> configure:3344: warning: implicit declaration of function `rand'
> configure:3345: warning: implicit declaration of function `umask'
> configure:3349: warning: implicit declaration of function `write'
> configure:3351: warning: implicit declaration of function `close'
> configure:3382: warning: implicit declaration of function `read'
> configure:3388: warning: implicit declaration of function `unlink'
> configure:3422: checking for argz.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3422: checking for limits.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3422: checking for locale.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3422: checking for nl_types.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3422: checking for malloc.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3422: checking for string.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3422: checking for unistd.h
> configure:3422: checking for sys/param.h
> configure:3432: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3462: checking for getcwd
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for munmap
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for putenv
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for setenv
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for setlocale
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for strchr
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for strcasecmp
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for strdup
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for __argz_count
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for __argz_stringify
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3462: checking for __argz_next
> configure:3490: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3519: checking for stpcpy
> configure:3547: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3581: checking for LC_MESSAGES
> configure:3593: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3614: checking whether NLS is requested
> configure:3646: checking for libintl.h
> configure:3656: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:3673: checking for gettext in libc
> configure:3685: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3799: checking for msgfmt
> configure:3833: checking for dcgettext
> configure:3861: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:3888: checking for gmsgfmt
> configure:3924: checking for xgettext
> configure:3964: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:4240: checking for catalogs to be installed
> configure:4343: checking for gettext
> configure:4371: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
> configure:4444: checking for extra flags to get ANSI library
prototypes
> 
=== message truncated ===

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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