ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Портирование sim-0.9.3-alt2 на ALM 2.2
@ 2004-04-10 12:57 Andrey Brindeew
  2004-04-10 16:04 ` Sergey Vlasov
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Brindeew @ 2004-04-10 12:57 UTC (permalink / raw)
  To: Sisyphus

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

Hi!

Никто не делал бэкпорт свежего sim'а в ALT Linux Master 2.2?
У меня валится в ./configure на проверке Qt. Как выяснилось из
config.log, он не может скомпилировать тестовую программу:

configure:20222: rm -rf SunWS_cache; g++ -o conftest -O2 -pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fno-exceptions -fno-check-new -I/usr/lib/qt3/include -I/usr/X11R6/include  -DPIC -fPIC -DQT_THREAD_SUPPORT  -D_REENTRANT -L/home/abr/tmp/sim-buildroot//usr/lib -lpthread -L/usr/lib/qt3/lib -L/usr/X11R6/lib   -DPIC -fPIC conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
/home/abr/tmp/ccPEc7rc.o: In function `main':
/home/abr/tmp/ccPEc7rc.o(.text+0x18): undefined reference to `QString::null'
/home/abr/tmp/ccPEc7rc.o(.text+0x1e): undefined reference to `QStyleFactory::create(QString const &)'
collect2: ld returned 1 exit status
configure:20225: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 200)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    return 0;
}
configure:20265: error: Qt (>= Qt 2.0.2) (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!

Всё, что требуется ему по BuildReqs, установлено, в том числе и libqt3:

$ rpm -qa|grep libqt
libqt3-devel-3.1.1-alt3.1
libqt3-3.1.1-alt3.1

Что в консерватории подправить?

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

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

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

* Re: [sisyphus] Портирование sim-0.9.3-alt2 на ALM 2.2
  2004-04-10 12:57 [sisyphus] Портирование sim-0.9.3-alt2 на ALM 2.2 Andrey Brindeew
@ 2004-04-10 16:04 ` Sergey Vlasov
  2004-04-11  6:57   ` Andrey Brindeew
  0 siblings, 1 reply; 4+ messages in thread
From: Sergey Vlasov @ 2004-04-10 16:04 UTC (permalink / raw)
  To: Sisyphus

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

On Sat, Apr 10, 2004 at 04:57:38PM +0400, Andrey Brindeew wrote:
> configure:20222: rm -rf SunWS_cache; g++ -o conftest -O2 -pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fno-exceptions -fno-check-new -I/usr/lib/qt3/include -I/usr/X11R6/include  -DPIC -fPIC -DQT_THREAD_SUPPORT  -D_REENTRANT -L/home/abr/tmp/sim-buildroot//usr/lib -lpthread -L/usr/lib/qt3/lib -L/usr/X11R6/lib   -DPIC -fPIC conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
> /home/abr/tmp/ccPEc7rc.o: In function `main':
> /home/abr/tmp/ccPEc7rc.o(.text+0x18): undefined reference to `QString::null'
> /home/abr/tmp/ccPEc7rc.o(.text+0x1e): undefined reference to `QStyleFactory::create(QString const &)'
> collect2: ld returned 1 exit status

Как правило, подобные ошибки возникают, когда используется не та
версия gcc, которой собиралась Qt.

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

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

* Re: [sisyphus] Портирование sim-0.9.3-alt2 на ALM 2.2
  2004-04-10 16:04 ` Sergey Vlasov
@ 2004-04-11  6:57   ` Andrey Brindeew
  2004-04-12  9:04     ` Sergey V Turchin
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Brindeew @ 2004-04-11  6:57 UTC (permalink / raw)
  To: Sisyphus

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

On Sat, Apr 10, 2004 at 08:04:39PM +0400, Sergey Vlasov wrote:
> > configure:20222: rm -rf SunWS_cache; g++ -o conftest -O2 -pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fno-exceptions -fno-check-new -I/usr/lib/qt3/include -I/usr/X11R6/include  -DPIC -fPIC -DQT_THREAD_SUPPORT  -D_REENTRANT -L/home/abr/tmp/sim-buildroot//usr/lib -lpthread -L/usr/lib/qt3/lib -L/usr/X11R6/lib   -DPIC -fPIC conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
> > /home/abr/tmp/ccPEc7rc.o: In function `main':
> > /home/abr/tmp/ccPEc7rc.o(.text+0x18): undefined reference to `QString::null'
> > /home/abr/tmp/ccPEc7rc.o(.text+0x1e): undefined reference to `QStyleFactory::create(QString const &)'
> > collect2: ld returned 1 exit status
> 
> Как правило, подобные ошибки возникают, когда используется не та
> версия gcc, которой собиралась Qt.

Действительно, дело было в том, что я собирал g++ версии 3.2, а libqt3 в
Master собрана g++ 2.96

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

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

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

* Re: [sisyphus] Портирование sim-0.9.3-alt2 на ALM 2.2
  2004-04-11  6:57   ` Andrey Brindeew
@ 2004-04-12  9:04     ` Sergey V Turchin
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey V Turchin @ 2004-04-12  9:04 UTC (permalink / raw)
  To: Sisyphus

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

В сообщении от 11 Апрель 2004 10:57 Andrey Brindeew написал(a):

<skip/>

> Действительно, дело было в том, что я собирал g++ версии 3.2, а
> libqt3 в Master собрана g++ 2.96
Наоборот

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08

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

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

end of thread, other threads:[~2004-04-12  9:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-10 12:57 [sisyphus] Портирование sim-0.9.3-alt2 на ALM 2.2 Andrey Brindeew
2004-04-10 16:04 ` Sergey Vlasov
2004-04-11  6:57   ` Andrey Brindeew
2004-04-12  9:04     ` Sergey V Turchin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git