Hello,
Two possibilities there, either the C code was not compiled (successfully)
or the symbolic links in the python directories back to the C code did not
get made. If you look in /Applications/ccpnmr/ccpnmr1.0/c/memops/global
(for example) do you see any *.so files? If so, the C compilation has
(probably) worked. If not, it has not, so either it hasn't happened (for
some obscure reason) or something went wrong. The latter can happen, for
example, if some of the "standard" files are missing (or the compiler
itself!). So check if "cc" exists and check if /usr/X11R6/include/X11
actually has any *.h files in it (although I think the installation script
checks the latter, if I remember correctly).
If the C compilation is ok the next suspect is that the symbolic linking
has not worked. If so then cd into
/Applications/ccpnmr/ccpnmr1.0/python/memops/c and do either "source
linkSharedObjs" or (if that fails because your Mac doesn't like the
"source" command) then make sure linkSharedObjs is executable (using
chmod) and then just run it. Do the same in
/Applications/ccpnmr/ccpnmr1.0/python/ccp/c and
/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/c.
By the way, is your Mac 10.3.9 or 10.4? (The former sometimes has other
things missing as well.)
Wayne
On Thu, 9 Aug 2007, Henry Hocking wrote:
> Dear developers,
>
> I am trying to install analysis1.0.15 on OS X. I have X Darwin
> installed, Tcl/Tk, python 2.3.5, running under tcsh I get the following
> error message when testing analyis:
>
> Error, the Analysis module will not work, something is wrong with the C
> code.
>
> Traceback (most recent call last):
>
> File
> "/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py",
> line 72, in ?
>
> from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
>
> File
> "/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", line 92, in ?
>
> from ccpnmr.analysis.Analysis import Analysis
>
> File
> "/Applications/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 83, in ?
>
> from memops.c.MemCache import MemCache
>
> ImportError: No module named MemCache
>
>
>
>
>
> Henry
>
> --
> University of Edinburgh
> Joseph Black Chemistry Bldg, West Mains Rd.,
> Edinburgh EH9 3JJ
>
|