Re: Re: Wonder Apache 2 Adaptor Help
Re: Re: Wonder Apache 2 Adaptor Help
- Subject: Re: Re: Wonder Apache 2 Adaptor Help
- From: "Joe Little" <email@hidden>
- Date: Sun, 9 Jul 2006 23:44:40 -0700
Sorry for the late feedback. The newer adaptor may just work on amd64/x86_64.
As to how one would build Apache 32bit -- if its SuSE or RedHat you
can just install those versions of apache and their -dev packages,
building against that. Its the Apache API that's exposed that seems to
link in different included files and fails. Building against the 32bit
version alone probably does the trick. Then, you'd run that binary and
configuration file set at a different port number (say, listen to
127.0.0.1:8080) and use mod_proxy on the primary apache 2 (64bit) on
port 80. Of course, just the 32bit version would work too. Off hand,
I'm not sure you get a 32bit apache, etc in the default repository,
but nothing stops you from install the 32bit rpms and any
dependencies.
I went to download the latest, but I get an error trying to checkout CVS:
can't create temporary directory /tmp/cvs-serv30856
Read-only file system
Has anyone ever commented that getting Wonder via CVS always sucks :)
I grabbed the mdimension version, but it gives me errors regarding
libtool processing of CVS tags (WTF?) in the Adaptor subtree. So, it
may not be usuable as is from that source package. I'll await a
working CVS repository again to check this out.
The error with 64-bit Apache (2.0.x) and Wonder's Adaptor is caused in
this line:
cc -O2 -Wall -I../Adaptor -DSINGLE_THREADED_ADAPTOR -DREDHAT9 -DCGI
-c ../Adaptor/wastring.c
../Adaptor/wastring.c: In function `str_vappendf':
../Adaptor/wastring.c:198: error: invalid initializer
It doesn't matter if its gcc 3.4.5 or gcc 4.x, and what I've seen from
this error indicates one needs to code around using str_vappendf
completely.
On 7/2/06, Hunter Hillegas <email@hidden> wrote:
Interesting... So that's a top candidate for being my problem...
Anyone have an ideas on that topic?
As far as your proposed work-around, I would do something like
compile a version of Apache to 32-bit and then use that?
Interesting... Do you happen to know off-hand what switches I should
be looking for to get a 32-bit binary?
Thanks for your feedback.
Hunter
On Jul 2, 2006, at 7:29 PM, Joe Little wrote:
> For what its worth, I found the Apache 2 adaptor code in project
> wonder would not compile for Apache 2.0.x on AMD64. Only i386. A
> solution may be to use the 32bit edition of the web server for the
> adaptor, if that's ok. You can always route it to a second instance of
> Apache with modproxy or the like that is 64bit. The long way around
> the problem.
>
>
> On 7/2/06, Hunter Hillegas <email@hidden> wrote:
>> All,
>>
>> I am attempting to use the Project Wonder Apache 2 adaptor with
>> Apache 2.2 on Red Hat Enterprise Linux 4, running on AMD 64.
>>
>> Based on Apache doco, it seems like little has changed in regards to
>> modules between 2.0 and 2.2 but unfortunately I cannot get the
>> adaptor to compile.
>>
>> I am not a C programmer and I'm hoping that someone here will have a
>> pointer for me.
>>
>> The build error is as follows:
>>
>> ...snip...
>> mod_WebObjects.c: At top level:
>> /usr/local/apache2/include/httpd.h:923: error: storage size of
>> `finfo' isn't known
>> mod_WebObjects.c:229: warning: 'setOption3' defined but not used
>> make[1]: *** [mod_WebObjects.o] Error 1
>> make[1]: Leaving directory `/usr/local/src/wo_adaptors/Apache2'
>> make: *** [Apache2] Error 2
>>
>> There's quite a bit more before that, mostly warnings, but if it is
>> relevant, let me know and I'll send it along.
>>
>> I can't tell if the issue is Apache 2.2 (vs. Apache 2.0) or the 64-
>> bit arch or maybe something else.
>>
>> Any help is very much appreciated.
>>
>> Thanks,
>> Hunter
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> 40gmail.com
>>
>> This email sent to email@hidden
>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden