Cygwin - compilation of PHP extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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

OK.

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

I appreciate your help,

Martin

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux