ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Qt Script for Applications compiling
@ 2003-02-04  7:49 Прокопьев Евгений
  2003-02-04 23:21 ` Alexander Dymo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Прокопьев Евгений @ 2003-02-04  7:49 UTC (permalink / raw)
  To: community

Здравствуйте!

Пытаюсь скопилировать QSA, выкачанный с ftp.trolltech.com

[john@john qsa-x11-free-beta2]$ QTDIR=/usr/include/qt3 ./configure
Using Qt library in /usr/include/qt3.
Trying my best without a .qmake.cache file
Building 2nd stage configure
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: configure2.pro

Что такое QMAKESPEC в qt-проектах и что присутствующие могут посоветовать?

-- 
С уважением, Прокопьев Евгений



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

* Re: [Comm] Qt Script for Applications compiling
  2003-02-04  7:49 [Comm] Qt Script for Applications compiling Прокопьев Евгений
@ 2003-02-04 23:21 ` Alexander Dymo
  2003-02-05  5:32 ` Denis S. Filimonov
  2003-02-05  7:24 ` Прокопьев Евгений
  2 siblings, 0 replies; 6+ messages in thread
From: Alexander Dymo @ 2003-02-04 23:21 UTC (permalink / raw)
  To: community

> Что такое QMAKESPEC в qt-проектах и что присутствующие могут посоветовать?

QMake использует значение QMAKESPEC для выбора компилятора и опций
компиляции по умолчанию.

export QMAKESPEC=linux-g++

См. также $QTDIR/mkspecs



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

* Re: [Comm] Qt Script for Applications compiling
  2003-02-04  7:49 [Comm] Qt Script for Applications compiling Прокопьев Евгений
  2003-02-04 23:21 ` Alexander Dymo
@ 2003-02-05  5:32 ` Denis S. Filimonov
  2003-02-05  7:24 ` Прокопьев Евгений
  2 siblings, 0 replies; 6+ messages in thread
From: Denis S. Filimonov @ 2003-02-05  5:32 UTC (permalink / raw)
  To: community

4 Февраль 2003 13:49, Прокопьев Евгений написал:
> Здравствуйте!
>
> Пытаюсь скопилировать QSA, выкачанный с ftp.trolltech.com
>
> [john@john qsa-x11-free-beta2]$ QTDIR=/usr/include/qt3 ./configure
> Using Qt library in /usr/include/qt3.
> Trying my best without a .qmake.cache file
> Building 2nd stage configure
> QMAKESPEC has not been set, so configuration cannot be deduced.
> Error processing project file: configure2.pro
>
> Что такое QMAKESPEC в qt-проектах и что присутствующие могут
> посоветовать?
если qt от ALT, то QTDIR=/usr/lib/qt3


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

* Re: [Comm] Qt Script for Applications compiling
  2003-02-04  7:49 [Comm] Qt Script for Applications compiling Прокопьев Евгений
  2003-02-04 23:21 ` Alexander Dymo
  2003-02-05  5:32 ` Denis S. Filimonov
@ 2003-02-05  7:24 ` Прокопьев Евгений
  2003-02-05 12:58   ` Denis S. Filimonov
  2 siblings, 1 reply; 6+ messages in thread
From: Прокопьев Евгений @ 2003-02-05  7:24 UTC (permalink / raw)
  To: community

Дистрибутив Мастер+updates

Это для qt2:

$ QTDIR=/usr/lib/qt2 QMAKESPEC=linux-g++ ./configure
Using Qt library in /usr/lib/qt2.
Trying my best without a .qmake.cache file
Building 2nd stage configure
Could not find mkspecs for your QMAKESPEC after trying:
         /usr/lib/qt2
Error processing project file: configure2.pro

Это для qt3:

$ QTDIR=/usr/lib/qt3 ./configure
Using Qt library in /usr/lib/qt3.
Trying my best without a .qmake.cache file
Building 2nd stage configure
/usr/bin/ld: warning: libGL.so.1, needed by /usr/lib/qt3/lib/libqt.so, 
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXmu.so.6, needed by /usr/lib/qt3/lib/libqt.so, 
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libICE.so.6, needed by /usr/lib/qt3/lib/libqt.so, 
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libSM.so.6, needed by /usr/lib/qt3/lib/libqt.so, 
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXrender.so.1, needed by 
/usr/lib/qt3/lib/libqt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXft.so.1, needed by /usr/lib/qt3/lib/libqt.so, 
not found (try using -rpath or -rpath-link)
/usr/lib/qt3/lib/libqt.so: undefined reference to `glXQueryServerString'
...
/usr/lib/qt3/lib/libqt.so: undefined reference to `glXCreateGLXPixmap'
collect2: ld returned 1 exit status
make: *** [configure2] Ошибка 1

При этом find / -name libGL* говорит :

/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1.3.402
/usr/X11R6/lib/libGL.so.1.2
/usr/X11R6/lib/libGLU.so.1.3
/usr/X11R6/lib/modules/extensions/libGLcore.a
/usr/X11R6/lib/libGLwrapper.so.0.1.6
/usr/X11R6/lib/libGLU.so
/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGLw.a
/usr/share/doc/libGLwrapper-4.0.2

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

-- 
С уважением, Прокопьев Евгений



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

* Re: [Comm] Qt Script for Applications compiling
  2003-02-05  7:24 ` Прокопьев Евгений
@ 2003-02-05 12:58   ` Denis S. Filimonov
  2003-02-06  8:23     ` Прокопьев Евгений
  0 siblings, 1 reply; 6+ messages in thread
From: Denis S. Filimonov @ 2003-02-05 12:58 UTC (permalink / raw)
  To: community

5 Февраль 2003 13:24, Прокопьев Евгений написал:
> Дистрибутив Мастер+updates
>
> Это для qt2:
>
> $ QTDIR=/usr/lib/qt2 QMAKESPEC=linux-g++ ./configure
> Using Qt library in /usr/lib/qt2.
> Trying my best without a .qmake.cache file
> Building 2nd stage configure
> Could not find mkspecs for your QMAKESPEC after trying:
>          /usr/lib/qt2
> Error processing project file: configure2.pro
>
> Это для qt3:
>
> $ QTDIR=/usr/lib/qt3 ./configure
> Using Qt library in /usr/lib/qt3.
> Trying my best without a .qmake.cache file
> Building 2nd stage configure
> /usr/bin/ld: warning: libGL.so.1, needed by
> /usr/lib/qt3/lib/libqt.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libXmu.so.6, needed by
> /usr/lib/qt3/lib/libqt.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libICE.so.6, needed by
> /usr/lib/qt3/lib/libqt.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libSM.so.6, needed by
> /usr/lib/qt3/lib/libqt.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libXrender.so.1, needed by
> /usr/lib/qt3/lib/libqt.so, not found (try using -rpath or
> -rpath-link) /usr/bin/ld: warning: libXft.so.1, needed by
> /usr/lib/qt3/lib/libqt.so, not found (try using -rpath or
> -rpath-link)
> /usr/lib/qt3/lib/libqt.so: undefined reference to
> `glXQueryServerString' ...
> /usr/lib/qt3/lib/libqt.so: undefined reference to
> `glXCreateGLXPixmap' collect2: ld returned 1 exit status
> make: *** [configure2] Ошибка 1
>
> При этом find / -name libGL* говорит :
>
> /usr/X11R6/lib/libGL.so.1
> /usr/X11R6/lib/libGL.so.1.3.402
> /usr/X11R6/lib/libGL.so.1.2
> /usr/X11R6/lib/libGLU.so.1.3
> /usr/X11R6/lib/modules/extensions/libGLcore.a
> /usr/X11R6/lib/libGLwrapper.so.0.1.6
> /usr/X11R6/lib/libGLU.so
> /usr/X11R6/lib/libGLU.so.1
> /usr/X11R6/lib/libGL.so
> /usr/X11R6/lib/libGLw.a
> /usr/share/doc/libGLwrapper-4.0.2
>
> Что делать дальше?
похоже у вас отсутсвует путь /usr/X11R6/lib в /etc/ld.so.conf, 
что довольно странно.
надо его туда добавить и сделать ldconfig
после этого должно линковаться нормально



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

* Re: [Comm] Qt Script for Applications compiling
  2003-02-05 12:58   ` Denis S. Filimonov
@ 2003-02-06  8:23     ` Прокопьев Евгений
  0 siblings, 0 replies; 6+ messages in thread
From: Прокопьев Евгений @ 2003-02-06  8:23 UTC (permalink / raw)
  To: community

> похоже у вас отсутсвует путь /usr/X11R6/lib в /etc/ld.so.conf, 
> что довольно странно.
> надо его туда добавить и сделать ldconfig
> после этого должно линковаться нормально

$ cat /etc/ld.so.conf
/usr/lib/qt3/lib
/usr/X11R6/lib

-- 
С уважением, Прокопьев Евгений



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

end of thread, other threads:[~2003-02-06  8:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-04  7:49 [Comm] Qt Script for Applications compiling Прокопьев Евгений
2003-02-04 23:21 ` Alexander Dymo
2003-02-05  5:32 ` Denis S. Filimonov
2003-02-05  7:24 ` Прокопьев Евгений
2003-02-05 12:58   ` Denis S. Filimonov
2003-02-06  8:23     ` Прокопьев Евгений

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