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

> On Fri, 11 Sep 2020 13:30:56 -0500
> Greg Hellings <greg.helli...@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@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 <domini...@corbex.org>
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to