title: Variable 'TARGET' not defined in './ruby.tmp.pc' on IBM AIX6.1 server
body: <p>I have removed already installed ruby from AIX6.1 server through below commands</p>
  
  <pre><code>rm -rf /usr/bin/rake
  rm -rf /usr/bin/gem
  rm -rf /usr/bin/ruby
  rm -rf /usr/bin/irb
  </code></pre>
  
  <p>After removing we try to recompile the ruby version 1.9.3-p327 and we are getting the error</p>
  
  <pre><code>Variable 'TARGET' not defined in './ruby.tmp.pc'
  </code></pre>
  
  <p>And we tried with rvm to install ruby still we got the same error.</p>
  
  <p>We again tried with downgrading rubyversion to 1.9.2-p180 and <code>./configure</code> did not give any error, but while giving <code>make</code> command I am getting socket address error.</p>
  
  <p>Please help to fix the issue.</p>
  
  <p>Thanks,<br>
  Shiva</p>