Having problems with ./configure under Mandrake 8



I compiled glib with no problems then went to do the same with GTK+ and got an error saying it couldn't find glib-config. I had to copy glib-config over to /bin manually, nothing I tried worked otherwise. AAfter working around this issue I then got hung on:
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.

any ideas?
thanks.

# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
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 ... yes
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... ok
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
updating cache ./config.cache
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 gawk... gawk
checking for perl5... perl5
checking for indent... no
checking whether make is GNU Make... yes
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 dgettext in libc... yes
checking for msgfmt... no
checking whether catgets can be used... no
found xgettext program is not GNU xgettext; ignore it
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /bin/glib-config
checking for GLIB - version >= 1.2.8... yes
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.


==============================================================================
config.log:



# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
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 ... yes
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... ok
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
updating cache ./config.cache
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 gawk... gawk
checking for perl5... perl5
checking for indent... no
checking whether make is GNU Make... yes
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
configure:3250: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3222: checking for strcasecmp
configure:3250: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3222: checking for strdup
configure:3250: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3222: checking for __argz_count
configure:3250: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3222: checking for __argz_stringify
configure:3250: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3222: checking for __argz_next
configure:3250: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3279: checking for stpcpy
configure:3307: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3341: checking for LC_MESSAGES
configure:3353: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3374: checking whether NLS is requested
configure:3406: checking for libintl.h
configure:3416: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3433: checking for dgettext in libc
configure:3445: gcc -o conftest -g -O2 -Wall   conftest.c  1>&5
configure:3563: checking for msgfmt
configure:3758: checking whether catgets can be used
configure:4114: checking for extra flags to get ANSI library prototypes
configure:4128: gcc -o conftest -g -O2 -Wall   conftest.c   -lm 1>&5
configure:4168: checking for extra flags for POSIX compliance
configure:4177: gcc -c -g -O2 -Wall  conftest.c 1>&5
configure: In function `main':
configure:4173: warning: unused variable `dir'
configure:4270: checking for glib-config
configure:4305: checking for GLIB - version >= 1.2.8
configure:4404: 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:4544: checking for X
configure:4611: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4607:27: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 4606 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:4687: gcc -o conftest -g -O2 -Wall   conftest.c -lXt   1>&5
configure: In function `main':
configure:4683: warning: implicit declaration of function `XtMalloc'
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4680 "configure"
#include "confdefs.h"


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx




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