mod_nss compile fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Ferrier wrote:
> Hi guys,
> 
> Trying to do a "one-step" build. It's failing during the compile of 
> mod_nss-1.0.2 with:
> 
> nss_expr_eval.c: In function `nss_expr_eval_comp':
> nss_expr_eval.c:116: error: `ap_regex_t' undeclared (first use in this 
> function)
> nss_expr_eval.c:116: error: (Each undeclared identifier is reported only 
> once
> nss_expr_eval.c:116: error: for each function it appears in.)
> nss_expr_eval.c:116: error: `regex' undeclared (first use in this function)
> nss_expr_eval.c:121: error: syntax error before ')' token
> nss_expr_eval.c:133: error: syntax error before ')' token
> make[2]: *** [nss_expr_eval.lo] Error 1
> make[2]: Leaving directory 
> `/usr/local/src/dsbuild-fds102/ds/mod_nss/work/mod_nss-1.0.2'
> make[1]: *** [build-work/mod_nss-1.0.2/Makefile] Error 2
> make[1]: Leaving directory `/usr/local/src/dsbuild-fds102/ds/mod_nss'
> make: *** [dep-../../ds/mod_nss] Error 2
> 
> Any clues would be appreciated.
> 

The problem is that in Apache 2.0.54 (and below) there was no way for 
the compiler to know the numeric version. Starting with 2.2 they added a 
define for AP_SERVER_MAJORVERSION_NUMBER.

So what I did was assume that if that wasn't defined then we were 
dealing with Apache 2.0 otherwise 2.2.

In at least 2.0.58 someone added this define in and caused the code to 
blow up.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060731/62e13f53/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux