From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3E51C46B.7040409@rmts.donpac.ru> Date: Tue, 18 Feb 2003 08:28:11 +0300 From: =?KOI8-R?Q?=F0=D2=CF=CB=CF=D0=D8=C5=D7_=E5=D7=C7=C5=CE=C9=CA?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.2.1) Gecko/20021123 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: community@altlinux.ru Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-MDRemoteIP: 195.161.172.85 X-Return-Path: john@rmts.donpac.ru X-MDaemon-Deliver-To: community@altlinux.ru Subject: [Comm] =?KOI8-R?Q?=F3=C2=CF=D2=CB=C1_qt2-=D0=D2=CF=C5=CB=D4=C1_=D7_?= =?KOI8-R?Q?KDevelop?= Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru X-Reply-To: john@rmts.donpac.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: Здравствуйте! Дистрибутив ALM2 + security updates Некоторое время назад qt2-проекты собирались как с помощью pro-файлов, так и в KDevelop средствами automake/autoconf. Что случилось затем - неизвестно, подозрение на установку qt3 (из коробки), однако qt2-проекты собираться перестали. Была предпринята попытка исправить ситуацию: qt3 был удален, _все_ devel-пакеты переустановлены (средствами apt), но симптомы не изменились. Они таковы: 1) *.pro Makefile, создаваемый из pro, приходится править руками, а именно к строке LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm приходится дописывать -lXft -lSM -lICE -lXrender. Это достает, но проект собирается. 2) KDevelop Простой SDI QT2-проект, который я создаю в KDevelop, не собирается на стадии ./configure с сообщением: loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /bin/install -c checking for -p flag to install... yes 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 gcc... (cached) 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... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) cpp checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking whether c++ supports -fno-exceptions... (cached) yes checking whether c++ supports -fno-check-new... (cached) yes checking whether c++ supports -fexceptions... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking whether c++ supports -frepo... (cached) yes checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for /usr/bin/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 ranlib... (cached) ranlib checking for strip... (cached) strip checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... (cached) yes checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes finding the maximum length of command line arguments... (cached) 73729 checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/bin/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... GNU/Linux 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... no checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no creating libtool loading cache ./config.cache loading cache ./config.cache within ltconfig checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes checking for objdir... .libs checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes finding the maximum length of command line arguments... (cached) 73729 checking if c++ supports -c -o file.o... (cached) yes checking if c++ supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/bin/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... GNU/Linux 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... no checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no appending configuration tag "CXX" to libtool checking for object suffix... o checking for executable suffix... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... 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 res_init... no checking for killpg in -lucb... no checking size of int... 4 checking size of long... 4 checking size of char *... 4 checking size of char... 1 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for Xinerama... no checking for pthread_create in -lpthread... yes checking for libpng... no checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qt) not found. Please check your installation! For more details about this problem, look at the end of config.log. Содержимое config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:625: checking host system type configure:646: checking target system type configure:664: checking build system type configure:704: checking for a BSD compatible install configure:761: checking for -p flag to install configure:784: checking whether build environment is sane configure:841: checking whether make sets ${MAKE} configure:887: checking for working aclocal configure:900: checking for working autoconf configure:913: checking for working automake configure:926: checking for working autoheader configure:939: checking for working makeinfo configure:1046: checking for gcc configure:1159: checking whether the C compiler (gcc ) works configure:1175: gcc -o conftest conftest.c 1>&5 configure:1201: checking whether the C compiler (gcc ) is a cross-compiler configure:1206: checking whether we are using GNU C configure:1234: checking whether gcc accepts -g configure:1267: checking how to run the C preprocessor configure:1380: checking for c++ configure:1412: checking whether the C++ compiler (c++ ) works configure:1433: rm -rf SunWS_cache; c++ -o conftest conftest.C 1>&5 configure:1459: checking whether the C++ compiler (c++ ) is a cross-compiler configure:1464: checking whether we are using GNU C++ configure:1492: checking whether c++ accepts -g configure:1546: gcc -c -O2 conftest.c 1>&5 configure:1563: gcc -c -O2 conftest.c 1>&5 configure:2037: checking whether c++ supports -fno-exceptions configure:2095: checking whether c++ supports -fno-check-new configure:2153: checking whether c++ supports -fexceptions configure:2670: checking how to run the C++ preprocessor configure:2773: checking whether c++ supports -frepo configure:3027: checking for ld used by GCC configure:3095: checking if the linker (/usr/bin/ld) is GNU ld configure:3112: checking for /usr/bin/ld option to reload object files configure:3124: checking for BSD-compatible nm configure:3162: checking whether ln -s works configure:3183: checking how to recognise dependant libraries configure:3504: checking for ranlib configure:3571: checking for strip configure:3743: checking for Cygwin environment configure:3776: 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 -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 -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 -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 -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 -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:3923: checking for object suffix configure:3929: gcc -c -O2 conftest.c 1>&5 configure:3949: checking for executable suffix configure:3959: gcc -o conftest -O2 conftest.c 1>&5 configure:4010: checking for msgfmt configure:4044: checking for gmsgfmt configure:4089: checking for xgettext configure:4204: checking for main in -lutil configure:4219: gcc -o conftest -O2 conftest.c -lutil 1>&5 configure:4240: checking for main in -lcompat configure:4255: 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 4248 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:4277: checking for crypt in -lcrypt configure:4296: gcc -o conftest -O2 conftest.c -lcrypt 1>&5 configure:4371: checking for socklen_t configure:4401: c++ -c -O2 -fno-exceptions -fno-check-new conftest.C 1>&5 configure:4468: checking for dnet_ntoa in -ldnet configure:4487: 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 4476 "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:4509: checking for dnet_ntoa in -ldnet_stub configure:4528: 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 4517 "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:4550: checking for inet_ntoa configure:4578: gcc -o conftest -O2 conftest.c 1>&5 configure:4640: checking for connect configure:4668: gcc -o conftest -O2 conftest.c 1>&5 configure:4731: checking for remove configure:4759: gcc -o conftest -O2 conftest.c 1>&5 configure:4823: checking for shmat configure:4851: gcc -o conftest -O2 conftest.c 1>&5 configure:4915: checking for res_init configure:4943: gcc -o conftest -O2 conftest.c 1>&5 /home/john/tmp/cc02CKCv.o: In function `main': /home/john/tmp/cc02CKCv.o(.text+0x6): undefined reference to `res_init' collect2: ld returned 1 exit status configure: failed program was: #line 4920 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_init(); below. */ #include /* 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:4978: gcc -o conftest -O2 conftest.c -lresolv 1>&5 configure:5003: checking for killpg in -lucb configure:5022: 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 5011 "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:5091: checking size of int configure:5110: gcc -o conftest -O2 conftest.c 1>&5 configure:5129: checking size of long configure:5148: gcc -o conftest -O2 conftest.c 1>&5 configure:5167: checking size of char * configure:5186: gcc -o conftest -O2 conftest.c 1>&5 configure:5205: checking size of char configure:5224: gcc -o conftest -O2 conftest.c 1>&5 configure:5245: checking for dlopen in -ldl configure:5289: checking for shl_unload in -ldld configure:5308: 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 5297 "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:5337: checking for extra includes configure:5368: checking for extra libs configure:5402: checking for libz configure:5428: gcc -o conftest -O2 conftest.c -lz -lresolv 1>&5 configure:5481: checking for X configure:5520: cpp conftest.c >/dev/null 2>conftest.out configure:5596: gcc -o conftest -O2 conftest.c -lXt 1>&5 /usr/bin/ld: cannot find -lXt collect2: ld returned 1 exit status configure: failed program was: #line 5589 "configure" #include "confdefs.h" int main() { XtMalloc() ; return 0; } configure:5770: checking for IceConnectionNumber in -lICE configure:5789: gcc -o conftest -O2 -L/usr/X11R6/lib conftest.c -lICE -lresolv 1>&5 configure:5818: checking for libXext configure:5844: gcc -o conftest -O2 -L/usr/X11R6/lib conftest.c -lXext -lX11 -lresolv 1>&5 configure:5871: checking for Xinerama configure:5983: checking for pthread_create in -lpthread configure:6002: gcc -o conftest -O2 conftest.c -lpthread 1>&5 configure:6278: checking for libpng configure:6312: gcc -o conftest -O2 -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -lpng -lz -lm -lX11 -lresolv 1>&5 configure:6301:20: png.h: No such file or directory configure: failed program was: #line 6299 "configure" #include "confdefs.h" #include int main() { png_structp png_ptr = png_create_read_struct( /* image ptr */ PNG_LIBPNG_VER_STRING, 0, 0, 0 ); return( png_ptr != 0 ); ; return 0; } configure:6344: checking for libjpeg6b configure:6382: gcc -o conftest -O2 -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg6b -lm 1>&5 /usr/bin/ld: cannot find -ljpeg6b collect2: ld returned 1 exit status configure: failed program was: #line 6361 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ struct jpeg_decompress_struct; typedef struct jpeg_decompress_struct * j_decompress_ptr; typedef int size_t; #ifdef __cplusplus extern "C" { #endif void jpeg_CreateDecompress(j_decompress_ptr cinfo, int version, size_t structsize); #ifdef __cplusplus } #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ int main() { jpeg_CreateDecompress(0L, 0, 0); ; return 0; } configure:6405: checking for libjpeg configure:6443: gcc -o conftest -O2 -I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg -lm 1>&5 configure: 6483: /usr/include/jpeglib.h taking that configure:6646: checking for Qt configure: 6710: /usr/lib/qt2/include/qstyle.h taking that tried NO configure:6822: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include -D_REENTRANT -L/usr/lib/qt2/lib -L/usr/X11R6/lib conftest.C -lqt -ljpeg -lXext -lX11 -lSM -lICE -lresolv 1>&5 /usr/bin/ld: warning: libXft.so.1, needed by /usr/lib/qt2/lib/libqt.so, not found (try using -rpath or -rpath-link) /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawRect' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawSetClip' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDefaultHasRender' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawDestroy' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawCreateBitmap' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftPatternGetInteger' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftTextExtents16' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftListFonts' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawString16' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftFontSetDestroy' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftPatternGetString' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftTextExtents32' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawCreate' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftGlyphExists' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftFontClose' /usr/lib/qt2/lib/libqt.so: undefined reference to `XftFontOpen' collect2: ld returned 1 exit status configure: failed program was: #include "confdefs.h" #include #include #include #include #include #include #if ! (QT_VERSION >= 222) #error 1 #endif int main() { QStringList *t = new QStringList(); Q_UNUSED(t); QIconView iv(0); iv.setWordWrapIconText(false); QString s; s.setLatin1("Elvis is alive", 14); return 0; } -- С уважением, Прокопьев Евгений