title: How to build SQL Relay for PDO from source on windows?
body: <p>I am trying to integrate SQL Relay with PHP PDO on Windows (WAMP). I have installed and compiled Rudiments and SQL Relay on Windows through Visual Studio Developer Command Prompt following the instructions given on the <a href="http://rudiments.sourceforge.net/rudiments/installing.html" rel="nofollow noreferrer">Rudiments</a> and <a href="http://sqlrelay.sourceforge.net/sqlrelay/admin/installing.html" rel="nofollow noreferrer">SQL Relay</a> SourceForge pages. </p>
  
  <p>Then I downloaded the <code>pdo_sqlrelay</code> extension source from github and tried to build the dll for this extension. </p>
  
  <p>In the build instructions, I couldn't find the ones pertaining to Windows specifically. I found instructions related to Linux. They are:</p>
  
  <pre><code>cd /path/to/pdo_sqlrelay
  phpize
  ./configure --with-php-config=/path/to/php-config \
  --with-pdo-sqlrelay=/path/to/sqlrelay/prefix \
  --with-rudiments=/path/to/rudiments/prefix
  
  make
  make install
  </code></pre>
  
  <p>I tried to convert them to the relative Windows commands by following the step by step php extension build instructions on <a href="https://wiki.php.net/internals/windows/stepbystepbuild" rel="nofollow noreferrer">PHP's Wiki for building for Windows</a>.</p>
  
  <p>When I tried to execute the command, it threw a <code>fatal error</code>. (like <code>undefined</code> or <code>invalid $remains</code>).:</p>
  
  <pre><code>configure --disable-all --enable-cli --enable-$remains
  </code></pre>
  
  <p>I would appreciate if someone could help me out to build the <code>pdo_sqlrelay</code> extension on Windows.</p>