Found os.h, and all the other libraries I was missing that mod_wsgi
requires.  Now when I build, I get the following error log:
------ Build started: Project: mod_wsgi_py26_apache22, Configuration:
Release Win32 ------
Compiling...
mod_wsgi.c
c:\python26\include\pyconfig.h(352) : warning C4005: 'PLATFORM' :
macro redefinition
        C:\Program Files\Apache Software Foundation\Apache2.2\os
\win32\os.h(41) : see previous definition of 'PLATFORM'
..\mod_wsgi.c(1543) : warning C4018: '>=' : signed/unsigned mismatch
..\mod_wsgi.c(1566) : warning C4018: '<' : signed/unsigned mismatch
..\mod_wsgi.c(1628) : warning C4244: '+=' : conversion from
'apr_off_t' to 'long', possible loss of data
..\mod_wsgi.c(1790) : warning C4018: '<' : signed/unsigned mismatch
..\mod_wsgi.c(1815) : warning C4018: '<' : signed/unsigned mismatch
..\mod_wsgi.c(1930) : warning C4018: '<' : signed/unsigned mismatch
..\mod_wsgi.c(2529) : warning C4244: '=' : conversion from 'apr_off_t'
to 'int', possible loss of data
..\mod_wsgi.c(10039) : error C2065: 'WSGIProcessGroup' : undeclared
identifier
..\mod_wsgi.c(10039) : error C2065: 'entries' : undeclared identifier
..\mod_wsgi.c(10039) : warning C4047: '=' : 'int' differs in levels of
indirection from 'void *'
..\mod_wsgi.c(10039) : error C2106: '=' : left operand must be l-value
..\mod_wsgi.c(10040) : error C2065: 'WSGIProcessGroup' : undeclared
identifier
..\mod_wsgi.c(10040) : error C2065: 'entry' : undeclared identifier
..\mod_wsgi.c(10040) : warning C4047: '=' : 'int' differs in levels of
indirection from 'void *'
..\mod_wsgi.c(10040) : error C2106: '=' : left operand must be l-value
..\mod_wsgi.c(10042) : error C2143: syntax error : missing ';' before
'type'
..\mod_wsgi.c(10047) : error C2065: 'entries' : undeclared identifier
..\mod_wsgi.c(10047) : error C2065: 'WSGIProcessGroup' : undeclared
identifier
..\mod_wsgi.c(10047) : error C2059: syntax error : ')'
..\mod_wsgi.c(10049) : error C2065: 'i' : undeclared identifier
..\mod_wsgi.c(10049) : error C2065: 'i' : undeclared identifier
..\mod_wsgi.c(10049) : error C2065: 'i' : undeclared identifier
..\mod_wsgi.c(10050) : error C2065: 'entry' : undeclared identifier
..\mod_wsgi.c(10050) : error C2065: 'entries' : undeclared identifier
..\mod_wsgi.c(10050) : error C2065: 'i' : undeclared identifier
..\mod_wsgi.c(10050) : error C2109: subscript requires array or
pointer type
..\mod_wsgi.c(10052) : error C2065: 'entry' : undeclared identifier
..\mod_wsgi.c(10052) : error C2223: left of '->listener_fd' must point
to struct/union
..\mod_wsgi.c(10052) : error C2198: 'close' : too few arguments for
call
..\mod_wsgi.c(10053) : error C2065: 'entry' : undeclared identifier
..\mod_wsgi.c(10053) : error C2223: left of '->listener_fd' must point
to struct/union
Build log was saved at "file://d:\My Projects\mod_wsgi_buildscript
\mod_wsgi_py26_apache22_Release\BuildLog.htm"
mod_wsgi_py26_apache22 - 22 error(s), 10 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========

On Jan 23, 9:50 pm, Jon Prater <jonathan.pra...@gmail.com> wrote:
> I tried copying this file, and got a series of similar errors.  Having
> copied files as appropriate, I got one final error regarding a missing
> os.h.  Where am I to find this?
>
> On Jan 23, 9:34 pm, Jon Prater <jonathan.pra...@gmail.com> wrote:
>
> > apr-util is there, and there's an apr folder, but no apr.h.  I've
> > manually added apr\include from the srclib folder of the apache source
> > distro.  In there are apr.hnw, apr.hw, and apr.h.in.  Should I copy
> > one of these as apr.h?
>
> > On Jan 23, 9:11 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> > wrote:
>
> > > 2009/1/24 Jon Prater <jonathan.pra...@gmail.com>:
>
> > > > I downloaded the one that Apache has on its HTTPD website and
> > > > installed that.  It doesn't come with sources in it though.  I
> > > > downloaded the sources separately and copied them into Apache's
> > > > install directory.  There's no apr.h in there.
>
> > > Does it include any header files, ie. httpd.h etc. I thought they
> > > should be all provided. If only httpd headers files are included then
> > > someone has screwed up.
>
> > > You may need to down load the separate source for apr and apr-util.
> > > They need to be same version as was used when Apache was built. I
> > > wouldn't have expected this to be the case though.
>
> > > Graham
>
> > > > On Jan 23, 8:39 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> > > > wrote:
> > > >> 2009/1/24 Jon Prater <jonathan.pra...@gmail.com>:
>
> > > >> > I've been trying to build it with VC++ Express 2008, and I keep
> > > >> > getting errors that it can't find apr.h.  I've got the Apache 
> > > >> > sources,
> > > >> > and I can't find anything called apr.h anywhere in them.
>
> > > >> APR is a separate package to Apache. My understanding though is that
> > > >> if you use Apache Software Foundation Windows package for Apache then
> > > >> it would be provided. Other Windows installers for Apache may be
> > > >> incomplete.
>
> > > >> Which Apache installer are you using for Apache?
>
> > > >> Graham
>
> > > >> > On Jan 20, 5:29 am, Graham Dumpleton <graham.dumple...@gmail.com>
> > > >> > wrote:
> > > >> >> 2009/1/20 m0nonoke <affos...@gmail.com>:
>
> > > >> >> > Still no sign of Python 2.6 windows binary :(
>
> > > >> >> Yes, and I am starting to get a a bit unhappy about it as well.
>
> > > >> >> On the assumption that Adal isn't going to be able to help out, let 
> > > >> >> us
> > > >> >> start planing how we can ensure have Windows builds for future.
>
> > > >> >> Can someone who knows a bit about Windows and Python get together a
> > > >> >> list for me which says what Microsoft C/C++ compiler is required for
> > > >> >> building Python extension modules for various versions of Python
> > > >> >> available. Basically, need to know which compiler Python 
> > > >> >> installation
> > > >> >> was built with. I presume this information is available somewhere on
> > > >> >> Python web site. Am interested in what is required for Python 2.4,
> > > >> >> 2.5, 2.6 and 3.0. Also want to know if any of the free downloadable
> > > >> >> versions of Microsoft C/C++ compiler can be used or whether was can
> > > >> >> only used the paid for version.
>
> > > >> >> The build scripts that Adal was using are referenced from:
>
> > > >> >>  http://code.google.com/p/modwsgi/issues/detail?id=4
>
> > > >> >> That is:
>
> > > >> >>  http://adal.chiriliuc.com/temp/win32.zip
>
> > > >> >> Knowing compiler requirements and having build scripts, can then see
> > > >> >> what various people can do for us.
>
> > > >> >> Graham
>
> > > >> >> > On Nov 23 2008, 11:34 pm, "Adal Chiriliuc" 
> > > >> >> > <adal.chiril...@gmail.com>
> > > >> >> > wrote:
> > > >> >> >> Hello,
>
> > > >> >> >> Sorry, I've been quite busy lately.
>
> > > >> >> >> I will try to post new builds in the following few days, 
> > > >> >> >> including Python
> > > >> >> >> 2.6 binaries.
>
> > > >> >> >> Matt, you must build mod_wsgi with the same compiler used for 
> > > >> >> >> building
> > > >> >> >> Python 2.x. I don't know with what is Python 2.6 built, but if 
> > > >> >> >> it's VS 2008,
> > > >> >> >> you can't use VS 2005.
>
> > > >> >> >> Best regards,
> > > >> >> >> Adal
>
> > > >> >> >> On Sat, Nov 22, 2008 at 12:40 PM, Graham Dumpleton <
>
> > > >> >> >> graham.dumple...@gmail.com> wrote:
> > > >> >> >> > 2008/11/22 Clodoaldo <clodoaldo.pi...@gmail.com>:
>
> > > >> >> >> > > On Nov 21, 10:05 pm, "Matt Craighead"
> > > >> >> >> > > <matt.craigh...@conifersystems.com> wrote:
> > > >> >> >> > >> Hi all,
>
> > > >> >> >> > >> It looks like I'm not the first person asking about this, 
> > > >> >> >> > >> but is there
> > > >> >> >> > any
> > > >> >> >> > >> chance of getting Python 2.6 Windows binaries posted in the 
> > > >> >> >> > >> near future?
>
> > > >> >> >> > > The site of the person who builds the binaries is this:
>
> > > >> >> >> > >http://adal.chiriliuc.com/
>
> > > >> >> >> > > There is his email there.
>
> > > >> >> >> > I have tried a couple of times to get his attention via the 
> > > >> >> >> > list about
> > > >> >> >> > getting Python 2.6 binaries for mod_wsgi, but not no success 
> > > >> >> >> > so far.
> > > >> >> >> > :-(
>
> > > >> >> >> > Graham
>
> > > >> >> >> > > Regards, Clodoaldo
>
> > > >> >> >> > >> I have a commercial product that integrates with Apache and 
> > > >> >> >> > >> mod_python,
> > > >> >> >> > and
> > > >> >> >> > >> currently it uses Python 2.5.2.  Unfortunately I've run 
> > > >> >> >> > >> into an issue
> > > >> >> >> > with
> > > >> >> >> > >> the sqlite3 module in Python 2.5 that was fixed in Python 
> > > >> >> >> > >> 2.6, so I'd
> > > >> >> >> > like
> > > >> >> >> > >> to upgrade everything to Python 2.6.  I also just recently 
> > > >> >> >> > >> learned about
> > > >> >> >> > >> mod_wsgi and am thinking that it might be a good idea to 
> > > >> >> >> > >> switch -- it
> > > >> >> >> > >> doesn't look like mod_python development is terribly 
> > > >> >> >> > >> active, and if it
> > > >> >> >> > >> performs better that never hurts.
>
> > > >> >> >> > >> Thanks,
>
> > > >> >> >> > >> --
> > > >> >> >> > >> Matt Craighead
> > > >> >> >> > >> Founder/CEO, Conifer Systems 
> > > >> >> >> > >> LLChttp://www.conifersystems.com
> > > >> >> >> > >> 512-772-1834
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to modwsgi@googlegroups.com
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to