Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > cfb52b416d6e5f2dd37b8b303b69c89c > files > 591

bibus-1.4.3-2.1mdv2008.1.x86_64.rpm

Creation date: 2004.05.27
Last revision: 2004.06.02

**************
** Database **
**************
You must install sqlite and/or MySQL database.

SQLite
******
You don't have to install anything. The needed DLL will be installed by the python extension.

MySQL
*****
MySQL <http://www.mysql.com/>
Follow the instructions

************
** Python **
************
To get the full power of Bibus, you need to install Python together with several extensions.
1) You must check that you OpenOffice.org system contains the python-uno bridge.
   If %OO% is the directory of OpenOffice.org (normally C:\Program Files\OpenOffice.org1.1.1),
   look for %OO%\program\python.bat.
2) If it is not there, install again OpenOffice.org1.1.1 and choose "custom install" and
   check that the python-uno bridge is indeed selected.
3) Install a python2.2 distribution.
   The python MUST BE the same (or a bug fix) that the one distributed with OpenOffice.org,
   normally 2.2.3
4) Install the following extensions in you Python2.2.3 distribution:
	a) wxPython with unicode support and python 2.2 <http://www.wxpython.org/download.php>
	     I used wxPythonWIN32-2.4.2.4u-Py22.exe
	b) MySQL-python <http://sourceforge.net/projects/mysql-python>.
             I used MySQL-python-0.9.2.win32-py2.2.exe
           or
           PySQLite <http://pysqlite.sourceforge.net/>.
             I used pysqlite-0.5.0.win32-py2.2.exe
5) Now you must tell your Python2.2 installation where the python-uno bridge is.
This may be different for each Windows version.
I'm not a Windows expert and I just have a W2000 and a W98 machine.
Here is how I did it on them.
You must set the environment variables
   PATH and PYTHONPATH to %OO%/program (normally "C:\Program Files\OpenOffice.org1.1.1\program").

W2000
-----
1) Open the configuration panel
2) Double click on system
3) Choose the last Tab (advanced settings)
4) Click on 'environment variables'
5) In the user list click on new and set
	PATH = C:\Program Files\OpenOffice.org1.1.1\program
	PYTHONPATH = C:\Program Files\OpenOffice.org1.1.1\program
6) Close everything
7) This could also been done for all the user by the Administrator in the system variables.
8) To start bibus, double click on bibus.pyw

W98
---
1) Open the C:\autoexec.bat file in NotePad
2) Add at the end the following lines:
	set OO=C:\PROGRA~1\OPENOF~1.1\PROGRAM
	set PATH=%PATH%;%OO%
	set PYTHONPATH=%OO%
   Eventually the first line must be adjusted for you OpenOffice.org installation.
   Use MSDOS file names.
   For instance 'C:\Program Files\OpenOffice.org1.1.1\program' does not work.
3) Restart you computer.
4) To start bibus, double click on bibus.pyw

**********
** ODBC **
**********
Download and follows the instructions from

For MySQL : http://dev.mysql.com/doc/mysql/en/ODBC.html
For SQLite : http://www.ch-werner.de/sqliteodbc/


Now read 'configuration.txt'