From: "Шишков Евгений" <evgen@cstula.ru>
To: community@altlinux.ru
Subject: Re: [Comm] компиляция программы
Date: Tue, 17 Dec 2002 14:09:06 +0300
Message-ID: <20021217140906.2798857b.evgen@cstula.ru> (raw)
In-Reply-To: <20020919233631.634f5ec8.evtuhovich@mail.ru>
Однажды Thu, 19 Sep 2002 23:36:31 +0400
Иван Евтухович <evtuhovich@mail.ru> писАл(а):
> > > >У меня чего-то не хватает?
> > > >Когда пытаюсь запускать сonfigure со всякими опциями типа
> > > >./configure --with-qt-dir=/usr/lib/
> > >
> > > --with-qt-dir=/usr/lib/qt3
> > >
> > > Или установите QTDIR=/usr/lib/qt3
> >
> > Не, все то же самое.
> Глянь config.log, он в том же каталоге, откуда ты запускаешь ./configure,
> найди в нем сообщение об ошибке и пришли сюда, тогда, быть может, тебе
> помогут. Правда, у меня тот же трабл был, так я плюнул на это, и больше
> приложения под qt3 не компилю, потому что с gtk таких проблем никогда не
> возникало.
Хочу вернуться к данному обсуждению, т.к. сам попал в такую ситуацию.
Вот что выдаёт configure
configure:21297: checking for Qt
configure: 21364: /usr/lib/qt3/include/qstyle.h
taking that
configure:21474: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/tmp/ccDUTyIB.o: In function `main':
/tmp/ccDUTyIB.o(.text+0x8): undefined reference to `QString::null'
/tmp/ccDUTyIB.o(.text+0xd): undefined reference to `QStyleFactory::create(QString const &)'
/tmp/ccDUTyIB.o(.text+0x1a): undefined reference to `QCursor::QCursor(int)'
/tmp/ccDUTyIB.o(.text+0x24): undefined reference to `QCursor::~QCursor(void)'
collect2: ld returned 1 exit status
configure:21477: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 303)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:21517: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
Что делать???
Евгений.
next prev parent reply other threads:[~2002-12-17 11:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-19 17:45 stas
2002-09-19 18:05 ` aen
2002-09-19 19:13 ` stas
2002-09-19 19:36 ` Иван Евтухович
2002-12-17 11:09 ` Шишков Евгений [this message]
2002-12-17 11:40 ` Someone Unknown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021217140906.2798857b.evgen@cstula.ru \
--to=evgen@cstula.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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