Hi Everyone, My name is Israel Ekpo
I am trying to compile the Solr extension on Windows XP using Visual Studio 2008 but I am getting compile errors. Guillaume Rossolini also tried but he is getting other errors too. It looks like the Visual Studio compiler is unable to locate a library or header file. I compile it find with no issues on Linux. Please could someone who is familiar with building PHP 5 extensions on Windows help us take a look at this situation. Any help would be appreciated. Thanks. The SVN source is available here http://svn.php.net/repository/pecl/solr/trunk Guillaume got this error configure line with php-5.3-latest revision 290849 (/x86 /xp /Release ): --disable-all --enable-cli --with-solr=yes --with-curl=yes --with-libxml=yes Creating library Release_TS\php_solr.lib and object Release_TS\php_solr.exp solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_slist_free_all referenced in function _solr_make_request solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_easy_strerror referenced in function _solr_make_request solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_easy_getinfo referenced in function _solr_make_request solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_easy_perform referenced in function _solr_make_request solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_easy_setopt referenced in function _solr_make_request solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_slist_append referenced in function _solr_make_request solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_easy_cleanup referenced in function _solr_free_handle solr_functions_client.obj : error LNK2019: unresolved external symbol __imp__curl_easy_init referenced in function _solr_init_handle Release_TS\php_solr.dll : fatal error LNK1120: 8 unresolved externals I did not even get this far when I tried. So any help in the form of changes/recommendations to the config.w32 and solr.dsp scripts would be highly appreciated. -- "Good Enough" is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once.