From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4669438B.3070207@gmail.com> Date: Fri, 08 Jun 2007 14:54:51 +0300 From: Motsyo Gennadi aka Drool User-Agent: Thunderbird 1.5.0.8 (X11/20070219) MIME-Version: 1.0 To: ALT Linux Community References: <200706081544.23584.ashen@nsrz.ru> In-Reply-To: <200706081544.23584.ashen@nsrz.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?koi8-r?b?y8/N0MnM0cPJ0SDQ0s/H0sHNzSDOwSBxdDQ=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 11:55:05 -0000 Archived-At: List-Archive: List-Post: Шенцев Алексей Владимирович пишет: > Привет всем! > > Имеем: > > -(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 > > Что не так делаю?