Hello,
My German isn't great but it looks like it is not finding Python.h, which
provides the fundamental definition of Python functionality available in
the C world, so is rather crucial. The Makefile thinks this file is in
the directory /usr/include/python2.5. Does that directory exist? Is
there anything in it (in particular, Python.h)?
Wayne
On Thu, 25 Oct 2007, Marco Roeben wrote:
> Hello everybody,
>
> I've just downloaded and installed the recent updates. The following error
> messages occured during the update procedure:
>
> >>> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/CalcRatesPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/FollowShiftChangesPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditAssignmentPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/BrowseResonancesPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/StructureBasic.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/DataAnalysisBasic.py
> installing /opt/ccpnmr/ccpnmr1.0/c/memops/global/fit.c
> installing /opt/ccpnmr/ccpnmr1.0/c/memops/global/fit.h
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/DataFitting.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/LinkSeqSpinSystemsPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditMoleculePopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/LinkNoeResonancesPopup.py
> installing /opt/ccpnmr/ccpnmr1.0/python/ccp/util/LabeledMolecule.py
> installing /opt/ccpnmr/ccpnmr1.0/c/memops/global/py_fit.c
> cd memops/global; make clean
> make[1]: Entering directory `/opt/ccpnmr/ccpnmr1.0/c/memops/global'
> rm *.o
> make[1]: Leaving directory `/opt/ccpnmr/ccpnmr1.0/c/memops/global'
> cd ccp/structure; make clean
> make[1]: Entering directory `/opt/ccpnmr/ccpnmr1.0/c/ccp/structure'
> rm *.o
> make[1]: Leaving directory `/opt/ccpnmr/ccpnmr1.0/c/ccp/structure'
> cd ccpnmr/analysis; make clean
> make[1]: Entering directory `/opt/ccpnmr/ccpnmr1.0/c/ccpnmr/analysis'
> rm *.o
> make[1]: Leaving directory `/opt/ccpnmr/ccpnmr1.0/c/ccpnmr/analysis'
> cd ccpnmr/clouds; make clean
> make[1]: Entering directory `/opt/ccpnmr/ccpnmr1.0/c/ccpnmr/clouds'
> rm *.o
> make[1]: Leaving directory `/opt/ccpnmr/ccpnmr1.0/c/ccpnmr/clouds'
> cd memops/global; make
> make[1]: Entering directory `/opt/ccpnmr/ccpnmr1.0/c/memops/global'
> cc -c -O -DDO_NOT_HAVE_MALLOC -fPIC utility.c
> cc -c -I/usr/include/python2.5 -O -DDO_NOT_HAVE_MALLOC -fPIC python_util.c
> In file included from python_util.c:48:
> python_util.h:51:20: error: Python.h: Datei oder Verzeichnis nicht gefunden
> In file included from python_util.c:48:
> python_util.h:74: error: expected ‘)’ before ‘*’ token
> python_util.h:77: error: expected ‘)’ before ‘*’ token
> python_util.h:80: error: expected ‘)’ before ‘*’ token
> python_util.h:83: error: expected ‘)’ before ‘*’ token
> python_util.h:86: error: expected ‘)’ before ‘*’ token
> python_util.h:89: error: expected ‘)’ before ‘*’ token
> python_util.h:92: error: expected ‘)’ before ‘*’ token
> python_util.h:95: error: expected ‘)’ before ‘*’ token
> python_util.h:98: error: expected ‘)’ before ‘*’ token
> python_util.h:101: error: expected ‘)’ before ‘*’ token
> python_util.h:103: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.h:116: error: expected ‘)’ before ‘*’ token
> python_util.h:119: error: expected ‘)’ before ‘*’ token
> python_util.c:52: error: expected ‘)’ before ‘*’ token
> python_util.c:57: error: expected ‘)’ before ‘*’ token
> python_util.c:71: error: expected ‘)’ before ‘*’ token
> python_util.c:123: error: expected ‘)’ before ‘*’ token
> python_util.c:181: error: expected ‘)’ before ‘*’ token
> python_util.c:236: error: expected ‘)’ before ‘*’ token
> python_util.c:297: error: expected ‘)’ before ‘*’ token
> python_util.c:359: error: expected ‘)’ before ‘*’ token
> python_util.c:414: error: expected ‘)’ before ‘*’ token
> python_util.c:475: error: expected ‘)’ before ‘*’ token
> python_util.c:537: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.c:556: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.c:575: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.c:595: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
> python_util.c:623: error: expected ‘)’ before ‘*’ token
> python_util.c:652: error: expected ‘)’ before ‘*’ token
> make[1]: *** [python_util.o] Fehler 1
> make[1]: Leaving directory `/opt/ccpnmr/ccpnmr1.0/c/memops/global'
> make: *** [global] Fehler 2
>
>
>
> Then I closed ccpn and tried to open it again and it won't work at all. Here's
> the error message:
>
> Error, the DataAnalysisBasic module will not work, something is wrong with the
> C code.
> Traceback (most recent call last):
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py", line 72,
> in <module>
> from ccpnmr.analysis.AnalysisPopup import AnalysisPopup
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", line
> 103, in <module>
> from ccpnmr.analysis.CalcHeteroNoePopup import
> CalcHeteroNoePopup
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/CalcHeteroNoePopup.py",
> line 69, in <module>
> from ccpnmr.analysis.DataAnalysisBasic import matchHnoePeaks
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/DataAnalysisBasic.py",
> line 63, in <module>
> from memops.c.FitMethod import runFit
> ImportError: cannot import name runFit
> >>>
>
>
> What went wrong? I really need my data today. :-(
>
>
> with best regards
> Marco
>
> --
> Dipl. Chem. Marco Röben
> Leibniz Institute of Molecular Pharmacology (FMP)
> dep.: Solution NMR
> Robert-Rössle-Str. 10
> D-13125 Berlin
> +49-30-94793224 (phone)
> +49-030-94793169 (fax)
>
|