* [Comm] Не собирается KDE-проект
@ 2003-02-06 12:54 Прокопьев Евгений
2003-02-07 10:45 ` Viktor S. Grishchenko
0 siblings, 1 reply; 4+ messages in thread
From: Прокопьев Евгений @ 2003-02-06 12:54 UTC (permalink / raw)
To: Community
Здравствуйте!
Генерируется средствами KDevelop самый простой проект KDE 2 Mini. Его
./configure заканчивается плохо:
[john@john ktest]$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
...
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.
Но qt точно есть.
[john@john ktest]$ rpm -qa | grep qt
libqt2-devel-2.3.1-alt10
qtcups-2.1-ipl6mdk
libqt3-devel-3.0.3-alt2
libqt2-2.3.1-alt10
qt2-designer-2.3.1-alt10
qt2-doc-2.3.1-alt10
qt-devel-1.45-alt1
libqt3-3.0.3-alt2
libqtcups-2.1-ipl6mdk
qt-1.45-alt1
qt-qgl-1.45-alt1
В чем может быть дело?
--
С уважением, Прокопьев Евгений
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Не собирается KDE-проект
2003-02-06 12:54 [Comm] Не собирается KDE-проект Прокопьев Евгений
@ 2003-02-07 10:45 ` Viktor S. Grishchenko
2003-02-07 12:13 ` Прокопьев Евгений
0 siblings, 1 reply; 4+ messages in thread
From: Viktor S. Grishchenko @ 2003-02-07 10:45 UTC (permalink / raw)
To: community
В сообщении от 6 Февраль 2003 17:54 Прокопьев Евгений написал:
> 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.
>
> Но qt точно есть.
> В чем может быть дело?
Первый рецепт: выставить QTDIR аж в ~/.bash_profile
export QTDIR=/usr/lib/qt3
И перелогиниться.
Для вынесения диагноза, однако, необходим config.log, особенно последние его
строки.
--
Виктор С. Грищенко
---
Помнить надлежит: богиня Кэнро отвергает тех, кто нарушает
замыслы и последнюю волю отцов своих, достигших силы и славы
праведными путями!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Не собирается KDE-проект
2003-02-07 10:45 ` Viktor S. Grishchenko
@ 2003-02-07 12:13 ` Прокопьев Евгений
2003-02-07 13:55 ` [Comm] Не собираетсяKDE-проект Viktor S. Grishchenko
0 siblings, 1 reply; 4+ messages in thread
From: Прокопьев Евгений @ 2003-02-07 12:13 UTC (permalink / raw)
To: community
Viktor S. Grishchenko пишет:
> Первый рецепт: выставить QTDIR аж в ~/.bash_profile
> export QTDIR=/usr/lib/qt3
> И перелогиниться.
не помогло
> Для вынесения диагноза, однако, необходим config.log, особенно последние его
> строки.
Вот вам весь:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:633: checking host system type
configure:654: checking target system type
configure:672: checking build system type
configure:731: checking for a BSD compatible install
configure:788: checking for -p flag to install
configure:811: checking whether build environment is sane
configure:849: checking whether make sets ${MAKE}
configure:895: checking for working aclocal
configure:908: checking for working autoconf
configure:921: checking for working automake
configure:934: checking for working autoheader
configure:947: checking for working makeinfo
configure:1079: checking for gcc
configure:1192: checking whether the C compiler (gcc ) works
configure:1208: gcc -o conftest conftest.c 1>&5
configure:1234: checking whether the C compiler (gcc ) is a cross-compiler
configure:1239: checking whether we are using GNU C
configure:1267: checking whether gcc accepts -g
configure:1300: checking how to run the C preprocessor
configure:1413: checking for c++
configure:1445: checking whether the C++ compiler (c++ ) works
configure:1466: rm -rf SunWS_cache; c++ -o conftest conftest.C 1>&5
configure:1492: checking whether the C++ compiler (c++ ) is a
cross-compiler
configure:1497: checking whether we are using GNU C++
configure:1525: checking whether c++ accepts -g
configure:1579: gcc -c -O2 conftest.c 1>&5
configure:1596: gcc -c -O2 conftest.c 1>&5
configure:2070: checking whether c++ supports -fno-exceptions
configure:2128: checking whether c++ supports -fno-check-new
configure:2186: checking whether c++ supports -fexceptions
configure:2703: checking how to run the C++ preprocessor
configure:2806: checking whether c++ supports -frepo
configure:3058: checking for ld used by GCC
configure:3126: checking if the linker (/usr/bin/ld) is GNU ld
configure:3143: checking for /usr/bin/ld option to reload object files
configure:3155: checking for BSD-compatible nm
configure:3193: checking whether ln -s works
configure:3214: checking how to recognise dependant libraries
configure:3535: checking for ranlib
configure:3602: checking for strip
configure:3774: checking for Cygwin environment
configure:3807: 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:3954: checking for object suffix
configure:3960: gcc -c -O2 conftest.c 1>&5
configure:3980: checking for executable suffix
configure:3990: gcc -o conftest -O2 conftest.c 1>&5
configure:4036: checking for msgfmt
configure:4070: checking for gmsgfmt
configure:4115: checking for xgettext
configure:4230: checking for main in -lutil
configure:4245: gcc -o conftest -O2 conftest.c -lutil 1>&5
configure:4266: checking for main in -lcompat
configure:4281: 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 4274 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
configure:4303: checking for crypt in -lcrypt
configure:4322: gcc -o conftest -O2 conftest.c -lcrypt 1>&5
configure:4397: checking for socklen_t
configure:4427: c++ -c -O2 -fno-exceptions -fno-check-new conftest.C 1>&5
configure:4494: checking for dnet_ntoa in -ldnet
configure:4513: 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 4502 "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:4535: checking for dnet_ntoa in -ldnet_stub
configure:4554: 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 4543 "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:4576: checking for inet_ntoa
configure:4604: gcc -o conftest -O2 conftest.c 1>&5
configure:4666: checking for connect
configure:4694: gcc -o conftest -O2 conftest.c 1>&5
configure:4757: checking for remove
configure:4785: gcc -o conftest -O2 conftest.c 1>&5
configure:4849: checking for shmat
configure:4877: gcc -o conftest -O2 conftest.c 1>&5
configure:4941: checking for res_init
configure:4969: gcc -o conftest -O2 conftest.c 1>&5
/home/john/tmp/cctwGMKD.o: In function `main':
/home/john/tmp/cctwGMKD.o(.text+0x6): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4946 "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:5004: gcc -o conftest -O2 conftest.c -lresolv 1>&5
configure:5029: checking for killpg in -lucb
configure:5048: 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 5037 "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:5117: checking size of int
configure:5136: gcc -o conftest -O2 conftest.c 1>&5
configure:5155: checking size of long
configure:5174: gcc -o conftest -O2 conftest.c 1>&5
configure:5193: checking size of char *
configure:5212: gcc -o conftest -O2 conftest.c 1>&5
configure:5231: checking size of char
configure:5250: gcc -o conftest -O2 conftest.c 1>&5
configure:5271: checking for dlopen in -ldl
configure:5315: checking for shl_unload in -ldld
configure:5334: 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 5323 "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:5363: checking for extra includes
configure:5394: checking for extra libs
configure:5428: checking for libz
configure:5454: gcc -o conftest -O2 conftest.c -lz -lresolv 1>&5
configure:5507: checking for X
configure:5546: gcc -E conftest.c >/dev/null 2>conftest.out
configure:5622: 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 5615 "configure"
#include "confdefs.h"
int main() {
XtMalloc()
; return 0; }
configure:5796: checking for IceConnectionNumber in -lICE
configure:5815: gcc -o conftest -O2 -L/usr/X11R6/lib conftest.c
-lICE -lresolv 1>&5
configure:5844: checking for libXext
configure:5870: gcc -o conftest -O2 -L/usr/X11R6/lib conftest.c
-lXext -lX11 -lresolv 1>&5
configure:5897: checking for Xinerama
configure:6009: checking for pthread_create in -lpthread
configure:6028: gcc -o conftest -O2 conftest.c -lpthread 1>&5
configure:6304: checking for libpng
configure:6338: gcc -o conftest -O2 -I/usr/X11R6/include
-D_REENTRANT conftest.c -L/usr/X11R6/lib -lpng -lz -lm -lX11
-lresolv 1>&5
configure:6370: checking for libjpeg6b
configure:6408: 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 6387 "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:6431: checking for libjpeg
configure:6469: gcc -o conftest -O2 -I/usr/X11R6/include
-D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg -lm 1>&5
configure: 6509: /usr/include/jpeglib.h
taking that
configure:6672: checking for Qt
configure: 6736: /usr/lib/qt2/include/qstyle.h
taking that
tried NO
configure:6848: 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 -lpng -lz -lm
-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 <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#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;
}
--
С уважением, Прокопьев Евгений
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Не собираетсяKDE-проект
2003-02-07 12:13 ` Прокопьев Евгений
@ 2003-02-07 13:55 ` Viktor S. Grishchenko
0 siblings, 0 replies; 4+ messages in thread
From: Viktor S. Grishchenko @ 2003-02-07 13:55 UTC (permalink / raw)
To: community
В сообщении от 7 Февраль 2003 17:13 Прокопьев Евгений написал:
> /usr/lib/qt2/lib/libqt.so: undefined reference to `XftDrawRect'
а) такой файлик лучше архивировать
б) попробуйте установить libXft-devel, причем apt-get'ом
в) читайте вывод-то. стройте догадки. пробуйте, потом спрашивайте
--
Виктор С. Грищенко
---
- Пусть будет так. Дайте ему вспороть живот с миром и затем
возьмите голову, - сказал Ёситоки и, бросив поводья, стал
смотреть.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-07 13:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 12:54 [Comm] Не собирается KDE-проект Прокопьев Евгений
2003-02-07 10:45 ` Viktor S. Grishchenko
2003-02-07 12:13 ` Прокопьев Евгений
2003-02-07 13:55 ` [Comm] Не собираетсяKDE-проект Viktor S. Grishchenko
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git