Apache Mod-Python - Updated: (MODPYTHON-138) Python.h should be included first

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > February 2006 > Updated: (MODPYTHON-138) Python.h should be included first





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Updated: (MODPYTHON-138) Python.h should be included first
Michel Jouvin (JIRA)

2006-02-20, 5:47 pm

[ http://issues.apache.org/jira/brows...ON-138?page=all ]

Michel Jouvin updated MODPYTHON-138:
------------------------------------

Attachment: mod_python-3.2.6-tru64.patch

Diff file containing changes implemented to fix the issue described. Built for 3.2.6 but should probably works with any 3.2.x.

> Python.h should be included first
> ---------------------------------
>
> Key: MODPYTHON-138
> URL: http://issues.apache.org/jira/browse/MODPYTHON-138
> Project: mod_python
> Type: Bug
> Components: core
> Versions: 3.2
> Environment: Tru64 5.1B, Python 2.4.1, Apache 2..55
> Reporter: Michel Jouvin
> Attachments: mod_python-3.2.6-tru64.patch
>
> I have a problem to build mod_pyton on Tru64 with the Python config I have. This is basically due to the fact that Python.h should be included first as its defines some macros used by standard includes. When included at the end of the includes, this res

ults to some conflicts because the same include is included twice with a different macro value. This change should have no impact on platforms where the current include order works.
> Affected files are :
> src/include/psp_parser.h
> src/include/mod_python.h
> src/include/psp_flex.h
> src/include/mod_python.h.in
> src/_pspmodule.c
> src/psp_parser.c
> I have a patch file available, I'll try to attach it to this issue if I manage to find how to do it...
> Michel


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com