[Issues] [mod_gnutls 0000080]: apr_memcache test use file-based test to detect library availability

issues at outoforder.cc issues at outoforder.cc
Fri Mar 7 19:06:53 EST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=80 
====================================================================== 
Reported By:                guillomovitch
Assigned To:                nmav
====================================================================== 
Project:                    mod_gnutls
Issue ID:                   80
Category:                   Compile or Build
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Apache Version:             unspecified 
Resolution:                 fixed
Fixed in Version:           -TRUNK
====================================================================== 
Date Submitted:             02-19-2008 10:37 EST
Last Modified:              03-07-2008 19:06 EST
====================================================================== 
Summary:                    apr_memcache test use file-based test to detect
library availability
Description: 
As the test hardcode the location of the file to be $prefix + lib, it fails
for x86_64 biarch hosts, where libs are in $prefix + lib64. It is generally
recommended to never use physical test for libs presence, only compilation
tests, so as to be as most platform-independant as possible.

Attached patch fix the issue, turning the original unique prefix option to
three, allowing to specify either prefix, libs or include path for
apr_memcached. I just realize it would have been even better to just use
$libdir and $includedir if neither option was given.

I also tried to test apr_memcache header, using AC_CHECK_header, but it
failed for syntax errors in apr headers. Given my lack of knowledge of
this specific part, I did not succeed.
====================================================================== 

---------------------------------------------------------------------- 
 nmav - 03-07-08 19:06  
---------------------------------------------------------------------- 
Resolved in 0.4.3. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-19-08 10:37  guillomovitch  New Issue                                    
02-19-08 10:37  guillomovitch  File Added:
mod_gnutls-0.4.2.1-fix-apr_memcache-test.diff                    
02-19-08 10:37  guillomovitch  Apache Version            => unspecified     
03-07-08 19:06  nmav           Status                   new => assigned     
03-07-08 19:06  nmav           Assigned To               => nmav            
03-07-08 19:06  nmav           Status                   assigned => resolved
03-07-08 19:06  nmav           Fixed in Version          => -TRUNK          
03-07-08 19:06  nmav           Resolution               open => fixed       
03-07-08 19:06  nmav           Note Added: 0000101                          
======================================================================




More information about the Issues mailing list