[sword-devel] SWORD 1.7.0 final stretch

Troy A. Griffitts scribe at crosswire.org
Fri Jul 5 19:00:42 MST 2013


How are we looking these day for everyone?

Chris and I have ironed out the Rahlfs v11n.

Peter, still wondering if we have a problem we need to fix for you.  Do 
our Perl and Python bindings work for other people with a similar 
configuration as you?

Let's wrap up an RC1 this weekend.

Troy



On 06/23/2013 11:01 AM, Peter von Kaehne wrote:
> On Wed, 2013-06-19 at 10:45 +0200, Troy A. Griffitts wrote:
>
>> Peter, still binding troubles? Can you give me your exact commands
>> executed and I'll try them here.
> Yes. Building works, using the Perl bindings though fails invariably.
>
> cd ~/Source/sword
> make clean
> make distclean
> svn up
> ./autogen.sh
> ./usrinst.sh
> make
> sudo make install
> cd bindings/swig/package
> libtoolize --force
> ./autogen.sh
> ./configure
> make perlswig
> make perl_make
> cd perl
> sudo make install
> cd ~Source/sword-tools/modules/crossreferences
> ./xreffix.pl
>
> the result of the last command or indeed any other command relying on
> the perl bindings is
>
> Can't load '/usr/local/lib/perl/5.14.2/auto/Sword/Sword.so' for module
> Sword: /usr/local/lib/perl/5.14.2/auto/Sword/Sword.so: undefined symbol:
> __cxa_pure_virtual at /usr/lib/perl/5.14/DynaLoader.pm line 184.
>   at /usr/local/lib/perl/5.14.2/Sword.pm line 11
> Compilation failed in require at ./xreffix.pl line 41.
> BEGIN failed--compilation aborted at ./xreffix.pl line 41.
>
>
> The only thing to say is that I have edited my usrinst.sh to set the
> prefixes to /usr/local, which is what I have always done to keep my
> system clean.
>
> Below is the diff of my usrinst.sh
>
> Index: usrinst.sh
> ===================================================================
> --- usrinst.sh	(revision 2831)
> +++ usrinst.sh	(working copy)
> @@ -20,13 +20,14 @@
>   #
>   #
>   
> -OPTIONS="--prefix=/usr $OPTIONS"
> -if [ -d /usr/lib64 ]
> -then
> -	OPTIONS="--libdir=/usr/lib64 $OPTIONS"
> -else
> -	OPTIONS="--libdir=/usr/lib $OPTIONS"
> -fi
> +OPTIONS="--prefix=/usr/local $OPTIONS"
> +# if [ -d /usr/lib64 ]
> +# then
> +#	OPTIONS="--libdir=/usr/lib64 $OPTIONS"
> +# else
> +# 	OPTIONS="--libdir=/usr/lib $OPTIONS"
> +# fi
> +OPTIONS="--libdir=/usr/local/lib $OPTIONS"
>   OPTIONS="--sysconfdir=/etc $OPTIONS"
>   OPTIONS="--without-conf $OPTIONS"
>   OPTIONS="--disable-shared $OPTIONS"
> peter at peter-ThinkPad-Twist:~/Source/sword$
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list