somehow conbfigure has detected that you are cross compiling
  which happens when 'cc' exists and creates some output, but
  it can't be executed ( purely guess work .. )

  try running with sh -x configure
  and watch the points where configure moans '' checking if cross compiluing .. yes'
  it should say 'no'


> Today i gave a version of ruby (1.6.1) to a colleage who works with AIX.
> He tried to compile it but he got the following error:
> checking whether getpgrp takes no argument.... configure: error: cannot 
> check get pgrp if cross compiling
> 
> Does anyone know what this means ?
> Or should i ask in a AIX newsgroup ?
> 
> Thanks anyway
>  Jan
> 
>