|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Dmitry Rud 2:465/46.40 09 Apr 2000 00:19:32 To : All Subject : KDevelop & FreeBSD 3.3-R -------------------------------------------------------------------------------- Возникла проблема при попытке сборки KDevelop под FreeBSD 3.3-R. Вернее, до самой сборки дело даже не доходит, процесс обламывается на этапе configure. Вот что получается (ошибки отквочены): ===> Configuring for kdevelop-1.1 loading cache ./config.cache checking for extra includes... added checking for extra libs... added checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel 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 for a C-Compiler... cc checking whether the C compiler (cc -O -pipe ) works... yes checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking how to run the C preprocessor... (cached) cc -E checking for a C++-Compiler... c++ checking whether the C++ compiler (c++ -O -pipe -s) works... yes checking whether the C++ compiler (c++ -O -pipe -s) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ supports -fexceptions... (cached) no checking whether c++ supports -frtti... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking host system type... i386--freebsd3.3 checking build system type... i386--freebsd3.3 checking for ld used by GCC... (cached) /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes checking for /usr/libexec/elf/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking for ranlib... (cached) ranlib checking for strip... (cached) strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for objdir... .libs checking for c++ option to produce PIC... (cached) -fPIC checking if c++ PIC flag -fPIC works... (cached) yes checking if c++ static flag -static works... (cached) yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.lo... yes checking if c++ supports -fno-rtti -fno-exceptions ... no checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... freebsd3.3 ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) no creating libtool updating cache ./config.cache loading cache ./config.cache checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for bool... yes checking for libz... -lz checking for dlopen in -ldl... (cached) no checking for shl_unload in -ldld... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for libpng... -lpng -lz -lm checking for main in -lcompat... yes checking for crypt in -lcrypt... yes checking for the third argument of getsockname... int 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 bool... (cached) yes checking for Qt... ===> Script "configure" failed: here are the contents of "config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:583: checking for extra includes configure:614: checking for extra libs configure:682: checking for a BSD compatible install configure:735: checking whether build environment is sane configure:792: checking whether make sets ${MAKE} configure:838: checking for working aclocal configure:851: checking for working autoconf configure:864: checking for working automake configure:877: checking for working autoheader configure:890: checking for working makeinfo configure:944: checking for a C-Compiler configure:1056: checking whether the C compiler (cc -O -pipe ) works configure:1072: cc -o conftest -O -pipe conftest.c 1>&5 configure:1098: checking whether the C compiler (cc -O -pipe ) is a cross-compiler configure:1103: checking whether we are using GNU C configure:1180: checking how to run the C preprocessor configure:1242: checking for a C++-Compiler configure:1364: checking whether the C++ compiler (c++ -O -pipe -s) works configure:1380: c++ -o conftest -O -pipe -s conftest.C 1>&5 configure:1406: checking whether the C++ compiler (c++ -O -pipe -s) is a cross-compiler configure:1411: checking whether we are using GNU C++ configure:1643: checking whether c++ supports -fexceptions configure:1677: checking whether c++ supports -frtti configure:1715: checking how to run the C++ preprocessor configure:1906: checking for Cygwin environment configure:1939: checking for mingw32 environment configure:1997: checking host system type configure:2018: checking build system type configure:2047: checking for ld used by GCC configure:2115: checking if the linker (/usr/libexec/elf/ld) is GNU ld configure:2132: checking for /usr/libexec/elf/ld option to reload object files configure:2144: checking for BSD-compatible nm configure:2180: checking whether ln -s works configure:2201: checking how to recognise dependant libraries configure:2311: checking for object suffix configure:2337: checking for executable suffix configure:2563: checking for ranlib configure:2630: checking for strip ltconfig:556:checking for c++ option to produce PIC ltconfig:686:checking that c++ PIC flag -fPIC works. ltconfig:747: checking if c++ static flag -static works ltconfig:792: checking if c++ supports -c -o file.o ltconfig:793: c++ -c -O -pipe -frtti -o out/conftest2.o conftest.c 1>&5 ltconfig:825: checking if c++ supports -c -o file.lo ltconfig:826: c++ -c -O -pipe -frtti -c -o conftest.lo conftest.c 1>&5 ltconfig:877: checking if c++ supports -fno-rtti -fno-exceptions ltconfig:878: c++ -c -O -pipe -frtti -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 cc1plus: Invalid option `-fno-exceptions' cc1plus: Invalid option `-fno-exceptions' ltconfig:1860: checking if global_symbol_pipe works ltconfig:1861: c++ -c -O -pipe -frtti conftest.c 1>&5 ltconfig:1864: 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:1916: c++ -o conftest -O -pipe -frtti -fno-builtin -s conftest.c conftstm.o 1>&5 ltconfig:2262: checking for dlfcn.h ltconfig:2300: checking whether a program can dlopen itself configure:2907: checking for flex configure:2940: checking for flex configure:2974: checking for yywrap in -lfl configure:2993: cc -o conftest -O -pipe -s conftest.c -lfl 1>&5 configure:3016: checking lex output file root configure:3037: checking whether yytext is a pointer configure:3056: cc -o conftest -O -pipe -s conftest.c -lfl 1>&5 configure:3104: checking whether NLS is requested configure:3125: checking for msgfmt configure:3159: checking for gmsgfmt configure:3204: checking for xgettext configure:3251: checking for bool configure:3271: c++ -c -O -pipe -frtti conftest.C 1>&5 configure:3323: checking for libz configure:3349: cc -o conftest -O -pipe -s conftest.c -lz 1>&5 configure:3379: checking for dlopen in -ldl configure:3423: checking for shl_unload in -ldld configure:3442: cc -o conftest -O -pipe -s conftest.c -ldld 1>&5 > /usr/libexec/elf/ld: cannot open -ldld: No such file or directory configure: failed program was: #line 3431 "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:3471: checking for X configure:3510: cc -E conftest.c >/dev/null 2>conftest.out configure:3586: cc -o conftest -O -pipe -s conftest.c -lXt 1>&5 > /usr/libexec/elf/ld: cannot open -lXt: No such file or directory configure: failed program was: #line 3579 "configure" #include "confdefs.h" int main() { XtMalloc() ; return 0; } configure:3747: checking for IceConnectionNumber in -lICE configure:3766: cc -o conftest -O -pipe -s -L/usr/X11R6/lib conftest.c -lICE 1>&5 configure:3795: checking for libXext configure:3818: cc -o conftest -O -pipe -L/usr/X11R6/lib -L/usr/local/lib conftest.c -lXext -lX11 1>&5 configure:3849: checking for libpng configure:3879: cc -o conftest -O -pipe -I/usr/X11R6/include -I/usr/local/include -s conftest.c -L/usr/X11R6/lib -L/usr/local/lib -lpng -lz -lm -lX11 1>&5 configure:3917: checking for main in -lcompat configure:3932: cc -o conftest -O -pipe -s conftest.c -lcompat 1>&5 configure:3954: checking for crypt in -lcrypt configure:3973: cc -o conftest -O -pipe -s conftest.c -lcrypt 1>&5 configure:4047: checking for the third argument of getsockname configure:4073: c++ -c -O -pipe -frtti conftest.C 1>&5 configure: In function `int main()': > configure:4067: `socklen_t' undeclared (first use this function) configure:4067: (Each undeclared identifier is reported only once configure:4067: for each function it appears in.) configure:4067: parse error before `=' configure:4068: `a' undeclared (first use this function) configure: failed program was: #line 4060 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { socklen_t a=0; getsockname(0,(struct sockaddr*)0, &a); ; return 0; } configure:4102: c++ -c -Werror -O -pipe -frtti conftest.C 1>&5 configure:4144: checking for dnet_ntoa in -ldnet configure:4163: cc -o conftest -O -pipe -s conftest.c -ldnet 1>&5 > /usr/libexec/elf/ld: cannot open -ldnet: No such file or directory configure: failed program was: #line 4152 "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:4185: checking for dnet_ntoa in -ldnet_stub configure:4204: cc -o conftest -O -pipe -s conftest.c -ldnet_stub 1>&5 > /usr/libexec/elf/ld: cannot open -ldnet_stub: No such file or directory configure: failed program was: #line 4193 "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:4226: checking for inet_ntoa configure:4254: cc -o conftest -O -pipe -s conftest.c 1>&5 configure:4316: checking for connect configure:4344: cc -o conftest -O -pipe -s conftest.c 1>&5 configure:4407: checking for remove configure:4435: cc -o conftest -O -pipe -s conftest.c 1>&5 configure:4499: checking for shmat configure:4527: cc -o conftest -O -pipe -s conftest.c 1>&5 configure:4593: checking for killpg in -lucb configure:4612: cc -o conftest -O -pipe -s conftest.c -lucb 1>&5 > /usr/libexec/elf/ld: cannot open -lucb: No such file or directory configure: failed program was: #line 4601 "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:4683: checking for bool configure:4735: checking for Qt tried /usr/lib/qt/lib configure:4869: c++ -o conftest -O -pipe -frtti -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.C -lqt -lXext -lX11 1>&5 In file included from /usr/X11R6/include/X11/qt/qarray.h:28, from /usr/X11R6/include/X11/qt/qstring.h:29, from /usr/X11R6/include/X11/qt/qobject.h:29, from /usr/X11R6/include/X11/qt/qwidget.h:29, from /usr/X11R6/include/X11/qt/qapplication.h:28, from conftest.C:3: > /usr/X11R6/include/X11/qt/qgarray.h:87: failed to build type descriptor node > of 'QGArray', maybe typeinfo.h not included configure: failed program was: #include "confdefs.h" #include <qglobal.h> #include <qapplication.h> #include <qapp.h> #include <qobjcoll.h> #if ! (QT_VERSION >= 142 && QT_VERSION < 200) #error 1 #endif int main() { return 0; } (end of "config.log") *** Error code 1 Stop. ======================================= Особенно меня удивило то, что линкер не может найти библиотеку libXt, в то время как она добросовестно присутствует в /usr/X11R6/lib, и её коллеги из того же каталога находятся без проблем. И ещё какие-то библиотеки dld, dnet, dnet_stub и ucb не найдены. Они вообще откуда берутся? У меня таких отродясь не было... :-\ Hу а потом вообще беспредел начался - жалобы на кривизну заголовочных файлов и тому подобные ругательства. И вот, промучавшись так весь вечер и не получив хоть сколько-нибудь удовлетворительного результата, я позволю себе обратиться к обитающим здесь специалистам с просьбой помочь мне разобраться в данной ситуации. Установлены: qt-1.42, kdelibs-1.1.1 - всё из Packages FreeBSD 3.3-R. Разумеется, всё, что нужно этим пакетам, тоже установлено, и тоже из стандартной поставки 3.3. Весь KDE ставить не хочется. В kdelibs-1.1.1 есть файл libkdeui.so.2, а make потребовала libkdeui.so.3 - я сделал симлинк. -- С уважением, Дмитрий Рудь AKA rnd. mailto: rnd@rnd.donetsk.ua --- ifmail v.2.14.os-p7 * Origin: Powered by FreeBSD (2:465/46.40@fidonet) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/14700963534c0.html, оценка из 5, голосов 10
|