Re: [PHP] Cygwin - compilation of PHP extension

2009-03-30 Thread Per Jessen
Martin Zvarík wrote: > Hmm, it seemed all working, but... > > $ make > ...created 4 files: > > /usr/local/src/extension/.libs/extension.a, extension.la.lnk, > extension.o (280 kB, the other 3 had few bytes, *.a, *.la, *.lai) > > $ make install > ... created: /usr/local/lib/php/extensions/no-deb

Re: [PHP] Cygwin - compilation of PHP extension

2009-03-30 Thread Martin Zvarík
Martin Zvarík napsal(a): Per Jessen napsal(a): Martin Zvarík wrote: Hi, I am totally new in compiling under cygwin. I need to compile an PHP extension, and this is what I figured so far: I wouldn't expect cygwin to be that different to a real Linux environment - how about: untar the exten

Re: [PHP] Cygwin - compilation of PHP extension

2009-03-30 Thread Martin Zvarík
Per Jessen napsal(a): Martin Zvarík wrote: Hi, I am totally new in compiling under cygwin. I need to compile an PHP extension, and this is what I figured so far: I wouldn't expect cygwin to be that different to a real Linux environment - how about: untar the extension cd dir phpize ./confi

Re: [PHP] Cygwin - compilation of PHP extension

2009-03-30 Thread Per Jessen
Martin Zvarík wrote: > Hi, > > I am totally new in compiling under cygwin. > I need to compile an PHP extension, and this is what I figured so far: > I wouldn't expect cygwin to be that different to a real Linux environment - how about: untar the extension cd dir phpize ./configure make make i

[PHP] Cygwin - compilation of PHP extension

2009-03-30 Thread Martin Zvarík
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