User Tools

Site Tools


huibintemaspamfaq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
huibintemaspamfaq [2018/10/31 00:45] huibintemahuibintemaspamfaq [2019/01/10 10:36] – [SPAM frequently asked questions] huibintema
Line 2: Line 2:
 ===== SPAM frequently asked questions ===== ===== SPAM frequently asked questions =====
  
-This ever-expanding section is based on user feedback. For questions on installing SPAM, see [[huibintemaspaminstall|this page]]. If you encounter a problem not listed below, please feel free to [[intema@strw.leidenuniv.nl|contact me]].+This ever-expanding section is based on user feedback. For questions on installing SPAM, see [[huibintemaspaminstall|this page]]. If you encounter a problem not listed below, please feel free to [[huib.intema@curtin.edu.au|contact me]]. 
 + 
 +----- 
 + 
 +==== Obit is missing ==== 
 + 
 +Q: Why is Obit reported to be missing during the ParselTongue install? 
 + 
 +A: The ParselTongue configuration command may give you the following error message: 
 +<code bash> 
 +checking for Obit... missing 
 +configure: error: Obit is not available 
 +</code> 
 +This is likely to be caused by a missing python package or system library, not because Obit is missing (the script looks for Obit.so in the ${SPAM_PATH}/Obit/python/ directory. To find what is causing the problem, please do the following: 
 +In bash: 
 +<code bash> 
 +. <spam_install_path>/setup.sh 
 +export PYTHONPATH=${SPAM_PATH}/Obit/python:${PYTHONPATH} 
 +export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SPAM_PATH}/lib 
 +</code> 
 +Or in (t)csh: 
 +<code bash> 
 +source <spam_install_path>/setup.csh 
 +setenv PYTHONPATH ${SPAM_PATH}/Obit/python:${PYTHONPATH} 
 +setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${SPAM_PATH}/lib 
 +</code> 
 +Then 
 +<code bash> 
 +${PYTHON} 
 +</code> 
 +And in python: 
 +<code python> 
 +import OSystem, OErr 
 +</code> 
 +Something will fail here, probably a missing python package or a missing library. Some of the missing libraries can be found [[ftp://ftp.strw.leidenuniv.nl/pub/intema/spam/lib/|here]]. Another possible command that may reveal missing libraries is through the following shell command: 
 +<code bash> 
 +ldd ${SPAM_PATH}/Obit/python/Obit.so 
 +</code> 
 +This will report all libraries that are needed by Obit. If one is missing, the line will contain the text "=> not found".
  
 ----- -----
Line 138: Line 176:
  
 ----- -----
 +
 +Feedback: [[huib.intema@curtin.edu.au|Click here]]
  
huibintemaspamfaq.txt · Last modified: 2021/02/03 14:26 by huibintema

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki