Good morning, 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? -- Jason Pruim japruim@raoset.com 616.399.2355
Hello, I just realized that I hadn't gotten any response off of this question... And that I haven't gotten any list e-mail since I sent it 4 days ago... Is there a problem with the list? Begin forwarded message:
From: "japruim@raoset.com" <japruim@raoset.com> Date: December 1, 2008 6:32:05 AM GMT-05:00 To: calendarserver-users@lists.macosforge.org Subject: [CalendarServer-users] Problem installing calendarserver
Good morning,
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?
-- Jason Pruim japruim@raoset.com 616.399.2355
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
-- Jason Pruim japruim@raoset.com 616.399.2355
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. -- Cyrus Daboo
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
Hi Jason, --On December 5, 2008 12:52:29 PM -0500 Jason Pruim <japruim@raoset.com> wrote:
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'
PyXML is running the setup.py script which is trying to get a path from the built in distutils module and that is reporting the '/usr/local/include/python2.5' path for the pyconfig.h file. Does '/usr/local/include/python2.5' actually exist? If so is it readable (to the user you are running ./run as)? If so does pyconfig.h exist in there? In theory the '/usr/local/include/python2.5' path should have been hard-coded at configure/make time when you built python2.5 and should be the place where the headers files needed to build python extensions were placed when you did "make install". -- Cyrus Daboo
On Dec 5, 2008, at 12:59 PM, Cyrus Daboo wrote:
Hi Jason,
--On December 5, 2008 12:52:29 PM -0500 Jason Pruim <japruim@raoset.com> wrote:
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'
PyXML is running the setup.py script which is trying to get a path from the built in distutils module and that is reporting the '/usr/ local/include/python2.5' path for the pyconfig.h file. Does '/usr/ local/include/python2.5' actually exist? If so is it readable (to the user you are running ./run as)? If so does pyconfig.h exist in there?
My host just gave me full shell access and installed the full source of python so I'm past that error and onto a new one... Using python2.5 as Python exec python /home/raosetc/public_html/calendar/Twisted/bin/twistd -n caldav -f /home/raosetc/public_html/calendar/CalendarServer/conf/ caldavd-dev.plist -o ProcessType=Combined Traceback (most recent call last): File "/home/raosetc/public_html/calendar/Twisted/bin/twistd", line 20, in ? from twisted.scripts.twistd import run File "/home/raosetc/public_html/calendar/Twisted/twisted/scripts/ twistd.py", line 11, in ? from twisted.application import app File "/home/raosetc/public_html/calendar/Twisted/twisted/ application/app.py", line 9, in ? from twisted.persisted import sob File "/home/raosetc/public_html/calendar/Twisted/twisted/persisted/ sob.py", line 17, in ? import md5.new as md5 ImportError: No module named new Any ideas? Thanks for your help with this! -- Jason Pruim japruim@raoset.com 616.399.2355
participants (3)
-
Cyrus Daboo
-
japruim@raoset.com
-
Jason Pruim