Installation of CVS version of ERP5 on Mandrake Linux by Relja Stanisavljevic and Bartłomiej Górny ===================================================== Most of the required packages you can find on: http://smets.com/static/Mandrake/10.2/SRPMS/ Some of them are located in 10.1 and 10.0 directories. For other packages either google or use the links given at the end of this document. ----------------------------------------------------- Follow these steps to install and run the CVS version of ERP5. 1) Install the following: - python (2.3.5 and 2.4.1 are ok) - psyco-1.4-src.tar.gz - ReportLab 1.10 - python-reportlab-accel-0.52.20050424-1mdk.src.rpm - itools-0.7.4-1mdk.src.rpm - Imaging-1.1.5.tar.gz (from effbot.org) - MySQL-Max - Numeric-24.0b2.tar.gz (Python add-on) - PyXML-0.8.4.tar.gz (probably some more things that we already had...) 2) Get Zope - download zope-2.7.2rc1-1nxd.i586.rpm - extract zope source and Zope-2.7.2-rc1-aq_dynamic.patch - apply patch (patch -p1 < ../Zope-2.7.2-rc1-aq_dynamic.patch) - build zope, make zope instance - install iHotfix-0.5.2 (download iHotfix-0.5.2-2mdk.src.rpm, extract the source, apply patch, copy __init__.py and version.txt to INSTANCE_HOME/Products/iHotfix) 3) Install required Zope Products Get the following files, extract source from each of them, apply patches where any are present, then copy the result to your INSTANCE_HOME/Products directory, stripping version numbers from directory names). BTreeFolder2-1.0.1.tar.gz CMF-1.4.8.tar.gz CMFMailIn-1.0.0-2nxd.src.rpm CMFPhoto-1.2.3-5mdk.src.rpm CMFReportTool-0.1.1.20050422-1mdk.src.rpm Formulator-1.9.0.tgz (apply Formulator-1.8.0-Editable.patch) Localizer-1.1.0-3mdk.src.rpm Photo-1.2.3-5mdk.src.rpm TranslationService-0.4-1mdk.src.rpm ZMailIn-1.0.1-2mdk.src.rpm ZMySQLDA-2.0.9b2-5mdk.src.rpm 4) Tweak setup Copy: INSTANCE_HOME/Products/ERP5/Extensions/InventoryBrain.py INSTANCE_HOME/Products/ZSQLCatalog/zsqlbrain.py to INSTANCE_HOME/Extensions 5) Get the following from CVS: CMFActivity CMFCategory CMFTranslation ERP5 ERP5Catalog ERP5Form ERP5SyncML ERP5Type ZSQLCatalog erp5_bt5 Place it all in your INSTANCE_HOME/Products 6) INSTANCE_HOME/bin/.runzope 7) Create an erp5 site Add ERP5 Site from ZMI It takes a long time, so be patient; if you check processes with 'top' and see nothing going on, don't panic - this is normal. Keep waiting - it will show up eventually. ===================================================== Links to some of the required packages (found by Relja): ----------------------------------------------------- http://www.python.org/ftp/python/2.3.5/Python-2.3.5.tar.bz2 http://www.zope.org/Products/Zope/2.7.6/Zope-2.7.6-final.tgz http://prdownloads.sourceforge.net/psyco/psyco-1.4-src.tar.gz?download http://effbot.org/downloads/Imaging-1.1.5.tar.gz http://prdownloads.sourceforge.net/mysql-python/MySQL-python-0.9.2.tar.gz?download http://prdownloads.sourceforge.net/numpy/Numeric-23.8.tar.gz?download http://prdownloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz?download http://www.zope.org/Products/CMF/CMF-1.4.8/CMF-1.4.8.tar.gz http://nexedi.org/static/Mandrake/SOURCES/CMFPhoto-1.2.3.tar.bz2 http://www.zope.org/Members/NIP/ZMailIn/1.0.1/ZMailIn-1-0-1.tgz http://hathawaymix.org/Software/BTreeFolder2/BTreeFolder2-1.0.1.tar.gz http://www.zope.org/Members/nuxeo/Products/NuxUserGroups/NuxUserGroups-0.9.3-1/NuxUserGroups-0.9.3-1.tgz http://www.zope.org/Members/shh/ExtFile/1.4.4/ExtFile-1.4.4.tar.gz http://www.zope.org/Members/teyc/ZGDChart/ZGDChart-0.6.5 http://www.zope.org/Members/shh/ZopeTestCase/0.9.8/ZopeTestCase-0.9.8.tar.gz http://www.zope.org/Members/efge/TranslationService/0.4/TranslationService-0.4.tgz http://cvs.zope.org/CMF/CMFWiki/CMFWiki.tar.gz?tarball=1 http://www.infrae.com/download/Formulator/1.9.0/Formulator-1.9.0.tgz