[Mod_nss-list] Build Mod_NSS with Apache 2.4

Rob Crittenden rcritten at redhat.com
Thu Aug 1 21:51:44 UTC 2013


Sallah, Kebba [USA] wrote:
> Hello
>
> Has anyone successfully built mod_nss with the latest version of Apache
> (2.4) ? I built Apache from source successfully and I am now attempting
> to build mod_nss from source. I figured that since I am not using the
> system Apache I had to build mod_nss from source rather than using
> ‘yum’.  I am using Centos 6.2.  I have done the following:
>
> -Ran à ./configure --with-apxs=/usr/local/apache2/bin/apxs à no errors
>
> -Ran à make à the following errors =
>
> In file included from mod_nss.c:16:
>
> mod_nss.h:30:17: error: mpm.h: No such file or directory
>
> mod_nss.c: In function 'NSSBadCertHandler':
>
> mod_nss.c:255: warning: passing argument 4 of 'nss_log_nss_error' makes
> pointer from integer without a cast
>
> mod_nss.h:476: note: expected 'struct server_rec *' but argument is of
> type 'int'
>
> mod_nss.c:255: error: too many arguments to function 'nss_log_nss_error'
>
> mod_nss.c: In function 'nss_hook_pre_connection':
>
> mod_nss.c:333: error: 'conn_rec' has no member named 'remote_ip'
>
> mod_nss.c:333: error: 'conn_rec' has no member named 'remote_ip'
>
> mod_nss.c:349: warning: passing argument 4 of 'nss_log_nss_error' makes
> pointer from integer without a cast
>
> mod_nss.h:476: note: expected 'struct server_rec *' but argument is of
> type 'int'
>
> mod_nss.c:349: error: too many arguments to function 'nss_log_nss_error'
>
> make: *** [mod_nss.lo] Error 1
>
> Please help ???

The attached patch should work. It is what is used in Fedora.

rob

>
> Thanks in advance.
>
> Kebba Sallah
>
> PKE Engineering Support
>
> dodpke at mail.mil <mailto:dodpke at mail.mil>
>
> http://iase.disa.mil/pki-pke
>
>
>
> _______________________________________________
> Mod_nss-list mailing list
> Mod_nss-list at redhat.com
> https://www.redhat.com/mailman/listinfo/mod_nss-list
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_nss-httpd24.patch
Type: text/x-patch
Size: 5472 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/mod_nss-list/attachments/20130801/519c3083/attachment.bin>


More information about the Mod_nss-list mailing list