You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucy.apache.org by Octavian Rasnita <or...@gmail.com> on 2011/10/01 12:08:12 UTC

Re: [lucy-user] ANNOUNCE: Dezi and Dezi::Client

From: "Peter Karman" <pe...@peknet.com>
> Octavian Rasnita wrote on 09/30/2011 11:09 AM:
>> From: "Peter Karman" <pe...@peknet.com>
>>> Initial releases of Dezi and Dezi::Client are now on CPAN:
>>>
>>> https://metacpan.org/module/Dezi
>>> https://metacpan.org/module/Dezi::Client
>> 
>> 
>> Congratulations. Looks very nice.
>> 
>> Should it also work under Windows? I have tried to install it, but without success and I don't know if it would be helpful to try more.
>> 
> 
> I've not tried it under Windows. I suspect SWISH::3 will not compile
> there; every other dependency (including Lucy) can be compiled under
> Windows afaik.
> 
> Can you send along specific error messages from the install process?
> 


Hi,

Here are some errors:

After trying to install Dezi with cpan:

3 dependencies missing (Search::OpenSearch::Server,Plack,Search::OpenSearch::Engine::Lucy); additionally test harness failed 

After trying to install Search::OpenSearch:

KARMAN/Search-OpenSearch-0.14.tar.gz         : make_test NO one dependency not OK (Search::Tools) 

For Search::Tools:

after nmake using VC6 (See below using gcc):


Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    cl -c    -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"0.62\"  -DXS_VERSION=\"0.62\"  "-IE:\usr\lib\CORE"   Tools.c
Tools.c
search-tools.h(11) : error C2010: '.' : unexpected in macro formal parameter list
search-tools.h(11) : error C2010: '.' : unexpected in macro formal parameter list
search-tools.h(11) : error C2010: '.' : unexpected in macro formal parameter list
search-tools.h(11) : error C2010: ')' : unexpected in macro formal parameter list
search-tools.c(133) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(133) : error C2065: '__func__' : undeclared identifier
search-tools.c(133) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(133) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(145) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(145) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(145) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(159) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(159) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(159) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(208) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(208) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(208) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(227) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(227) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(227) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(268) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(268) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(268) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(279) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(279) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(279) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
search-tools.c(482) : warning C4018: '<' : signed/unsigned mismatch
search-tools.c(516) : warning C4002: too many actual parameters for macro 'ST_CROAK'
search-tools.c(516) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
search-tools.c(516) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
Tools.xs(160) : warning C4018: '<' : signed/unsigned mismatch
Tools.xs(182) : warning C4018: '<' : signed/unsigned mismatch
Tools.xs(314) : warning C4002: too many actual parameters for macro 'ST_CROAK'
Tools.xs(314) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
Tools.xs(314) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
Tools.xs(345) : warning C4002: too many actual parameters for macro 'ST_CROAK'
Tools.xs(345) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
Tools.xs(345) : warning C4024: 'st_croak' : different types for formal and actual parameter 3
Tools.xs(643) : warning C4244: '=' : conversion from 'long ' to 'char ', possible loss of data
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


After dmake using gcc that comes with ActivePerl:

E:\usr\site\bin\g++.exe -out:blib\arch\auto\Search\Tools\Tools.dll -mdll -L"e:\usr\lib\CORE" Tools.o   E:\usr\lib\CORE\perl510.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt -def:Tools.def
E:\usr\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot open output file ut:blib\arch\auto\Search\Tools\Tools.dll: Invalid argument
collect2: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Search\Tools\Tools.dll'


Octavian


Re: [lucy-user] ANNOUNCE: Dezi and Dezi::Client

Posted by Peter Karman <pe...@peknet.com>.
Octavian Rasnita wrote on 10/01/2011 05:08 AM:

> After trying to install Search::OpenSearch:
> 
> KARMAN/Search-OpenSearch-0.14.tar.gz         : make_test NO one dependency not OK (Search::Tools) 
> 
> For Search::Tools:
> 

thanks for the report. I just uploaded Search::Tools 0.63 to CPAN with
what I hope is the fix.


-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com