ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] компиляция программы
@ 2002-09-19 17:45 stas
  2002-09-19 18:05 ` aen
  0 siblings, 1 reply; 6+ messages in thread
From: stas @ 2002-09-19 17:45 UTC (permalink / raw)
  To: community

здравствуйте!
Хочу скомпилировать latex-редактор klat.
при configure выдается сообщение:
checking for Qt... configure: 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!

у меня junior2, со второго диска поставил
libqt3-devel-3.0.4-alt2.i586.rpm
kdelibs-devel-3.0.1-alt5.i586.rpm

У меня чего-то не хватает?
Когда пытаюсь запускать сonfigure со всякими опциями типа
./configure --with-qt-dir=/usr/lib/
тоже ничего не выходит.
Чего я не так делаю?

Стас


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] компиляция программы
  2002-09-19 17:45 [Comm] компиляция программы stas
@ 2002-09-19 18:05 ` aen
  2002-09-19 19:13   ` stas
  0 siblings, 1 reply; 6+ messages in thread
From: aen @ 2002-09-19 18:05 UTC (permalink / raw)
  To: community

stas wrote:

>здравствуйте!
>Хочу скомпилировать latex-редактор klat.
>при configure выдается сообщение:
>checking for Qt... configure: 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!
>
>у меня junior2, со второго диска поставил
>libqt3-devel-3.0.4-alt2.i586.rpm
>kdelibs-devel-3.0.1-alt5.i586.rpm
>
>У меня чего-то не хватает?
>Когда пытаюсь запускать сonfigure со всякими опциями типа
>./configure --with-qt-dir=/usr/lib/
>
--with-qt-dir=/usr/lib/qt3

Или установите QTDIR=/usr/lib/qt3

Rgrds, AEN




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] компиляция программы
  2002-09-19 18:05 ` aen
@ 2002-09-19 19:13   ` stas
  2002-09-19 19:36     ` Иван Евтухович
  0 siblings, 1 reply; 6+ messages in thread
From: stas @ 2002-09-19 19:13 UTC (permalink / raw)
  To: community

> >У меня чего-то не хватает?
> >Когда пытаюсь запускать сonfigure со всякими опциями типа
> >./configure --with-qt-dir=/usr/lib/
>
> --with-qt-dir=/usr/lib/qt3
>
> Или установите QTDIR=/usr/lib/qt3

Не, все то же самое.

Стас


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] компиляция программы
  2002-09-19 19:13   ` stas
@ 2002-09-19 19:36     ` Иван Евтухович
  2002-12-17 11:09       ` Шишков Евгений
  0 siblings, 1 reply; 6+ messages in thread
From: Иван Евтухович @ 2002-09-19 19:36 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

On Thu, 19 Sep 2002 23:13:17 +0400
stas <stasv@atnet.ru> wrote:

> > >У меня чего-то не хватает?
> > >Когда пытаюсь запускать сonfigure со всякими опциями типа
> > >./configure --with-qt-dir=/usr/lib/
> >
> > --with-qt-dir=/usr/lib/qt3
> >
> > Или установите QTDIR=/usr/lib/qt3
> 
> Не, все то же самое.
Глянь config.log, он в том же каталоге, откуда ты запускаешь ./configure,
найди в нем сообщение об ошибке и пришли сюда, тогда, быть может, тебе
помогут. Правда, у меня тот же трабл был, так я плюнул на это, и больше
приложения под qt3 не компилю, потому что с gtk таких проблем никогда не
возникало.


--
С наилучшими пожеланиями, Иван Евтухович
mailto: evtuhovich@mail.ru
ICQ UIN: 52227602
JID: evtuhovich@jabber.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] компиляция программы
  2002-09-19 19:36     ` Иван Евтухович
@ 2002-12-17 11:09       ` Шишков Евгений
  2002-12-17 11:40         ` Someone Unknown
  0 siblings, 1 reply; 6+ messages in thread
From: Шишков Евгений @ 2002-12-17 11:09 UTC (permalink / raw)
  To: community

Однажды 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!



Что делать???

Евгений.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] компиляция программы
  2002-12-17 11:09       ` Шишков Евгений
@ 2002-12-17 11:40         ` Someone Unknown
  0 siblings, 0 replies; 6+ messages in thread
From: Someone Unknown @ 2002-12-17 11:40 UTC (permalink / raw)
  To: community

> Хочу вернуться к данному обсуждению, т.к. сам попал в такую ситуацию.
>
> Вот что выдаёт 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!
>
>
>
> Что делать???

Попробовать скомпилять с использованием gcc3.2

>
> Евгений.
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-17 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-19 17:45 [Comm] компиляция программы stas
2002-09-19 18:05 ` aen
2002-09-19 19:13   ` stas
2002-09-19 19:36     ` Иван Евтухович
2002-12-17 11:09       ` Шишков Евгений
2002-12-17 11:40         ` Someone Unknown

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