[sword-devel] How to fix book names in Ukrainian/Russian
Troy A. Griffitts
scribe at crosswire.org
Fri Apr 30 21:54:34 EDT 2021
Try this first:
sudo apt-get install autotools-dev
sudo apt-get install autoconf
On April 30, 2021 5:47:14 PM MST, Evgen Kucherov <zhuke at ukr.net> wrote:
>Hi Troy,
>
>I've tried to build the SWORD on Ubuntu 20.04, but I don't have much
>experience with C projects. Here is where I got stumbled:
>
>zh:~/workspace/sword$ ./autogen.sh
>*** Sword build system generation
>*** Recreating libtool
>libtoolize
>./autogen.sh: 8: libtoolize: not found
>*** Recreating aclocal.m4
>aclocal
>./autogen.sh: 13: aclocal: not found
>*** Recreating configure
>./autogen.sh: 18: autoheader: not found
>./autogen.sh: 19: autoconf: not found
>*** Recreating the Makefile.in files
>./autogen.sh: 23: automake: not found
>
>
>zh:~/workspace/sword$ ./usrinst.sh
>./usrinst.sh: 74: ./configure: not found
>
>Configured to NOT write a global /etc/sword.conf on 'make install'.
>If this is the first time you've installed sword, be sure to run
>'make install_config' if you would like a basic configuration installed
>
>Next you might try something like:
>
>make
>sudo make install
># (and optionally)
>sudo make install_config
>make register
>
>
>Are there any dependencies I have to install before running autogen.sh?
>
>Meanwhile I think I've fixed those errors. Can you check and let me
>know
>if there are any other errors. Files ru-utf8.conf and ru_RU-utf8.conf
>are similar.
>
>Thank you for following up.
>
>/sincerely,/
>/Evgen Kucherov/
>//
>29.04.21 16:13, Troy A. Griffitts пише:
>>
>> Dear Evgen,
>>
>> I've run your patch through our validation and get the errors listed
>> below. The first line is the command I used to test the locale, if
>> you have SWORD build and would like to run this test yourself. The
>> 'parsekey' command is located in a build of SWORD source at
>> sword/tests/parsekey. It tests installed locales, so you'll need to
>> place your edits in your systemwide locale folder, or else make a
>> mini-sword install which looks like:
>>
>> myTextArea/mods.d/
>>
>> myTestArea/locales.d/
>>
>> myTestArea/locales.d/ru-utf8.conf
>>
>> and then make myTestArea your current working folder (cd myTestArea)
>> and then run parsekey from that folder. SWORD prioritized any data
>> installation it finds in the current working folder over the
>> systemwide install. I hope this helps you tests your changes, and if
>
>> you do not feel comfortable compiling SWORD from source to tests, you
>
>> are welcome to simply fix the error described below and resubmit your
>
>> patch and I will let you know if there are any validation errors.
>>
>> The errors below are basically caused from some value being returned
>> which cannot be parsed because it doesn't have an entry which can be
>> matched fully or partially in the Book Abbrevs section.
>>
>> Thank you again for your submission!
>>
>> Troy
>>
>>
>> [scribe at charisLaptop tests]$ ./parsekey jn.1.1 ru_RU
>> VerseKey::Book: Матфея does not have a matching toupper abbrevs
>entry!
>> book number returned was: -1, should be 39. Required entry to add to
>> locale:
>> МАТФЕЯ=Matt
>>
>> VerseKey::Book: Марка does not have a matching toupper abbrevs entry!
>
>> book number returned was: -1, should be 40. Required entry to add to
>> locale:
>> МАРКА=Mark
>>
>> VerseKey::Book: Луки does not have a matching toupper abbrevs entry!
>> book number returned was: -1, should be 41. Required entry to add to
>> locale:
>> ЛУКИ=Luke
>>
>> VerseKey::Book: Иоанна does not have a matching toupper abbrevs
>entry!
>> book number returned was: -1, should be 42. Required entry to add to
>> locale:
>> ИОАННА=John
>>
>> VerseKey::Book: Римлянам does not have a matching toupper abbrevs
>> entry! book number returned was: -1, should be 44. Required entry to
>> add to locale:
>> РИМЛЯНАМ=Rom
>>
>> VerseKey::Book: Галатам does not have a matching toupper abbrevs
>> entry! book number returned was: -1, should be 47. Required entry to
>> add to locale:
>> ГАЛАТАМ=Gal
>>
>> VerseKey::Book: Ефесянам does not have a matching toupper abbrevs
>> entry! book number returned was: -1, should be 48. Required entry to
>> add to locale:
>> ЕФЕСЯНАМ=Eph
>>
>> VerseKey::Book: Филиппийцам does not have a matching toupper abbrevs
>> entry! book number returned was: -1, should be 49. Required entry to
>> add to locale:
>> ФИЛИППИЙЦАМ=Phil
>>
>> VerseKey::Book: Колоссянам does not have a matching toupper abbrevs
>> entry! book number returned was: -1, should be 50. Required entry to
>> add to locale:
>> КОЛОССЯНАМ=Col
>>
>> VerseKey::Book: Титу does not have a matching toupper abbrevs entry!
>> book number returned was: -1, should be 55. Required entry to add to
>> locale:
>> ТИТУ=Titus
>>
>> VerseKey::Book: Филимону does not have a matching toupper abbrevs
>> entry! book number returned was: -1, should be 56. Required entry to
>> add to locale:
>> ФИЛИМОНУ=Phlm
>>
>> VerseKey::Book: Евреям does not have a matching toupper abbrevs
>entry!
>> book number returned was: -1, should be 57. Required entry to add to
>> locale:
>> ЕВРЕЯМ=Heb
>>
>> On 4/28/21 10:45 AM, Evgen Kucherov wrote:
>>>
>>> Hi Troy,
>>>
>>> Thanks for pointing that out.
>>>
>>> It's a case of either choosing a more traditional variation of the
>>> word that is not much in use ("Песнь") or using the modern word
>>> ("Песня"). After giving it a second thought I decided to go back to
>>> "Песня песней". But I added some extra strings in [Book Abbrevs]
>>>
>>> /sincerely,/
>>> /Evgen Kucherov/
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20210430/ada41ce8/attachment.html>
More information about the sword-devel
mailing list