I can't speak to installing v2 from source code, but the precompiled
install is a breeze. I've installed and run on Tiger and Leopard,
both PowerPC and Intel versions. Just download, unpack (I've unpacked
into /Applications/ccpn), then in X11,
"cd /Applications/ccpnmr/"
and run
"python -v configRelease.py"
This should output a list of successful imports and other misc things.
If you are installing on multi-user computer, just keep an eye out
for problems with permissions. Then:
"cd bin/"
and
"./analysis"
to test to be sure you can run ok -- seems like it takes a while for
analysis to initialize the first time running, but it could just be
that I'm impatient.
Then put the bin in your path to call "analysis" from where ever you are.
For example:
"setenv CCPNMR_TOP_DIR /Applications/ccpnmr
setenv PATH ${CCPNMR_TOP_DIR}/bin:${PATH}"
Lisa
On Sun, Dec 14, 2008 at 8:12 PM, Ann K. <[log in to unmask]> wrote:
> Hi, I'm having some trouble installing analysis from source on my mac osx and have
> gotten the same kind of messages previously posted on this site, problem is, i don't quite
> understand what was going on in that thread.
>
> So my problem is:
> ------------------------------------------------
> "Run Analysis (as test) (y or n)? y
> Model read finished. Duration 2.39249682426
> Model validity check skipped
> Error, the Analysis module will not work, something is wrong with the C code.
> Traceback (most recent call last):
> File "/Users/ann/CCPNMR_TOP_DIR/ccpnmr2.0/python/ccpnmr/analysis/AnalysisGui.py",
> line 71, in <module>
> from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
> File
> "/Users/ann/CCPNMR_TOP_DIR/ccpnmr2.0/python/ccpnmr/analysis/AnalysisPopup.py",
> line 85, in <module>
> from ccpnmr.analysis.Analysis import Analysis
> File "/Users/ann/CCPNMR_TOP_DIR/ccpnmr2.0/python/ccpnmr/analysis/Analysis.py",
> line 85, in <module>
> from memops.c.MemCache import MemCache
> ImportError: No module named MemCache
>>>> "
> ----------------------------------------------
>
> I answered yes to all the questions without quite understanding what some questions
> were asking.
>
>
> from my understanding, I'm supposed to have a .so file in this directory?
> ------------------------------------------------
> anns-macbook:c/memops/global] ann% ls
> Makefile linalg.h py_ps_handler.h
> _licenseInfo.py line_fit.c py_shape_file.c
> block_file.c line_fit.h py_shape_file.h
> block_file.h list.c py_shape_file.o
> block_file.o list.h py_store_file.c
> color.c macros.h py_store_file.h
> color.h mem_cache.c py_store_handler.c
> consts.h mem_cache.h py_store_handler.h
> contourer.c mem_cache.o py_tk_handler.c
> contourer.h mutex.c py_tk_handler.h
> diag_dbl.c mutex.h py_tk_util.c
> diag_dbl.h mutex.o py_tk_util.h
> drawing_funcs.h nonlinear_model.c python_util.c
> eigenvalue.c nonlinear_model.h python_util.h
> eigenvalue.h pdf_handler.c python_util.o
> fit.c pdf_handler.h random.c
> fit.h point.h random.h
> gamma.c polyline.h shape_file.c
> gamma.h ps_handler.c shape_file.h
> gauss_jordan.c ps_handler.h shape_file.o
> gauss_jordan.h py_block_file.c sorts.c
> geometry.c py_block_file.h sorts.h
> geometry.h py_block_file.o store_consts.h
> gl_handler.c py_draw_handler.c store_file.c
> gl_handler.h py_draw_handler.h store_file.h
> hash_list.c py_fit.c store_handler.c
> hash_list.h py_fit.h store_handler.h
> hash_list.o py_gl_handler.c tk_handler.c
> hash_table.c py_gl_handler.h tk_handler.h
> hash_table.h py_mem_cache.c types.h
> hash_table.o py_mem_cache.h utility.c
> int_array.c py_mem_cache.o utility.h
> int_array.h py_pdf_handler.c utility.o
> int_array.o py_pdf_handler.h w32func.c
> linalg.c py_ps_handler.c w32func.h
> -------------------------------
>
>
> Would it be better to download the pre-compiled binary version? If so, what must I do to
> install/run the pre-compiled binary version?
>
> not quite sure what to do next.
> help!
>
--
Lisa R. Warner
Graduate Student
Department of Chemistry and Biochemistry
215 UCB
University of Colorado, Boulder
Boulder, CO 80309-0215
[log in to unmask]
303.492.8085
|