On Dec 5, 2008, at 12:36 PM, Cyrus Daboo wrote:

Hi Jason,

--On December 4, 2008 5:37:42 AM -0500 Jason Pruim <japruim@raoset.com> wrote:

I am attempting to install calendar server (The most recent trunk) on
a: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_mono/1.9
mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
mod_perl/2.0.4 Perl/v5.8.8


and I get this error:



Building PyXML...
Traceback (most recent call last):
  File "./setup.py", line 127, in <module>
    config_h_vars = parse_config_h(open(config_h))
IOError: [Errno 2] No such file or directory:
'/usr/local/include/python2.5/pyconfig.h'


I'm thinking it has something to do with being on a shared host, and the
shared host having installed python 2.5 in a different location since
both 2.4 and 2.5 are installed.


Any ideas what I can do to fix it?

Can you verify that you have a '/usr/local/include/python2.5' path? Also try "locate pyconfig.h" to see where that file might be. But this does look like some weird python install problem.

I found out that I did have an error in the path... when I looked into it, the path to python2.5 is: /usr/local/lib/python2.5

But once I changed the include path in the run script (I edited one line to add the path name hoping it would help) I have the same result:

Building PyXML...
Traceback (most recent call last):
  File "./setup.py", line 127, in <module>
    config_h_vars = parse_config_h(open(config_h))
IOError: [Errno 2] No such file or directory: '/usr/local/include/python2.5/pyconfig.h'


Here is the output of the locate command:

locate: can not open `/var/lib/mlocate/mlocate.db': Permission denied

Could the problem be that I don't have access to run the locate command? Or at least maybe tied into that?


Thanks Cyrus!

--
Jason Pruim
japruim@raoset.com
616.399.2355