CONTRIB page

 

External package

Python, openssl, pyOpenSSL and MySQL-python

with the script dirac-external (located in $CVSROOT/DIRAC3/scripts), you can prepare the tar ball that will be used to install the DIRAC3 environment.

- pyOpenSSL depends on openssl and python
- MySQL-python depends on python

Recipe to install pyOpenSSL for python 2.4.4
- go to a temporary directory, checkout the python package and compile it
    - cd /tmp/dirac-tmp
    - cvs co DIRAC3/external/Python-2.4.4
    - cd DIRAC3/external/Python-2.4.4
    - ./dirac-make
-  go to a temporary directory, checkout the openSSl and pyOpenSSL packages, and compile it
    - cd /tmp/dirac-tmp
    - cvs co DIRAC3/external/openssl-0.9.7m
    - cvs co DIRAC3/contrib/pyOpenSSL
    - cd DIRAC3/contrib/pyOpenSSL
     - ./dirac-make

Recipe to install pyOpenSSL for python 2.5
- go to a temporary directory, checkout the python package and compile it
    - cd /tmp/dirac-tmp
    - cvs co DIRAC3/external/Python-2.5
    - cd DIRAC3/external/Python-2.5
    - ./dirac-make
-  go to a temporary directory, checkout the openSSl and pyOpenSSL packages, and compile it
    - cd /tmp/dirac-tmp
    - cvs co DIRAC3/external/openssl-0.9.7m
    - cvs co DIRAC3/contrib/pyOpenSSL
    - cd DIRAC3/contrib/pyOpenSSL
     - ./dirac-make

Recipe to install MySQL-python for python 2.4.4
- go to a temporary directory, checkout the python package and compile it
- cd /tmp/dirac-tmp
- cvs co DIRAC3/external/Python-2.4.4
- cd DIRAC3/external/Python-2.4.4
- ./dirac-make
- go to a temporary directory, checkout the MySQL-python package, and compile it
- cd /tmp/dirac-tmp
- cvs co DIRAC3/external/MySQL-python
- cd DIRAC3/external/MySQL-python
- ./dirac-make

Recipe to install MySQL-python for python 2.5
- go to a temporary directory, checkout the python package and compile it
- cd /tmp/dirac-tmp
- cvs co DIRAC3/external/Python-2.5
- cd DIRAC3/external/Python-2.5
- ./dirac-make
- go to a temporary directory, checkout the MySQL-python package, and compile it
- cd /tmp/dirac-tmp
- cvs co DIRAC3/external/MySQL-python
- cd DIRAC3/external/MySQL-python
- ./dirac-make