The problem is that i'm under windows but the compiler i'm using do not have popen.I think in Windows popen is available as _popen. That's what luaconf.h tries.
That particular compiler (Digital Mars one) do not have neither popen nor _popen. Microsoft one do have _popen. I don't know about OpenWatcom or Borland ones.