title: mod_ssl not compiling with apache2
body: <p><strong>SOLVED</strong></p>
  
  <p>Resolved, but it was a strange issue. I check config.log, as suggested by Capsule and found the following line:</p>
  
  <pre><code>configure:14368: checking whether to enable mod_ssl
  configure:16123: result: no
  </code></pre>
  
  <p>I was wondering why it wasn't installing ssl when I had clearly asked it to. Then I found the configuration command it had parsed in:</p>
  
  <pre><code>./configure --prefix=/usr/local/apache --enable-so--enable-cgi--enable-info--enable-rewrite--enable-speling--enable-usertrack--enable-deflate --enable-ssl--enable-mime-magic
  </code></pre>
  
  <p><em>Notice the lack of spaces?</em> I had entered the command with each directive in a new line so it was missing spaces, and the arguments were not being correctly passed.</p>
  
  <p>And now it works as expected!</p>
  
  <hr>
  
  <p>Apache build ( 2.2.1 ):</p>
  
  <pre><code>./configure --prefix=/usr/local/apache \
      --enable-so \
      --enable-cgi    \
      --enable-info   \
      --enable-rewrite    \
      --enable-speling    \
      --enable-usertrack  \
      --enable-deflate \
      --enable-ssl    \
      --enable-mime-magic
  </code></pre>
  
  <p>When I try to configure ssl, i get the following as I try to restart apache</p>
  
  <pre><code>Syntax error on line 56 of /usr/local/apache/conf/extra/httpd-ssl.conf:
  Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
  </code></pre>
  
  <p>Here're the list of compiledin modules <strong>( SSL is missing )</strong></p>
  
  <pre><code>/usr/local/apache/bin/apachectl -M
  Loaded Modules:
   core_module (static)
   authn_file_module (static)
   authn_default_module (static)
   authz_host_module (static)
   authz_groupfile_module (static)
   authz_user_module (static)
   authz_default_module (static)
   auth_basic_module (static)
   include_module (static)
   filter_module (static)
   log_config_module (static)
   env_module (static)
   setenvif_module (static)
   version_module (static)
   mpm_prefork_module (static)
   http_module (static)
   mime_module (static)
   status_module (static)
   autoindex_module (static)
   asis_module (static)
   cgi_module (static)
   negotiation_module (static)
   dir_module (static)
   actions_module (static)
   userdir_module (static)
   alias_module (static)
   so_module (static)
   php5_module (shared)
  </code></pre>