Mailing List Archive

Problem when compiling httpd-2.4.51 on MacOSX
Hi team,

Has anyone compiled HTTPD 2.4.51 on MacOSX 11.6 (Big Sur)?

I’m configuring with the command below:

./configure --prefix=/opt/apache --with-apr=/opt/local/apr-1.7.0 --with-apr-util=/opt/local/apr-util-1.6.1 --with-pcre=/opt/local/pcre-8.44 --with-ssl=/usr/local --with-openssl=/usr/local

Then, when I do “make”, I get the error below:

mod_ext_filter.c:372:10: error: implicit declaration of function 'apr_procattr_limit_set' is invalid in C99 [-Werror,-Wimplicit-function-declaration]


APR & APR-UTIL are already installed on the server(apr-1.7.0, apr-util-1.6.1)


Any suggestions?


Thanks

____________
Israel Timoteo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Problem when compiling httpd-2.4.51 on MacOSX [ In reply to ]
Hello,

Perhaps apr header files are missing ?

Le 15/11/2021 à 19:06, Israel Timoteo a écrit :
> Hi team,
>
> Has anyone compiled HTTPD 2.4.51 on MacOSX 11.6 (Big Sur)?
>
> I’m configuring with the command below:
>
> ./configure --prefix=/opt/apache --with-apr=/opt/local/apr-1.7.0 --with-apr-util=/opt/local/apr-util-1.6.1 --with-pcre=/opt/local/pcre-8.44 --with-ssl=/usr/local --with-openssl=/usr/local
>
> Then, when I do “make”, I get the error below:
>
> mod_ext_filter.c:372:10: error: implicit declaration of function 'apr_procattr_limit_set' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>
>
> APR & APR-UTIL are already installed on the server(apr-1.7.0, apr-util-1.6.1)
>
>
> Any suggestions?
>
>
> Thanks
>
> ____________
> Israel Timoteo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Problem when compiling httpd-2.4.51 on MacOSX [ In reply to ]
Hi,

On Mon, Nov 15, 2021 at 7:33 PM Israel Timoteo <itimoteo@me.com.invalid> wrote:
>
> mod_ext_filter.c:372:10: error: implicit declaration of function 'apr_procattr_limit_set' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

What's the definition of APR_HAVE_STRUCT_RLIMIT in
/opt/local/apr-1.7.0/include/apr.h ?
Please show the "config.log" file from the apr-1.7.0 build.

Regards;
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Problem when compiling httpd-2.4.51 on MacOSX [ In reply to ]
Yann/Lucien and team,

Thanks for your consideration on reviewing my problem.

This is the definition from the headers file:

%grep APR_HAVE_STRUCT_RLIMIT apr.h

#define APR_HAVE_STRUCT_RLIMIT 0


About the “config.log" file, it is big, about 24k lines. Any particular content from that file that I can share here or a place where I can upload it?

Again, thanks for your time and sharing your expertise.




____________
Israel Timoteo

> On Nov 16, 2021, at 4:38 AM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
>
> Hi,
>
> On Mon, Nov 15, 2021 at 7:33 PM Israel Timoteo <itimoteo@me.com.invalid> wrote:
>>
>> mod_ext_filter.c:372:10: error: implicit declaration of function 'apr_procattr_limit_set' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>
> What's the definition of APR_HAVE_STRUCT_RLIMIT in
> /opt/local/apr-1.7.0/include/apr.h ?
> Please show the "config.log" file from the apr-1.7.0 build.
>
> Regards;
> Yann.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org