[ 
https://issues.apache.org/jira/browse/LUCY-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057130#comment-13057130
 ] 

Lucas commented on LUCY-167:
----------------------------

Hi,

I don't know if that is the correct place to post that...

I tried to install Apache Lucy (Perl) from Cpan using the command "install 
Lucy", but it fails: "Make had returned bad status...".
So I tried to make it, and: "Could not make: Unknown error".
Then, I typed "look Lucy" and I tried to do "perl Makefile.PL", but there isn't 
any Makefile, so I used "perl Build.pl", and following : "Build", but it 
crashes, with the following errors:

core\Lucy\Store\FSDirHandle.c: In function `lucy_FSDH_do_open':
core\Lucy\Store\FSDirHandle.c:198: error: invalid operands to binary >
+>
core\Lucy\Store\FSDirHandle.c:198: error: invalid operands to binary &
core\Lucy\Store\FSDirHandle.c:212: error: invalid operands to binary >
+>
core\Lucy\Store\FSDirHandle.c:212: error: invalid operands to binary &
core\Lucy\Store\FSDirHandle.c: In function `lucy_FSDH_close':
core\Lucy\Store\FSDirHandle.c:269: error: invalid operands to binary &
core\Lucy\Store\FSDirHandle.c:269: error: invalid operands to binary &
error building dll file from 'core/Lucy/Store/FSDirHandle.c' at C:/str
+awberl/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130.

I have WXP, perl 5.10.1.

Is that what are you talking about Marvin? Is there any way to solve that?

Thanks!

> INCREF/DECREF symbol collisions under Windows in FSDirHandle.c
> --------------------------------------------------------------
>
>                 Key: LUCY-167
>                 URL: https://issues.apache.org/jira/browse/LUCY-167
>             Project: Lucy
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 0.1.0 (incubating)
>            Reporter: Marvin Humphrey
>            Priority: Minor
>             Fix For: 0.1.1 (incubating), 0.2.0 (incubating)
>
>
> The header file "windows.h" defines INCREF and DECREF, which collide
> the short versions of LUCY_INCREF and LUCY_DECREF.  In most places, we
> already use the long form when windows.h has been #included, but 
> FSDirHandle.c had been missed, causing compilation failure under Cygwin.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to