Configure issue

Celine Tourlet celine.tourlet at c-s.fr
Fri Jan 4 17:09:11 GMT 2002


Hi,

I'm trying to use Kdevelop 2.0.2 (RH 7.2 + KDE 2.2.2) and I have a
configure problem with both KDE and Qt projects (not with gnome nor
terminal C++ projects).

I did as much investigation as I could but I haven't found the solution
so far.

Note that autoconf & automake work fine.

I does not seem to be related to Qt directory like many posts I read on
forums so what  ? ...

Attached is the config.log
(OK, I should only copy/paste the interesting part but I have a f...
problem with my mail reader right now : it will not let me paste
anything copied from another app :-((((()


Celine



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20020104/db0b7e8b/attachment.html>
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:619: checking host system type
configure:640: checking target system type
configure:658: checking build system type
configure:698: checking for a BSD compatible install
configure:755: checking for -p flag to install
configure:778: checking whether build environment is sane
configure:835: checking whether make sets ${MAKE}
configure:881: checking for working aclocal
configure:894: checking for working autoconf
configure:907: checking for working automake
configure:920: checking for working autoheader
configure:933: checking for working makeinfo
configure:1014: checking for gcc
configure:1127: checking whether the C compiler (gcc      ) works
configure:1143: gcc -o conftest        conftest.c  1>&5
configure:1169: checking whether the C compiler (gcc      ) is a cross-compiler
configure:1174: checking whether we are using GNU C
configure:1202: checking whether gcc accepts -g
configure:1267: checking for c++
configure:1299: checking whether the C++ compiler (c++   -O0 -g3 -Wall       ) works
configure:1320: rm -rf SunWS_cache; c++ -o conftest   -O0 -g3 -Wall         conftest.C  1>&5
configure:1346: checking whether the C++ compiler (c++   -O0 -g3 -Wall       ) is a cross-compiler
configure:1351: checking whether we are using GNU C++
configure:1379: checking whether c++ accepts -g
configure:1428: gcc -c -O2    conftest.c 1>&5
configure:1445: gcc -c -O2    conftest.c 1>&5
configure:1612: checking whether c++ supports -fno-exceptions
configure:1641: checking whether c++ supports -fno-check-new
configure:1670: checking whether c++ supports -fexceptions
configure:1754: checking how to run the C++ preprocessor
configure:1840: checking whether c++ supports -frepo
configure:2034: checking for ld used by GCC
configure:2102: checking if the linker (/usr/bin/ld) is GNU ld
configure:2119: checking for /usr/bin/ld option to reload object files
configure:2131: checking for BSD-compatible nm
configure:2169: checking whether ln -s works
configure:2190: checking how to recognise dependant libraries
configure:2511: checking for ranlib
configure:2578: checking for strip
configure:2750: checking for Cygwin environment
configure:2783: checking for mingw32 environment
ltconfig:678:checking for gcc option to produce PIC
ltconfig:687:checking that gcc PIC flag  -fPIC -DPIC works.
ltconfig:749: checking if gcc static flag -static works
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:884: gcc -c -O2   -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: gcc -c -O2    conftest.c 1>&5
ltconfig:1427: 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:1479: gcc -o conftest -O2   -fno-builtin -fno-rtti -fno-exceptions      conftest.c conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
c++ -E conftest.cc
ltconfig:678:checking for c++ option to produce PIC
ltconfig:687:checking that c++ PIC flag -fPIC -DPIC works.
ltconfig:697: c++ -c -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC  conftest.cc 1>&5
ltconfig:749: checking if c++ static flag -static works
ltconfig:758: c++ -o conftest -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new      -static conftest.cc  1>&5
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if c++ supports -fno-rtti -fno-exceptions
ltconfig:884: c++ -c -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc  conftest.cc 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: c++ -c -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new  conftest.cc 1>&5
ltconfig:1427: 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:1479: c++ -o conftest -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions      conftest.cc conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
configure:2930: checking for object suffix
configure:2936: gcc -c -O2    conftest.c 1>&5
configure:2956: checking for executable suffix
configure:2966: gcc -o conftest -O2        conftest.c  1>&5
configure:3017: checking for msgfmt
configure:3051: checking for gmsgfmt
configure:3096: checking for xgettext
configure:3141: checking how to run the C preprocessor
configure:3162: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3229: checking for main in -lutil
configure:3244: gcc -o conftest -O2        conftest.c -lutil   1>&5
configure:3265: checking for main in -lcompat
configure:3280: gcc -o conftest -O2        conftest.c -lcompat   1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3273 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3302: checking for crypt in -lcrypt
configure:3321: gcc -o conftest -O2        conftest.c -lcrypt   1>&5
configure:3396: checking for socklen_t
configure:3426: c++ -c -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new  conftest.C 1>&5
configure:3493: checking for dnet_ntoa in -ldnet
configure:3512: gcc -o conftest -O2        conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3501 "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:3534: checking for dnet_ntoa in -ldnet_stub
configure:3553: gcc -o conftest -O2        conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3542 "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:3575: checking for inet_ntoa
configure:3603: gcc -o conftest -O2        conftest.c  1>&5
configure:3665: checking for connect
configure:3693: gcc -o conftest -O2        conftest.c  1>&5
configure:3756: checking for remove
configure:3784: gcc -o conftest -O2        conftest.c  1>&5
configure:3848: checking for shmat
configure:3876: gcc -o conftest -O2        conftest.c  1>&5
configure:3940: checking for res_init
configure:3968: gcc -o conftest -O2        conftest.c  1>&5
/tmp/ccGeMHST.o: In function `main':
/tmp/ccGeMHST.o(.text+0x7): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3945 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_init(); below.  */
#include <assert.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 res_init();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_init) || defined (__stub___res_init)
choke me
#else
res_init();
#endif

; return 0; }
configure:4003: gcc -o conftest -O2        conftest.c   -lresolv 1>&5
configure:4028: checking for killpg in -lucb
configure:4047: gcc -o conftest -O2        conftest.c -lucb   1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 4036 "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 killpg();

int main() {
killpg()
; return 0; }
configure:4116: checking size of int
configure:4135: gcc -o conftest -O2        conftest.c  1>&5
configure:4154: checking size of long
configure:4173: gcc -o conftest -O2        conftest.c  1>&5
configure:4192: checking size of char *
configure:4211: gcc -o conftest -O2        conftest.c  1>&5
configure:4230: checking size of char
configure:4249: gcc -o conftest -O2        conftest.c  1>&5
configure:4270: checking for dlopen in -ldl
configure:4314: checking for shl_unload in -ldld
configure:4333: gcc -o conftest -O2        conftest.c -ldld   1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 4322 "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 shl_unload();

int main() {
shl_unload()
; return 0; }
configure:4362: checking for extra includes
configure:4393: checking for extra libs
configure:4427: checking for libz
configure:4453: gcc -o conftest -O2           conftest.c    -lz  -lresolv 1>&5
configure:4446:17: zlib.h: No such file or directory
configure: failed program was:
#line 4444 "configure"
#include "confdefs.h"

#include<zlib.h>

int main() {
return (zlibVersion() == ZLIB_VERSION); 
; return 0; }


More information about the KDevelop mailing list