$ tar zxf sip-4.1.1.tar.gz
$ cd sip-4.1.1
$ python configure.py -l qt &&make
# make install <-- please do it as root
# Step 2 : Install package QScintilla
$ tar zxf qscintilla-1.61-gpl-1.4.tar.gz
$ cd qscintilla-1.61-gpl-1.4
$ cd qt
$ qmake qscintilla.pro &&make
# cp qextscintilla*.h $QTDIR/include <-- please do it as root
# cp qscintilla*.qm $QTDIR/translations <-- please do it as root
# /sbin/ldconfig <-- please do it as root
# Step 3 : Install package PyQt
$ tar zxf PyQt-x11-gpl-3.13.tar.gz
$ cd PyQt-x11-gpl-3.13
$ python configure.py && make
# make install <-- please do it as root
# Step 4 : Install package Eric3
$ tar zxf eric-3.5.0.tar.gz
$ cd eric-3.5.0
# python install.py <-- please do it as root
[/code:1]
# Purpose:Download all dependent packages and install eric3(a python ide) on Magic Linux 1.
2 Beta4.
# Author : VimChina -- A Magic Linux Fan. ^_^
export ROOTDIR=$(pwd)
function down(){
# URL to download these packages.
url_sip='http://www.river-bank.demon.co.uk/download/sip/sip-4.1.1.tar.gz'
url_qscintilla='http://www.river-bank.demon.co.uk/download/QScintilla/qscintilla-1.61-gpl-1.4.tar.gz'
url_pyqt='http://www.river-bank.demon.co.uk/download/PyQt/PyQt-x11-gpl-3.13.tar.gz'
url_eric='http://jaist.dl.sourceforge.net/sourceforge/eric-ide/eric-3.5.0.tar.gz'
# For package eric3 ,you can choose a mirror from this webpage:
# http://prdownloads.sourceforge.net/eric-ide/eric-3.5.0.tar.gz?download
# Download these packages.
for URL in $url_sip $url_qscintilla $url_pyqt $url_eric
do
PKG=$(basename $URL)
if [ -f $PKG ]
then
echo -e "\tPackage $PKG ... \t found"
else
echo "Package $PKG seem not exist,download it now."
echo "Please wait ..."
sleep 1
proz -r -k=4 $URL
fi
done
}
function PkgInstall(){
# Extracting all packages.
echo -e "\n\tScript is extracting all packages now.\n\tPlease wait ...\n"
tar zxf sip-4.1.1.tar.gz
tar zxf qscintilla-1.61-gpl-1.4.tar.gz
tar zxf PyQt-x11-gpl-3.13.tar.gz
tar zxf eric-3.5.0.tar.gz