durusmail: quixote-users: can't build SCGI on OSX (was: using SCGI and Quixote with virtual servers)
using SCGI and Quixote with virtual servers
2004-01-11
can't build SCGI on OSX (was: using SCGI and Quixote with virtual servers)
can't build SCGI on OSX (was: using SCGI and Quixote with virtual servers)
Ksenia Marasanova
2004-01-11
David, thank you, this is very useful. Exactly what I needed.

But here is another problem: I am trying to setup development
environment for Quixote on my Powerbook (Mac OSX Panther). It would be
nice to use SCGI too.. unfortunately, can't compile it:

[...]
In file included from
/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3/Python.h:8, from scgi/passfd.c:17:
/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3/pyconfig.h:858:1: warning: "_XOPEN_SOURCE" redefined
scgi/passfd.c:10:1: warning: this is the location of the previous
definition
scgi/passfd.c: In function `recv_fd':
scgi/passfd.c:43: warning: assignment from incompatible pointer type
scgi/passfd.c: In function `send_fd':
scgi/passfd.c:67: warning: assignment from incompatible pointer type
[...]

Just it case this can be of any use, here is the line from my
/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3/pyconfig.h:
/* Define to the level of X/Open that your system supports */
#define _XOPEN_SOURCE 600


Ksenia.

Op 11-jan-04 om 18:22 heeft David Binger het volgende geschreven:

>
> On Jan 11, 2004, at 8:22 AM, Ksenia Marasanova wrote:
>
>> I'd like to use Quixote with mod_scgi as a standard tool for multiple
>> virtual servers on my Apache box. Each website should have it's own
>> namespace and configuration file.
>> With this in mind, what would be the proper way to start SCGI server?
>> Do I need to use different ports for every site?
>> Any examples are very welcome :)
>>
>
> This is what we do at the MEMS Exchange.
> The Dulcinea package includes some tools that
> we use for running multiple sites using mod_scgi
> (with ZODB).
>
>



reply