On Mon, 25 Jul 2005, Gustave T. Stresen-Reuter wrote: > On Jul 25, 2005, at 5:17 AM, Neal Richter wrote: > > > There is a 'libhtdig' & 'libhtdigphp' directories in the 3.2b6 > > snapshot > > which would enable you to directly call htdig search functions without > > a > > PHP wrapper. > > > > How are these libraries built? Do I just navigate to the directory and > ./configure make make install? Doing just the basic ./configure make > make install from the root directory doesn't seem to build the > "binaries".
A 'make' in libhtdig (after ./configure in the main directory) should give you a libhtdig.so In libhtdigphp you will have to ./configure (with the appropriate PHP system config flags to configure) then run 'make' (which will fail to link) and then run 'relink.sh'. Since these are auxilary libraries, I have not bothered to integrate them into the base htdig make system. htdig 4.0 will probably be structured a bit differently.... > Also, does PHP need to be built with these libraries or can they be > accessed by adding lines to php.ini (or at runtime using dl())? > Finally, do these libraries come with any documentation? runtime using dl() Not much documentation, but libhtdig_api.h is fairly instructive. There is an example PHP file n libhtdigphp > Thanks in advance... And please count on me providing a final Mac OS X > package when this release is ready to go. How has it been working for you? Any issues? -- Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ ht://Dig Developer mailing list: htdig-dev@lists.sourceforge.net List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev