From: Motsyo Gennadi aka Drool <motsyo@gmail.com> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] компиляция программ на qt4 Date: Fri, 08 Jun 2007 14:54:51 +0300 Message-ID: <4669438B.3070207@gmail.com> (raw) In-Reply-To: <200706081544.23584.ashen@nsrz.ru> Шенцев Алексей Владимирович пишет: > Привет всем! > > Имеем: > > -(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 А чему равна $QTDIR? Если это спек - может попробовать %_qt4dir ? > 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 > > Что не так делаю?
next prev parent reply other threads:[~2007-06-08 11:54 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-08 11:44 Шенцев Алексей Владимирович 2007-06-08 11:54 ` Motsyo Gennadi aka Drool [this message] 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 ` Шенцев Алексей Владимирович
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=4669438B.3070207@gmail.com \ --to=motsyo@gmail.com \ --cc=community@lists.altlinux.org \ /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