Compilando scribus 1.3.7 em debian lenny

De MochilaWiki
Ir para navegaçãoIr para pesquisar

debs

apt-get install libfreetype6-dev libcairo2-dev libfontconfig1-dev libcupsys2-dev \
liblcms1-dev libtiff4-dev libxml2-dev python-dev gs-gpl build-essential p7zip-full
mkdir /usr/src/scribus
export export SCB=/usr/src/scribus
cd $SCB
wget -c http://www.cmake.org/files/v2.8/cmake-2.8.2.tar.gz
tar zxvf cmake-2.8.2.tar.gz
cd cmake-2.8.2
./configure
make
install
cd $SCB
wget -c http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.0.tar.gz
tar zxvf qt-everywhere-opensource-src-4.6.0.tar.gz
cd qt-everywhere-opensource-src-4.6.0
./configure 
make
install
cd $SCB
wget -c http://ufpr.dl.sourceforge.net/project/scribus/scribus-devel/1.3.7/scribus-1.3.7.7z
7z x scribus-1.3.7.7z
cd scribus-1.3.7
export PATH=/usr/local/Trolltech/Qt-4.6.0/bin/:$PATH
cmake . 
make 
make install
cd resources/icons/
make install
cd $SCB/scribus-1.3.7/resources/translations/qm 
make install


obs: demorou duas horas para compilar o qt. o pacote qt-everywhere-opensource-src-4.6.0.tar.gz pesa 149M e após compilar o diretório qt-everywhere-opensource-src-4.6.0 ficou com 2,9G.