I am trying to build php from source to include mcrypt for windows. I keep getting this error when i do the nmake part of it.

ext\libxml\php_libxml2.def
"" -h win32\ -r Release_TS\ -x Release_TS\ win32\build\wsyslog.mc
'-h' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '"' : return code '0x1'
Stop. 

Any ideas?

Thanks,
Michael

    My idea would be... stop trying to build from source and use the binaries that php.net provides. Any particular reason why you aren't doing that?

      bradgrafelman;11014963 wrote:

      My idea would be... stop trying to build from source and use the binaries that php.net provides. Any particular reason why you aren't doing that?

      I would tend to agree. However, he does say it's being done in order to include mcrypt support?

      Elsewise, I take it that's compiler output?

      "" -h win32\ -r Release_TS\ -x Release_TS\ win32\build\wsyslog.mc

      I see a definite problem with that. Can't tell you exactly what it is, but obviously "" isn't a program; Windows does you a favor and ignores that, but wrongly assumes that since "" isn't anything, you must be calling "-h", which also isn't a program.

        Write a Reply...