-------- Original Message --------
Subject: Re: CitcomS
Date: Sat, 26 Aug 2006 21:37:04 -0700
From: Leif Strand <leif@geodynamics.org>
To: Vlad Manea <vlad@gps.caltech.edu>
References: <44EF3E10.2000905@gps.caltech.edu>
<44EF4A8E.2050809@geodynamics.org> <44F110A8.6010502@gps.caltech.edu>
Vlad,
I'm guessing here, but I think you need to install Fedora's python-devel
package, which contains the Python headers. On my Fedora Core laptop:
[leif@laptop1 ~]$ rpm -q python
python-2.3.4-13.1
[leif@laptop1 ~]$ rpm -q -f /usr/include/python2.3/Python.h
python-devel-2.3.4-13.1
[leif@laptop1 ~]$ rpm -q python-devel
python-devel-2.3.4-13.1
[leif@laptop1 ~]$
Right now, you probably have 'python' but not 'python-devel'.
The 'configure' script should really detect this situation... right now,
it is simple minded: it treats "is Python installed?" as a simple
yes/no, true/false question, when in fact, the world is more complicated...
--Leif
Vlad Manea wrote:
> Hi Leif,
>
> I tried to install CitComS (2.0.1) on my workstation, but I got some
> errors.
> The ./configure went OK, but the make did not. The errors I got are
> below.
> Can you give me some clues how to go ahead?
>
> Thanks,
> Vlad
>
> _____________
>
>
> _journalmodule.cc:16:20: error: Python.h: No such file or directory
> exceptions.h:19: error: expected initializer before '*' token
> _journalmodule.cc: In function 'void init_journal()':
> _journalmodule.cc:30: error: 'PyObject' was not declared in this scope
> _journalmodule.cc:30: error: 'm' was not declared in this scope
> _journalmodule.cc:32: error: 'PYTHON_API_VERSION' was not declared in
> this scope
> _journalmodule.cc:32: error: 'Py_InitModule4' was not declared in this
> scope
> _journalmodule.cc:35: error: 'd' was not declared in this scope
> _journalmodule.cc:35: error: 'PyModule_GetDict' was not declared in
> this scope
> _journalmodule.cc:38: error: 'PyErr_Occurred' was not declared in this
> scope
> _journalmodule.cc:39: error: 'Py_FatalError' was not declared in this
> scope
> _journalmodule.cc:43: error: 'pyjournal_runtimeError' was not declared
> in this scope
> _journalmodule.cc:43: error: 'PyErr_NewException' was not declared in
> this scope
> _journalmodule.cc:44: error: 'PyDict_SetItemString' was not declared
> in this scope
> make[6]: *** [_journalmodule.lo] Error 1
> make[5]: *** [all-recursive] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
> -----------------------------------------------------------------------------------
>
|