The version of Python installed is likely not a full installation and
doesn't include header files, configuration files etc. If installing
from package repository, install 'python-dev' package corresponding to
version of Python being used.
Graham
2008/11/10 Ko Ravi <[EMAIL PROTECTED]>:
>
> Dear Group,
> I have xampp-linux-1.6.7 installed under the /opt directory. I am
> trying to install mod_wsgi with the following command:
>
> [EMAIL PROTECTED]:~/mod_wsgi-2.3$ ./configure --with-apxs=/opt/lampp/bin/
> apxs --with-python=/usr/bin/python
>
> This passed with no issues. But after running make, i can a series of
> errros that seem way too much. Here is the snippet of those errors:
> mod_wsgi.c:3589: error: 'interp' undeclared (first use in this
> function)
> mod_wsgi.c:3599: error: 'InterpreterObject' has no member named
> 'interp'
> mod_wsgi.c:3600: error: 'InterpreterObject' has no member named
> 'owner'
> mod_wsgi.c:3608: error: 'InterpreterObject' has no member named
> 'interp'
> mod_wsgi.c:3622: error: 'PyExc_RuntimeError' undeclared (first use in
> this function)
> mod_wsgi.c:3629: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first
> use in this function)
> mod_wsgi.c:3630: error: expected ';' before 'ap_log_error'
> mod_wsgi.c:3633: error: 'Py_END_ALLOW_THREADS' undeclared (first use
> in this function)
> mod_wsgi.c:3635: error: expected ';' before 'self'
> mod_wsgi.c:3636: error: 'InterpreterObject' has no member named
> 'owner'
> mod_wsgi.c:3648: error: expected expression before ')' token
> mod_wsgi.c:3656: error: expected expression before ')' token
> mod_wsgi.c:3661: error: expected expression before ')' token
> mod_wsgi.c:3667: error: expected expression before ')' token
> mod_wsgi.c:3694: error: expected identifier or '(' before '=' token
> mod_wsgi.c:3695: error: expected expression before 'module'
> mod_wsgi.c:3697: error: expected expression before 'module'
> mod_wsgi.c:3713: error: expected identifier or '(' before '=' token
> mod_wsgi.c:3715: error: expected expression before 'module'
> mod_wsgi.c:3716: error: 'dict' undeclared (first use in this
> function)
> mod_wsgi.c:3717: error: 'key' undeclared (first use in this function)
> mod_wsgi.c:3718: error: 'value' undeclared (first use in this
> function)
> mod_wsgi.c:3720: error: expected expression before 'module'
> mod_wsgi.c:3736: error: expected expression before 'module'
>
> It seems I am doing something wrong, as I could not google for this.
> Please help.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---