<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I'll answer what I can.. Nikos will have to answer the rest.<br>
<br>
On 09/11/2009 11:52 PM, Erick Calder wrote:
<blockquote cite="mid:053CCB57-3C27-4CC5-B44E-EBB6562ECBCA@arix.com"
 type="cite">I'm attempting to package this module as an RPM for the
Fedora distribution. &nbsp;I've come across some problems I need help with:
  <div><br>
  </div>
  <div>1. relocation of the install seems ignored... if I run:</div>
  <div><br>
  </div>
  <blockquote class="webkit-indent-blockquote"
 style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">make
DESTDIR=/tmp install</blockquote>
  <div><br>
  </div>
  <div>the makefile still attempts to install to /usr. &nbsp;this is
problematic for building RPMs but I don't know enough about automake to
patch the needed files.</div>
</blockquote>
Basically the system uses the standard automake/libtool "automagic" to
build the SO (pulling in the httpd configs to keep it with the systems
build setup).&nbsp; But when it installs it uses apxs directly to install
the SO in the httpd lib directory.<br>
<br>
So to build your RPM spec file (which you should be able to look at
other spec files in Fedora for how this is done with apache httpd
modules).&nbsp; You can use make to build it, but to install you need to
just use good old "cp" or "install" to get it in the right place in
your build root.&nbsp;&nbsp; Oh, also please feel free to contribute the spec
file and I'll put it in the distribution.<br>
<br>
[snip]<br>
<blockquote cite="mid:053CCB57-3C27-4CC5-B44E-EBB6562ECBCA@arix.com"
 type="cite">
  <div><br>
  </div>
  <div>4. I've set up a session cache via the command below:</div>
  <div><br>
  </div>
  <blockquote class="webkit-indent-blockquote"
 style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">GnuTLSCache
dbm "/var/cache/mod_gnutls"</blockquote>
  <div><br>
  </div>
  <div><font class="Apple-style-span" face="monospace"><span
 class="Apple-style-span" style="white-space: pre;"><font
 class="Apple-style-span" face="Helvetica"><span
 class="Apple-style-span" style="white-space: normal;">however the
directory remains empty after I restart the server and instead I see
two files:&nbsp;mod_gnutls.dir and&nbsp;mod_gnutls.pag in /var/cache... this
seems wrong?</span></font></span></font></div>
</blockquote>
<br>
This makes sense..&nbsp; you are specifying the path to the "database file"
not the directory to put the database.&nbsp; so you should put<br>
<br>
GnuTLSCache dbm "/var/cache/mod_gnutls/tlscache"<br>
<br>
</body>
</html>