Your message dated Tue, 30 Nov 1999 16:42:40 +0100 with message-id <3843F070.FA445D26@kde.org> and subject line done has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I'm talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Stephan Kulow (administrator, KDE bugs database) Received: (at submit) by bugs.kde.org; 5 May 1999 08:13:16 +0000 From root@hal.astr.lu.lv Wed May 5 10:13:16 1999 Received: from hal.astr.lu.lv ([195.13.134.67]:36100 "EHLO hal.astr.lu.lv" ident: "root") by alpha.tat.physik.uni-tuebingen.de with ESMTP id <47107-30063>; Wed, 5 May 1999 10:13:10 +0200 Received: from localhost (root@localhost) by hal.astr.lu.lv (8.9.1/8.9.1) with ESMTP id LAA03410; Wed, 5 May 1999 11:11:54 +0300 Date: Wed, 5 May 1999 11:11:54 +0300 (EEST) From: To: submit@bugs.kde.org Subject: Configure errorously does not find X includes in KDE-1.1.1 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-Path: X-Orcpt: rfc822;submit@bugs.kde.org Seems that acinclude.m4 has problem as configure for all KDE-1.1.1 packages does not find X includes - KDE-1.1 does not have this problem (tested once more) - Replacing macro K_PATH_X in acinclude.m4 with one from KDE-1.1 fixes problem (of course I run aclocal and autoconf after that) System: Pentium-MMX 200, 64Mb, Linux-2.2.7, glibc-2.1, egcs-1.1.2 (Slackware-3.6 upgraded to glibc-2.1) -------- Output of 'CFLAGS="-v -O2" ./configure' for kdesupport-1.1.1 loading cache ./config.cache checking host system type... i586-pc-linux-gnu checking target system type... i586-pc-linux-gnu checking build system type... i586-pc-linux-gnu checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... 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 for a C-Compiler... checking for gcc... gcc checking whether the C compiler (gcc -O2 -v ) works... yes checking whether the C compiler (gcc -O2 -v ) is a cross-compiler... no checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking for a C++-Compiler... checking for g++... g++ checking whether the C++ compiler (g++ -s) works... yes checking whether the C++ compiler (g++ -s) is a cross-compiler... no checking whether we are using GNU C++... yes checking how to run the C++ preprocessor... g++ -E checking for ranlib... ranlib checking for ld used by GCC... /usr/i586-pc-linux-gnu/bin/ld checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... yes checking whether ln -s works... yes checking for object suffix... o checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.lo... yes checking if g++ supports -fno-rtti -fno-exceptions ... yes checking if g++ static flag -static works... -static checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/i586-pc-linux-gnu/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/i586-pc-linux-gnu/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 checking for AIX... no checking for minix/config.h... no checking for main in -lcompat... no checking for main in -lcrypt... yes checking for the third argument of getsockname... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for killpg in -lucb... no checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths! --------------------- Related fragment of 'config.log' ------------ configure:3002: checking for X configure:3036: gcc -E conftest.c >/dev/null 2>conftest.out configure:3112: gcc -o conftest -O2 -v -s conftest.c -lXt 1>&5 Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/specs gcc version egcs-2.91.66.1 19990314/Linux (egcs-1.1.2 release) /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Di386 -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D__OPTIMIZE__ -Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ conftest.c /tmp/cccRgKiY.i GNU CPP version egcs-2.91.66.1 19990314/Linux (egcs-1.1.2 release) (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/i586-pc-linux-gnu/include /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/include /usr/include End of search list. /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/cc1 /tmp/cccRgKiY.i -quiet -dumpbase conftest.c -O2 -version -o /tmp/cc06094L.s GNU C version egcs-2.91.66.1 19990314/Linux (egcs-1.1.2 release) (i586-pc-linux-gnu) compiled by GNU C version egcs-2.91.66.1 19990314/Linux (egcs-1.1.2 release). /usr/i586-pc-linux-gnu/bin/as -V -Qy -o /tmp/ccYz9xxC.o /tmp/cc06094L.s GNU assembler version 2.9.1 (i586-pc-linux-gnu), using BFD version 2.9.1.0.22 /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o conftest -s /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/crtbegin.o -L/usr/local/qt/lib -L/usr/X11/lib -L/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1 -L/usr/i586-pc-linux-gnu/lib /tmp/ccYz9xxC.o -lXt -lgcc -lc -lgcc /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66.1/crtend.o /usr/lib/crtn.o --------------- Related part of output of 'sh -x configure' ------------- + echo -n checking for X... checking for X... + echo configure:3002: checking for X + ac_ext=c + ac_cpp=$CPP $CPPFLAGS + ac_compile=${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 + ac_link=${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 + cross_compiling=no ++ echo ${ac_cv_have_x+set} + eval test "${ac_cv_have_x+set}" = set ++ test = set + test {NONE+set} = set + test NONE = NONE + ac_x_includes=NO + test {NONE+set} = set + test NONE = NONE + ac_x_libraries=NO + test NO = NO + test -z + x_direct_test_include=X11/Intrinsic.h + cat + ac_try=$CPP $CPPFLAGS conftest.c >/dev/null 2>conftest.out + eval echo configure:3036: "$CPP $CPPFLAGS conftest.c >/dev/null 2>conftest.out" ++ echo configure:3036: gcc -E conftest.c >/dev/null 2>conftest.out ++ grep -v ^ *+ conftest.out ++ grep -v ^conftest.c$ + ac_err= + test -z + rm -rf conftest.c conftest.out + ac_x_includes= + rm -f conftest* + test NO = NO + test -z + x_direct_test_library=Xt + test -z + x_direct_test_function=XtMalloc + ac_save_LIBS= + LIBS=-lXt + cat + eval echo configure:3112: "${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5" ++ echo configure:3112: gcc -o conftest -O2 -Wall -s conftest.c -lXt 1>&5 + test -s conftest + rm -rf conftest conftest.c + LIBS= + ac_x_libraries= + rm -f conftest* + rm -fr conftestdir + mkdir conftestdir + cd conftestdir + cat + cd .. + rm -fr conftestdir + test = NO + test -z + echo configure: error: Can't find X includes. Please check your installation and add the correct paths! configure: error: Can't find X includes. Please check your installation and add the correct paths! + exit 1