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

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

Reply via email to