I am totally new in compiling under cygwin.
I need to compile an PHP extension, and this is what I figured so far:

gcc -c extension_name.c (that's the only *.c file in that extension directory)

ERROR: php.h: No such file...

So, I changed the env PATH:

PATH=$PATH:/usr/local/src/php-5.2.9/main (downloaded directly from PHP.net, unchanged, no make or install commands)

And checked: printenv PATH


Ran again, but it shows still the same error: php.h not found.

I appreciate your help,


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to