ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] компиляция программ на qt4
@ 2007-06-08 11:44 Шенцев Алексей Владимирович
  2007-06-08 11:54 ` Motsyo Gennadi aka Drool
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Шенцев Алексей Владимирович @ 2007-06-08 11:44 UTC (permalink / raw)
  To: ALT Linux Community

Привет всем!

Имеем:

-(ashen@oasu3)-(~/work/pascal/qt4pas-1.35)-> set | grep QT
QTDIR=/usr/lib/qt4/
QTINC=/usr/lib/qt4/include/
QTLIB=/usr/lib/qt4/lib/

-(ashen@oasu3)-(~/work/pascal/qt4pas-1.35)-> ls /usr/lib/qt4/lib | grep 
libQtCore && ls /usr/lib/qt4/lib | grep libQtGu
libQtCore.so
libQtCore.so.4
libQtCore.so.4.3
libQtCore.so.4.3.0
libQtGui.so
libQtGui.so.4
libQtGui.so.4.3
libQtGui.so.4.3.0

-(ashen@oasu3)-(~/work/pascal/qt4pas-1.35)-> cat compile_lib.bash
#!/bin/sh
export QT4=$QTDIR
export QT4I=$QTINC
export LD_LIBRARY_PATH=$QTLIB
if [ -e "$LD_LIBRARY_PATH/libQtCore.so.4" ]
then
g++ -D LINUX -I. -I$QT4I -I$QT4I/Qt -I$QT4I/QtGui -I$QT4I/QtCore qtpas.cpp -o 
libqt4intf.so -shared -fPIC libQtCore.so.4 
libQtGui.so.4 -Xlinker "-soname=libqt4intf.so"
strip --strip-all libqt4intf.so
else
echo "Please Modify location of Qt4 in this script"
fi


Получаю:
-(ashen@oasu3)-(~/work/pascal/qt4pas-1.35)-> ./compile_lib.bash
i586-alt-linux-g++: libQtCore.so.4: Нет такого файла или каталога
i586-alt-linux-g++: libQtGui.so.4: Нет такого файла или каталога
strip: 'libqt4intf.so': No such file

Что не так делаю?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

end of thread, other threads:[~2007-06-09  7:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-08 11:44 [Comm] компиляция программ на qt4 Шенцев Алексей Владимирович
2007-06-08 11:54 ` Motsyo Gennadi aka Drool
2007-06-08 12:24   ` Шенцев Алексей Владимирович
2007-06-08 15:17 ` Andrey Rahmatullin
2007-06-08 15:25   ` Шенцев Алексей Владимирович
2007-06-09  6:22 ` Yuriy Shirokov
2007-06-09  7: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