in Apache-Test/lib/Apache/TestRun.pm line 1100, i commented out the
"use warnings FATAL => 'all';"

i still get :

cc -I/home/govops/build-new/mod_perl-2.0-apache24/src/modules/perl
-I/home/govops/build-new/mod_perl-2.0-apache24/xs
-I/usr/local/directory-libs/include/apr-1
-I/usr/local/directory-libs/include/apr-1
-I/usr/local/directory-libs/include -I/usr/local/directory-lib/include
-I/usr/local/apache24/include -D_REENTRANT -xtarget=ultraT1
-xcode=pic32 -m64 -xarch=generic64 -DDEBUGGING -I/usr/local/include
-DPERL_USE_SAFE_PUTENV
-I/usr/local/directory-libs/lib/perl5/5.12.2/sun4-solaris-thread-multi-64/CORE
-DMOD_PERL -DMP_COMPAT_1X -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -O3
-g -KPIC \
-c modperl_interp.c && mv modperl_interp.o modperl_interp.lo
cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
"modperl_interp.c", line 503: undefined struct/union member: remote_ip
"modperl_interp.c", line 503: warning: improper pointer/integer
combination: op ":"
cc: acomp failed for modperl_interp.c
*** Error code 2

This is the variable that was removed in apache 2.4, as in my previous email :

c->remote_ip gone, and now split into c->client_ip (tcp endpoint) and
c->useragent_ip (e.g. X-Forwarded-For)

Maybe some logic like :

if ($c->useragent_ip exists) then ($ip=$c->useragent_ip) else
($ip=c->client_ip) ?

Cheers
Brett

2012/3/15 Brett @Google <brett.maxfi...@gmail.com>:
> I checked it out and got :
>
> ~/build-new/mod_perl-2.0-apache24> perl Makefile.PL
> MP_APR_CONFIG=/usr/local/apache-libs/bin/apr-1-config
> MP_APXS=/usr/local/apache24/bin/apxs
> Reading Makefile.PL args from @ARGV
>   MP_APR_CONFIG = /usr/local/directory-libs/bin/apr-1-config
>   MP_APXS = /usr/local/apache24/bin/apxs
> no conflicting prior mod_perl version found - good.
> Configuring Apache/2.4.1 mod_perl/2.0.6-dev Perl/v5.12.2
> ERROR from evaluation of
> /home/govops/build-new/mod_perl-2.0-apache24/Apache-Reload/Makefile.PL:
> Use of uninitialized value $v in substitution (s///) at
> Apache-Test/lib/Apache/TestRun.pm line 1100.
>
> I am just using the current apr/apr-util, do i need a special one ?
>
> Cheers
> Brett
>
> 2012/3/14 Brett @Google <brett.maxfi...@gmail.com>:
>> I don't want to re-invent the wheel, i was just poking around in the
>> trunk.. but didn't know there was a 2.4 branch :)
>>
>> I could not see links to anything new on the download page, i'll check
>> out the 2.4 branch now and report back..
>>
>> Maybe you can list the branch under the "Development" links.. with a
>> disclaimer that is is not release quality ?
>>
>> Cheers
>> Brett
>>
>> 2012/3/14 Torsten Förtsch <torsten.foert...@gmx.net>:
>>> On Wednesday, 14 March 2012 19:35:40 Brett @Google wrote:
>>>> Apache 2.4.x seems to have changed...
>>>
>>> You are very welcome to work on the httpd 2.4 port. But please check out
>>>
>>>  http://svn.apache.org/repos/asf/perl/modperl/branches/httpd24
>>>
>>> as a starting point. It probably compiles and passes most tests.
>>>
>>> Why do you want to do the same work that I have done last summer again?
>>>
>>> Torsten Förtsch
>>>
>>> --
>>> Need professional modperl support? Hire me! (http://foertsch.name)
>>>
>>> Like fantasy? http://kabatinte.net
>>>
>>
>>
>>
>> --
>> The only thing that interferes with my learning is my education.
>>
>> Albert Einstein
>
>
>
> --
> The only thing that interferes with my learning is my education.
>
> Albert Einstein



-- 
The only thing that interferes with my learning is my education.

Albert Einstein

Reply via email to