You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2011/06/28 03:21:16 UTC

[lucy-issues] [jira] [Created] (LUCY-167) INCREF/DECREF symbol collisions under Windows in FSDirHandle.c

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

        

[lucy-issues] [jira] [Commented] (LUCY-167) INCREF/DECREF symbol collisions under Windows in FSDirHandle.c

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCY-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057221#comment-13057221 ] 

Marvin Humphrey commented on LUCY-167:
--------------------------------------

Hello, Lucas,

> Is that what are you talking about Marvin?

Yes, those are the errors addressed by this issue.  

Regarding the Clownfish::Hierarchy problem, please take this up on
the Lucy users mailing list: 

[http://incubator.apache.org/lucy/mailing_lists.html]

The JIRA issue tracker is for following specific issues; general 
discussion is better suited to the users list.

> 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

        

[lucy-issues] [jira] [Resolved] (LUCY-167) INCREF/DECREF symbol collisions under Windows in FSDirHandle.c

Posted by "Marvin Humphrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey resolved LUCY-167.
----------------------------------

    Resolution: Fixed
      Assignee: Marvin Humphrey

> 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
>            Assignee: 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

        

[lucy-issues] [jira] [Commented] (LUCY-167) INCREF/DECREF symbol collisions under Windows in FSDirHandle.c

Posted by "Lucas (JIRA)" <ji...@apache.org>.
    [ 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

        

[lucy-issues] [jira] [Commented] (LUCY-167) INCREF/DECREF symbol collisions under Windows in FSDirHandle.c

Posted by "Lucas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCY-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057201#comment-13057201 ] 

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

Now, I change the constants in the file, and the following error appears:

Parsing Clownfish files...
Can't locate loadable object for module Clownfish in @INC (@INC contai
+ns: clownf
ish/blib/lib clownfish/blib/arch ../clownfish/blib/lib ../clownfish/bl
+ib/arch cl
ownfish\blib\lib clownfish\blib\arch ..\clownfish\blib\lib ..\clownfis
+h\blib\arc
h buildlib clownfish/blib/lib clownfish/blib/arch ../clownfish/blib/li
+b ../clown
fish/blib/arch buildlib C:/strawberry/perl/lib C:/strawberry/perl/site
+/lib C:\st
rawberry\perl\vendor\lib .) at clownfish/blib/lib/Clownfish.pm line 33
BEGIN failed--compilation aborted at clownfish/blib/lib/Clownfish.pm l
+ine 33.
Compilation failed in require at clownfish/blib/lib/Clownfish/Util.pm 
+line 20.
BEGIN failed--compilation aborted at clownfish/blib/lib/Clownfish/Util
+.pm line 2
0.
Compilation failed in require at clownfish/blib/lib/Clownfish/Hierarch
+y.pm line
22.
BEGIN failed--compilation aborted at clownfish/blib/lib/Clownfish/Hier
+archy.pm l
ine 22.
Compilation failed in require at buildlib/Lucy/Build.pm line 237.

Any idea? 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