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.
hi,
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.
Current trunk should work fine as long as you have libxml, curl, iconv
and zlibs deps installed. I also uploaded 5.3 vc9-x86 ts and nts
version of solr here: http://downloads.php.net/pierre/
Cheers,
Pierre
Pierre and Pierrick,
Thanks a lot once again for helping me out!
I really really appreciate it. You have really helped out a lot of the
windows PHP user space developers that could not use the extension.
I also thank Kalle and Felipe for their contributions in reviewing the
initial releases of the SOLR module for bugs and compatibility with C++ and
Windows compilers. I am now able to compile it without any warnings.
I will add your 4 names to the next release of the SOLR extension as the
people that made the release happen.
This has also paved way for the 1.0 release which I intentionally postponed
until it was available for the windows platform.
Once again thank you very much.
You guys rock!
hi,
On Tue, Nov 17, 2009 at 10:26 PM, Israel Ekpo israelekpo@gmail.com
wrote: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.Current trunk should work fine as long as you have libxml, curl, iconv
and zlibs deps installed. I also uploaded 5.3 vc9-x86 ts and nts
version of solr here: http://downloads.php.net/pierre/Cheers,
Pierre
--
"Good Enough" is not good enough.
To give anything less than your best is to sacrifice the gift.
Quality First. Measure Twice. Cut Once.