From sallah_kebba at bah.com Thu Aug 1 20:48:02 2013 From: sallah_kebba at bah.com (Sallah, Kebba [USA]) Date: Thu, 1 Aug 2013 20:48:02 +0000 Subject: [Mod_nss-list] Build Mod_NSS with Apache 2.4 Message-ID: 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 ??? Thanks in advance. Kebba Sallah PKE Engineering Support dodpke at mail.mil http://iase.disa.mil/pki-pke -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcritten at redhat.com Thu Aug 1 21:51:44 2013 From: rcritten at redhat.com (Rob Crittenden) Date: Thu, 01 Aug 2013 17:51:44 -0400 Subject: [Mod_nss-list] Build Mod_NSS with Apache 2.4 In-Reply-To: References: Message-ID: <51FAD870.5010505@redhat.com> 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 > > 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: From sallah_kebba at bah.com Thu Aug 1 22:20:46 2013 From: sallah_kebba at bah.com (Sallah, Kebba [USA]) Date: Thu, 1 Aug 2013 22:20:46 +0000 Subject: [Mod_nss-list] [External] Re: Build Mod_NSS with Apache 2.4 In-Reply-To: <51FAD870.5010505@redhat.com> References: <51FAD870.5010505@redhat.com> Message-ID: Thank you so much. That fixed the make error. One more question is a "make install" required. When I do so I get : [root at localhost mod_nss-1.0.8]# make install make[1]: Entering directory `/usr/src/mod_nss-1.0.8' /usr/local/apache2/bin/apxs -i -a -n nss libmodnss.la /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libmodnss.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install install libmodnss.la /usr/local/apache2/modules/ libtool: install: install .libs/libmodnss.so /usr/local/apache2/modules/libmodnss.so libtool: install: install .libs/libmodnss.lai /usr/local/apache2/modules/libmodnss.la libtool: install: install .libs/libmodnss.a /usr/local/apache2/modules/libmodnss.a libtool: install: chmod 644 /usr/local/apache2/modules/libmodnss.a libtool: install: ranlib /usr/local/apache2/modules/libmodnss.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' chmod 755 /usr/local/apache2/modules/libmodnss.so [activating module `nss' in /usr/local/apache2/conf/httpd.conf] if [ -d /usr/local/apache2/conf/../conf.d ]; then \ if [ ! -f /usr/local/apache2/conf/../conf.d/nss.conf ]; then \ /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/../conf.d/nss.conf; \ fi \ else \ if [ ! -f /usr/local/apache2/conf/nss.conf ]; then \ /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/nss.conf; \ fi \ fi if [ -d /usr/local/apache2/conf/../conf.d ]; then \ if [ -f /usr/local/apache2/conf/../conf.d/ssl.conf ]; then \ mv /usr/local/apache2/conf/../conf.d/ssl.conf /usr/local/apache2/conf/../conf.d/ssl.conf.old; \ fi \ else \ if [ ! -f /usr/local/apache2/conf/ssl.conf ]; then \ mv /usr/local/apache2/conf/ssl.conf /usr/local/apache2/conf/ssl.conf.old; \ fi \ fi mv: cannot stat `/usr/local/apache2/conf/ssl.conf': No such file or directory make[1]: *** [install-libLTLIBRARIES] Error 1 make[1]: Leaving directory `/usr/src/mod_nss-1.0.8' make: *** [install-am] Error 2 -----Original Message----- From: Rob Crittenden [mailto:rcritten at redhat.com] Sent: Thursday, August 01, 2013 5:52 PM To: Sallah, Kebba [USA]; mod_nss-list at redhat.com Subject: [External] Re: [Mod_nss-list] Build Mod_NSS with Apache 2.4 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 > > 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 > From rcritten at redhat.com Fri Aug 2 03:00:22 2013 From: rcritten at redhat.com (Rob Crittenden) Date: Thu, 01 Aug 2013 23:00:22 -0400 Subject: [Mod_nss-list] [External] Re: Build Mod_NSS with Apache 2.4 In-Reply-To: References: <51FAD870.5010505@redhat.com> Message-ID: <51FB20C6.7010505@redhat.com> Sallah, Kebba [USA] wrote: > Thank you so much. That fixed the make error. > One more question is a "make install" required. When I do so I get : > > [root at localhost mod_nss-1.0.8]# make install > make[1]: Entering directory `/usr/src/mod_nss-1.0.8' > /usr/local/apache2/bin/apxs -i -a -n nss libmodnss.la > /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libmodnss.la /usr/local/apache2/modules > /usr/local/apache2/build/libtool --mode=install install libmodnss.la /usr/local/apache2/modules/ > libtool: install: install .libs/libmodnss.so /usr/local/apache2/modules/libmodnss.so > libtool: install: install .libs/libmodnss.lai /usr/local/apache2/modules/libmodnss.la > libtool: install: install .libs/libmodnss.a /usr/local/apache2/modules/libmodnss.a > libtool: install: chmod 644 /usr/local/apache2/modules/libmodnss.a > libtool: install: ranlib /usr/local/apache2/modules/libmodnss.a > libtool: install: warning: remember to run `libtool --finish /usr/local/lib' > chmod 755 /usr/local/apache2/modules/libmodnss.so > [activating module `nss' in /usr/local/apache2/conf/httpd.conf] > if [ -d /usr/local/apache2/conf/../conf.d ]; then \ > if [ ! -f /usr/local/apache2/conf/../conf.d/nss.conf ]; then \ > /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/../conf.d/nss.conf; \ > fi \ > else \ > if [ ! -f /usr/local/apache2/conf/nss.conf ]; then \ > /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/nss.conf; \ > fi \ > fi > if [ -d /usr/local/apache2/conf/../conf.d ]; then \ > if [ -f /usr/local/apache2/conf/../conf.d/ssl.conf ]; then \ > mv /usr/local/apache2/conf/../conf.d/ssl.conf /usr/local/apache2/conf/../conf.d/ssl.conf.old; \ > fi \ > else \ > if [ ! -f /usr/local/apache2/conf/ssl.conf ]; then \ > mv /usr/local/apache2/conf/ssl.conf /usr/local/apache2/conf/ssl.conf.old; \ > fi \ > fi > mv: cannot stat `/usr/local/apache2/conf/ssl.conf': No such file or directory > make[1]: *** [install-libLTLIBRARIES] Error 1 > make[1]: Leaving directory `/usr/src/mod_nss-1.0.8' > make: *** [install-am] Error 2 Ah, it assumes it is installing into an Apache base that also has mod_ssl installed. You could update the Makefile and comment this bit out. Make install just copies the plugin into place and puts in a default configuration file. rob > > -----Original Message----- > From: Rob Crittenden [mailto:rcritten at redhat.com] > Sent: Thursday, August 01, 2013 5:52 PM > To: Sallah, Kebba [USA]; mod_nss-list at redhat.com > Subject: [External] Re: [Mod_nss-list] Build Mod_NSS with Apache 2.4 > > 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 >> >> 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 >> > From sallah_kebba at bah.com Mon Aug 5 18:38:06 2013 From: sallah_kebba at bah.com (Sallah, Kebba [USA]) Date: Mon, 5 Aug 2013 18:38:06 +0000 Subject: [Mod_nss-list] [External] Re: Build Mod_NSS with Apache 2.4 In-Reply-To: <51FB20C6.7010505@redhat.com> References: <51FAD870.5010505@redhat.com> <51FB20C6.7010505@redhat.com> Message-ID: Rob Is this hotfix posted anywhere public ? We are trying to provide guidance for setting up mod_nss to our client. We need to make them aware of this hotfix. -Kebba -----Original Message----- From: Rob Crittenden [mailto:rcritten at redhat.com] Sent: Thursday, August 01, 2013 11:00 PM To: Sallah, Kebba [USA]; mod_nss-list at redhat.com Subject: Re: [External] Re: [Mod_nss-list] Build Mod_NSS with Apache 2.4 Sallah, Kebba [USA] wrote: > Thank you so much. That fixed the make error. > One more question is a "make install" required. When I do so I get : > > [root at localhost mod_nss-1.0.8]# make install > make[1]: Entering directory `/usr/src/mod_nss-1.0.8' > /usr/local/apache2/bin/apxs -i -a -n nss libmodnss.la > /usr/local/apache2/build/instdso.sh > SH_LIBTOOL='/usr/local/apache2/build/libtool' libmodnss.la > /usr/local/apache2/modules /usr/local/apache2/build/libtool > --mode=install install libmodnss.la /usr/local/apache2/modules/ > libtool: install: install .libs/libmodnss.so > /usr/local/apache2/modules/libmodnss.so > libtool: install: install .libs/libmodnss.lai > /usr/local/apache2/modules/libmodnss.la > libtool: install: install .libs/libmodnss.a > /usr/local/apache2/modules/libmodnss.a > libtool: install: chmod 644 /usr/local/apache2/modules/libmodnss.a > libtool: install: ranlib /usr/local/apache2/modules/libmodnss.a > libtool: install: warning: remember to run `libtool --finish /usr/local/lib' > chmod 755 /usr/local/apache2/modules/libmodnss.so > [activating module `nss' in /usr/local/apache2/conf/httpd.conf] > if [ -d /usr/local/apache2/conf/../conf.d ]; then \ > if [ ! -f /usr/local/apache2/conf/../conf.d/nss.conf ]; then \ > /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/../conf.d/nss.conf; \ > fi \ > else \ > if [ ! -f /usr/local/apache2/conf/nss.conf ]; then \ > /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/nss.conf; \ > fi \ > fi > if [ -d /usr/local/apache2/conf/../conf.d ]; then \ > if [ -f /usr/local/apache2/conf/../conf.d/ssl.conf ]; then \ > mv /usr/local/apache2/conf/../conf.d/ssl.conf /usr/local/apache2/conf/../conf.d/ssl.conf.old; \ > fi \ > else \ > if [ ! -f /usr/local/apache2/conf/ssl.conf ]; then \ > mv /usr/local/apache2/conf/ssl.conf /usr/local/apache2/conf/ssl.conf.old; \ > fi \ > fi > mv: cannot stat `/usr/local/apache2/conf/ssl.conf': No such file or > directory > make[1]: *** [install-libLTLIBRARIES] Error 1 > make[1]: Leaving directory `/usr/src/mod_nss-1.0.8' > make: *** [install-am] Error 2 Ah, it assumes it is installing into an Apache base that also has mod_ssl installed. You could update the Makefile and comment this bit out. Make install just copies the plugin into place and puts in a default configuration file. rob > > -----Original Message----- > From: Rob Crittenden [mailto:rcritten at redhat.com] > Sent: Thursday, August 01, 2013 5:52 PM > To: Sallah, Kebba [USA]; mod_nss-list at redhat.com > Subject: [External] Re: [Mod_nss-list] Build Mod_NSS with Apache 2.4 > > 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 >> >> 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 >> > From rcritten at redhat.com Mon Aug 5 18:45:24 2013 From: rcritten at redhat.com (Rob Crittenden) Date: Mon, 05 Aug 2013 14:45:24 -0400 Subject: [Mod_nss-list] [External] Re: Build Mod_NSS with Apache 2.4 In-Reply-To: References: <51FAD870.5010505@redhat.com> <51FB20C6.7010505@redhat.com> Message-ID: <51FFF2C4.90301@redhat.com> Sallah, Kebba [USA] wrote: > Rob > > Is this hotfix posted anywhere public ? We are trying to provide guidance for setting up mod_nss to our client. We need to make them aware of this hotfix. It's been in the Fedora builds for for a year or so, and it's now posted to this public list :-) This was done in support of https://bugzilla.redhat.com/show_bug.cgi?id=815807 rob > > -----Original Message----- > From: Rob Crittenden [mailto:rcritten at redhat.com] > Sent: Thursday, August 01, 2013 11:00 PM > To: Sallah, Kebba [USA]; mod_nss-list at redhat.com > Subject: Re: [External] Re: [Mod_nss-list] Build Mod_NSS with Apache 2.4 > > Sallah, Kebba [USA] wrote: >> Thank you so much. That fixed the make error. >> One more question is a "make install" required. When I do so I get : >> >> [root at localhost mod_nss-1.0.8]# make install >> make[1]: Entering directory `/usr/src/mod_nss-1.0.8' >> /usr/local/apache2/bin/apxs -i -a -n nss libmodnss.la >> /usr/local/apache2/build/instdso.sh >> SH_LIBTOOL='/usr/local/apache2/build/libtool' libmodnss.la >> /usr/local/apache2/modules /usr/local/apache2/build/libtool >> --mode=install install libmodnss.la /usr/local/apache2/modules/ >> libtool: install: install .libs/libmodnss.so >> /usr/local/apache2/modules/libmodnss.so >> libtool: install: install .libs/libmodnss.lai >> /usr/local/apache2/modules/libmodnss.la >> libtool: install: install .libs/libmodnss.a >> /usr/local/apache2/modules/libmodnss.a >> libtool: install: chmod 644 /usr/local/apache2/modules/libmodnss.a >> libtool: install: ranlib /usr/local/apache2/modules/libmodnss.a >> libtool: install: warning: remember to run `libtool --finish /usr/local/lib' >> chmod 755 /usr/local/apache2/modules/libmodnss.so >> [activating module `nss' in /usr/local/apache2/conf/httpd.conf] >> if [ -d /usr/local/apache2/conf/../conf.d ]; then \ >> if [ ! -f /usr/local/apache2/conf/../conf.d/nss.conf ]; then \ >> /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/../conf.d/nss.conf; \ >> fi \ >> else \ >> if [ ! -f /usr/local/apache2/conf/nss.conf ]; then \ >> /usr/bin/install -c -m 644 nss.conf /usr/local/apache2/conf/nss.conf; \ >> fi \ >> fi >> if [ -d /usr/local/apache2/conf/../conf.d ]; then \ >> if [ -f /usr/local/apache2/conf/../conf.d/ssl.conf ]; then \ >> mv /usr/local/apache2/conf/../conf.d/ssl.conf /usr/local/apache2/conf/../conf.d/ssl.conf.old; \ >> fi \ >> else \ >> if [ ! -f /usr/local/apache2/conf/ssl.conf ]; then \ >> mv /usr/local/apache2/conf/ssl.conf /usr/local/apache2/conf/ssl.conf.old; \ >> fi \ >> fi >> mv: cannot stat `/usr/local/apache2/conf/ssl.conf': No such file or >> directory >> make[1]: *** [install-libLTLIBRARIES] Error 1 >> make[1]: Leaving directory `/usr/src/mod_nss-1.0.8' >> make: *** [install-am] Error 2 > > Ah, it assumes it is installing into an Apache base that also has mod_ssl installed. You could update the Makefile and comment this bit out. Make install just copies the plugin into place and puts in a default configuration file. > > rob > >> >> -----Original Message----- >> From: Rob Crittenden [mailto:rcritten at redhat.com] >> Sent: Thursday, August 01, 2013 5:52 PM >> To: Sallah, Kebba [USA]; mod_nss-list at redhat.com >> Subject: [External] Re: [Mod_nss-list] Build Mod_NSS with Apache 2.4 >> >> 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 >>> >>> 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 >>> >> >