[sword-devel] SWORD 1.9.0RC1 Available

Dominique Corbex dominique at corbex.org
Fri Sep 11 14:50:42 EDT 2020


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

But I'm not a Perl Monger and I don't know how to fix that bug.

-- 
domcox <dominique at corbex.org>


More information about the sword-devel mailing list