[sword-devel] SWORD 1.9.0RC1 Available

Greg Hellings greg.hellings at gmail.com
Fri Sep 11 15:01:24 EDT 2020


On Fri, Sep 11, 2020 at 1:58 PM Dominique Corbex <dominique at corbex.org>
wrote:

> On Fri, 11 Sep 2020 13:30:56 -0500
> Greg Hellings <greg.hellings at gmail.com> wrote:
>
> > Something is broken in the Perl bindings build.
>
> In bindings/swig/perl/CMakeLists.txt, we have:
>
> WriteMakefile(
>         'NAME'          => 'Sword',
>         'VERSION'       => '${SWORD_VERSION}',
>         'INC'           => '-I\"${CMAKE_SOURCE_DIR}/include\"
> -I\"${CMAKE_CURRENT_SOURCE_DIR}/..\"',
>         'DEFINE'        => '-DSWIG',
>         'LIBS'          => '-L\"${CMAKE_BINARY_DIR}\" -lsword -lz',
>         'FIRST_MAKEFILE' => 'Makefile.perlswig',
>         'PREREQ_PM'     => {},
>                 ($] >= 5.005 ? ## Add these new keywords supported since
> 5.005
>                 (ABSTRACT => 'Sword Project perl bindings', # retrieve
> abstract from module
>                 AUTHOR => 'Sword Project <sword-devel at crosswire.org>') :
> ()),
> );
>
> According to https://perldoc.perl.org/ExtUtils/MakeMaker.html:
> INSTALLDIRS is not set, the default is SITEPREFIX I guess, so the Perl
> bindings fails because
> - Perl bindings are built in /usr/local/lib
> - Sword Swig is built in /usr/lib
>

This is good to keep in mind, but the problem is more fundamentally that
the makefile above isn't getting generated (possibly at all, possibly in a
different path - I wasn't in a position to check that out, specifically)

--Greg

>
> But I'm not a Perl Monger and I don't know how to fix that bug.
>
> --
> domcox <dominique at corbex.org>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20200911/69c2480e/attachment.html>


More information about the sword-devel mailing list