You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Igor Galić <i....@brainsware.org> on 2012/03/04 02:35:36 UTC

httpd 2.4.1 vs mod_whatkilledus

Hey folks,
or rather: Jeff :)

I'm finally getting around to updating my stack to httpd 2.4.1
(and PHP 5.4) and some things are breaking.
mod_whatkilledus doesn't build with 2.4.1:

/opt/bw/share/apr/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -march=corei7 -maes -O3 -g  -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libxml2 -I/opt/bw/include  -I/opt/bw/include/apr   -I/opt/bw/include/apr   -c -o mod_whatkilledus.lo mod_whatkilledus.c && touch mod_whatkilledus.slo
mod_whatkilledus.c: In function 'wku_fatal_exception':
mod_whatkilledus.c:240:43: error: 'conn_rec' has no member named 'remote_addr'
mod_whatkilledus.c:219:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
mod_whatkilledus.c:232:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
mod_whatkilledus.c:250:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
mod_whatkilledus.c:257:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
mod_whatkilledus.c:258:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
mod_whatkilledus.c:264:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
mod_whatkilledus.c:270:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
apxs:Error: Command failed with rc=65536
.

So long,

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Issac Goldstand <ma...@beamartyr.net>.
Assuming you mean mod_php - I'm sure that php with FastCGI works
fine...  Like any fresh software release, it can be expected that not
every 3rd party module developer has gotten around to upgrading their
code.  Give it a bit of time; it'll happen.

On 04/03/2012 03:53, Reindl Harald wrote:
>
>
> Am 04.03.2012 02:35, schrieb Igor Galić:
>> Hey folks,
>> or rather: Jeff :)
>>
>> I'm finally getting around to updating my stack to httpd 2.4.1
>> (and PHP 5.4) and some things are breaking.
>> mod_whatkilledus doesn't build with 2.4.1
>
> you are aware that PHP 5.4.0 currently does not support Apache 2.4?
> see php-devel list on release day of %.4
>



Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Issac Goldstand <ma...@beamartyr.net>.
After going through the thread in question, I disagree with your
statement.  The PHP dev team did a wonderful job in deciding to promote
a patch against the shiny new PHP 5.4.0  that should work with httpd
2.4, they're trying to roadmap the patch in to the next release, and
they're probably right in that most people who are brave enough to use
the combination of 2 releases, albeit "golden", that are each well under
a month old can almost definitely make do with that.

  Issac

On 04/03/2012 03:53, Reindl Harald wrote:
>
>
> Am 04.03.2012 02:35, schrieb Igor Galić:
>> Hey folks,
>> or rather: Jeff :)
>>
>> I'm finally getting around to updating my stack to httpd 2.4.1
>> (and PHP 5.4) and some things are breaking.
>> mod_whatkilledus doesn't build with 2.4.1
>
> you are aware that PHP 5.4.0 currently does not support Apache 2.4?
> see php-devel list on release day of %.4
>



Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Steffen <in...@apachelounge.com>.
Which does not work for 2.4.1 Windows, see my other post.

Windows users has to load the handler form AL.

-----Original Message----- 
From: IgorGalić
Sent: Monday, March 05, 2012 2:50 PM
To: dev@httpd.apache.org
Subject: Re: httpd 2.4.1 vs mod_whatkilledus



----- Original Message -----
>
>
> Am 04.03.2012 02:35, schrieb Igor Galić:
> > Hey folks,
> > or rather: Jeff :)
> >
> > I'm finally getting around to updating my stack to httpd 2.4.1
> > (and PHP 5.4) and some things are breaking.
> > mod_whatkilledus doesn't build with 2.4.1
>
> you are aware that PHP 5.4.0 currently does not support Apache 2.4?
> see php-devel list on release day of %.4

PHP's 5.4.x branch has been supporting 2.3 for quite some time now.

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE 


Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Igor Galić <i....@brainsware.org>.

----- Original Message -----
> 
> 
> Am 04.03.2012 02:35, schrieb Igor Galić:
> > Hey folks,
> > or rather: Jeff :)
> > 
> > I'm finally getting around to updating my stack to httpd 2.4.1
> > (and PHP 5.4) and some things are breaking.
> > mod_whatkilledus doesn't build with 2.4.1
> 
> you are aware that PHP 5.4.0 currently does not support Apache 2.4?
> see php-devel list on release day of %.4

PHP's 5.4.x branch has been supporting 2.3 for quite some time now.

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Reindl Harald <h....@thelounge.net>.

Am 04.03.2012 02:35, schrieb Igor Galić:
> Hey folks,
> or rather: Jeff :)
> 
> I'm finally getting around to updating my stack to httpd 2.4.1
> (and PHP 5.4) and some things are breaking.
> mod_whatkilledus doesn't build with 2.4.1

you are aware that PHP 5.4.0 currently does not support Apache 2.4?
see php-devel list on release day of %.4


Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Graham Leggett <mi...@sharp.fm>.
On 04 Mar 2012, at 3:35 AM, Igor Galić wrote:

> mod_whatkilledus.c:240:43: error: 'conn_rec' has no member named 'remote_addr'

No need to wait for Jeff :)

Look for "remote_addr" on the page below, and make the changes described:

http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html

Regards,
Graham
--


Re: httpd 2.4.1 vs mod_whatkilledus

Posted by Jeff Trawick <tr...@gmail.com>.
On Sat, Mar 3, 2012 at 8:35 PM, Igor Galić <i....@brainsware.org> wrote:
> Hey folks,
> or rather: Jeff :)

try again :)


>
> I'm finally getting around to updating my stack to httpd 2.4.1
> (and PHP 5.4) and some things are breaking.
> mod_whatkilledus doesn't build with 2.4.1:
>
> /opt/bw/share/apr/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -march=corei7 -maes -O3 -g  -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libxml2 -I/opt/bw/include  -I/opt/bw/include/apr   -I/opt/bw/include/apr   -c -o mod_whatkilledus.lo mod_whatkilledus.c && touch mod_whatkilledus.slo
> mod_whatkilledus.c: In function 'wku_fatal_exception':
> mod_whatkilledus.c:240:43: error: 'conn_rec' has no member named 'remote_addr'

I did the quick fix that doesn't handle logging the IP of the real
client if going through an LB or other intermediary

> mod_whatkilledus.c:219:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:232:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:250:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:257:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:258:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:264:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:270:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

not fixed yet

> apxs:Error: Command failed with rc=65536
> .
>
> So long,
>
> i
>
> --
> Igor Galić
>
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
>



-- 
Born in Roswell... married an alien...