Firefox sync
installer le serveur sync de firefox sur sme 7
http://docs.services.mozilla.com/howtos/run-sync.html
http://docs.services.mozilla.com/server-devguide/setup.html
http://pypi.python.org/pypi/Mercurial/1.2.1
Sommaire
prerequis
yum install mysql-devel openldap-devel yum install bzip2 bzip2-devel bzip2-libs readline readline-devel tkinter gdbm-devel tk-devel sqlite-devel db4-devel openssl-devel bluez-libs-devel
(va aussi installer tcl tk et tix)
http://bda.ath.cx/blog/2009/04/08/installing-python-26-in-centos-5-or-rhel5/
Mercurial repo
wget http://pkgs.repoforge.org/mercurial/mercurial-hgk-1.2.1-1.el4.rf.i386.rpm wget http://pkgs.repoforge.org/mercurial/mercurial-1.2.1-1.el4.rf.i386.rpm yum localinstall mercurial-hgk-1.2.1-1.el4.rf.i386.rpm mercurial-1.2.1-1.el4.rf.i386.rpm
python
télécharger python 2.6.8,
tar -xzf cd ./configure make make install
lors de la compilation il y aura un message a la fin indiquanr qu'il ne peut compiler les modules pour bsddb185 et sunaudiodev, mais ils ne seront pas utilise sous SME.
path python
https://wiki.archlinux.org/index.php/Mozilla_Sync_Server#Python_preparation
cd /usr/bin cp -a python python23 rm python -f ln -sf /usr/local/bin/python python
Installer les plugins de python requis
curl -O http://python-distribute.org/distribute_setup.py python distribute_setup.py easy_install MoPyTools cd /usr/local/lib/python2.6/site-packages/ wget http://www.selenic.com/mercurial/release/mercurial-1.2.1.tar.gz tar -xzf mercurial-1.2.1.tar.gz easy_install mercurial-1.2.1
compiler sync
hg clone https://hg.mozilla.org/services/server-full cd server-full make build
pour le moment j'ai un
abort: couldn't find mercurial libraries in [/usr/bin /usr/local/lib/python2.6/site-packages/distribute-0.6.27-py2.6.egg /usr/local/lib/python2.6/site-packages/MoPyTools-3.2-py2.6.egg /usr/local/lib/python2.6/site-packages/pypi2rpm-0.6.3-py2.6.egg /usr/local/lib/python2.6/site-packages/virtualenv-1.7.2-py2.6.egg /usr/local/lib/python2.6/site-packages/Distutils2-1.0a3-py2.6.egg /usr/local/lib/python2.6/site-packages/flake8-1.3.1-py2.6.egg /usr/local/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg /usr/local/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg /usr/local/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg /usr/local/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg /usr/local/lib/python26.zip /usr/local/lib/python2.6 /usr/local/lib/python2.6/plat-linux2 /usr/local/lib/python2.6/lib-tk /usr/local/lib/python2.6/lib-old /usr/local/lib/python2.6/lib-dynload /usr/local/lib/python2.6/site-packages /usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info]
(check your install and PYTHONPATH)
restaurer python
http://www.wenks.ch/fabian/mozilla-custom-sync-server/
cd /usr/bin rm -f /usr/bin/python cp -a /usr/bin/python23 /usr/bin/python rm -f /usr/bin/python23
ou temporairement
cd /usr/bin rm -f /usr/local/bin/python23 ln -sf /usr/bin/python23 /usr/bin/python