dmwm / cmssh

Interactive shell for CMS experiment
http://cms.cern.ch/
7 stars 2 forks source link

Update for osx 10.9 #54

Open demattia opened 10 years ago

demattia commented 10 years ago

Dear Valentin,

the script to install cmssh does not cover the newest Mac os version 10.9. There are so far no CMSSW releases compiled for this version, but the 10.8 might be compatible with it. It would be enough to change the line if osx_ver() == '10.8': to if osx_ver() == '10.8' or osx_ver() == '10.9': in the cmssh_install.py script.

After this, I manage to install and start cmssh, though I still get an error which ends with: ---> 21 from matplotlib.backends import _macosx 22 23

ImportError: dlopen(/Users/demattia/CMSSH/soft/install/lib/python2.7/site-packages/matplotlib/backends/_macosx.so, 2): Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /Users/demattia/CMSSH/soft/CMSSW/osx108_amd64_gcc470/cms/coral/CORAL_2_3_21-cms4/external/osx108_amd64_gcc470/lib/libsqlite3.dylib in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData /Users/demattia/CMSSH/soft/install/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability. _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)

Do you know what might be wrong and how I could fix it?

Many thanks for any help,

Marco

vkuznet commented 10 years ago

Hi Marco,

the script to install cmssh does not cover the newest Mac os version 10.9. There are so far no CMSSW releases compiled for this version, but the 10.8 might be compatible with it. It would be enough to change the line if osx_ver() == '10.8': to if osx_ver() == '10.8' or osx_ver() == '10.9': in the cmssh_install.py script.

it may be the case, but I only now upgraded to recent OSX version, so it will take me some time to test everything on it. It's better to wait for new CMSSW architecture though, since I know that 10.9 OSX machine will be available soon for the builds.

After this, I manage to install and start cmssh, though I still get an error which ends with: ---> 21 from matplotlib.backends import _macosx 22 23

ImportError: dlopen(/Users/demattia/CMSSH/soft/install/lib/python2.7/site-packages/matplotlib/backends/macosx.so, 2): Symbol not found: _sqlite3intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /Users/demattia/CMSSH/soft/CMSSW/osx108_amd64_gcc470/cms/coral/CORAL_2_3_21-cms4/external/osx108_amd64_gcc470/lib/libsqlite3.dylib in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData /Users/demattia/CMSSH/soft/install/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability. warn("Not using mpzpowm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)

Do you know what might be wrong and how I could fix it?

it seems to me that SQLite3 library which came from CORAL area does not contain all symbols required for new OS. You may try to rebuild SQLite3 by yourself and (re)place dylib in given path. But this approach may lead to other problems.

Valentin.