Finally, here are my instructions to get the DBS 3 client working without installing rpms. The only dependencies are curl, pycurl and cjson. All of them are part of the CMSSW releases and can be used from there. If you start from scratch, you can simply do.
This is done by any user before using CRAB:
source /cvmfs/cms.cern.ch/cmsset_default.sh
cmsrel CMSSW_5_3_13_patch3
cd CMSSW_5_3_13_patch3/src/
cmsenv
source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh
This needs to be done only once. You can copy the directories to your CRAB distribution (for example CRAB_2_9_x/external/dbs3client):
as per instructions from Manuel
Finally, here are my instructions to get the DBS 3 client working without installing rpms. The only dependencies are curl, pycurl and cjson. All of them are part of the CMSSW releases and can be used from there. If you start from scratch, you can simply do.
This is done by any user before using CRAB:
source /cvmfs/cms.cern.ch/cmsset_default.sh cmsrel CMSSW_5_3_13_patch3 cd CMSSW_5_3_13_patch3/src/ cmsenv source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh
This needs to be done only once. You can copy the directories to your CRAB distribution (for example CRAB_2_9_x/external/dbs3client):
git init DBS3 cd DBS3/ git remote add upstream git://github.com/dmwm/DBS.git git config core.sparsecheckout true echo PycurlClient >> .git/info/sparse-checkout echo Client >> .git/info/sparse-checkout git pull origin master --tags git reset DBS_3_1_8 --hard
This needs to be part of the crab.sh script:
export PYTHONPATH=$PYTHONPATH:PycurlClient/src/python/:Client/src/python
This is just to show that it works as expected:
voms-proxy-init --voms cms python
In case you have any questions, please let me know.