[avahi] building avahi PHP extension ...

SeŽbastien Cramatte scramatte at gmail.com
Wed Jan 28 17:48:53 PST 2009


Hello,

I would like to build a php 5 extension for Avahi !

I already made the skel and reading the doc I think that  the only way 
to implement it  is using   "threaded_poll"   model.
I'm running debian lenny with  Avahi  0.6.22,  php 5.2.6 over apache 2.2

I can compile the extension without error.
And php tell that the extension is loaded ...  But when I call   
"avahi_thread_poll_lock(threaded_poll);"
The module stop to work ! ...

Note that as you specified in the doc  I've copy  thread-watch.c m 
thread-watch.h  to my src dir !

I will commit the source tomorrow to google code !

I hope that  an Avahi developper will read this mail and that someone 
will be able to give an hand ...
I'm quite new in php extension development and  nix* c programming ... 
many things escape me !

Regards



More information about the avahi mailing list