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

Marvin Humphrey commented on LUCY-215:
--------------------------------------

So, zapping Lucy::Build::CBuilder would have the effect of requiring
ExtUtils::CBuilder 0.26_04 for MSVC builds on Windows.  This definitely
doesn't seem like a reason to bump the minimum required version of either Perl
or ExtUtils::CBuilder for everyone.

IMO this is OK so long as we throw a sensible error informing affected users
that they need to upgrade.

{noformat}
    use ExtUtils::CBuilder;

    # ExtUtils::CBuilder#link_executable not implemented for Windows until
    # version 0.26_04.
    if ( $ExtUtils::CBuilder::Version < 0.2604 and $^O =~ /mswin/i ) {
        confess("Version 0.26_04 of ExtUtils::CBuilder is required for "
              . "your system." );
    }
{noformat}
                
> Support extensions written in C
> -------------------------------
>
>                 Key: LUCY-215
>                 URL: https://issues.apache.org/jira/browse/LUCY-215
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Clownfish
>            Reporter: Nick Wellnhofer
>            Assignee: Nick Wellnhofer
>         Attachments: 0001-Use-path_part-instead-of-source_class-in-CFC.patch, 
> 0002-Implement-CFCFileSpec.patch, 
> 0003-LUCY-215-Allow-filename-clash-between-source-and-inc.patch
>
>
> Currently, all Lucy extensions that contain C code must be shipped with the 
> Lucy source tree. In order to support external C-based extensions, Clownfish 
> must be able to compile .cfh files that extend classes from a separate source 
> tree. As discussed on the mailing list, a solution could look like this:
> * Install the .cfh files together with Lucy.
> * When building the extension, rebuild the complete Clownfish hierarchy 
> together with the new classes.
> * Generate C headers, regenerating the headers for Lucy's core classes.
> * Compile the extension.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to