<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>Try this first:<br><br>sudo apt-get install autotools-dev<br>sudo apt-get install autoconf<br><br><br><br><div class="gmail_quote">On April 30, 2021 5:47:14 PM MST, Evgen Kucherov <zhuke@ukr.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p>Hi Troy, <br>
</p>
<p>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:<br>
</p>
<p>zh:~/workspace/sword$ ./autogen.sh <br>
*** Sword build system generation<br>
*** Recreating libtool<br>
libtoolize<br>
./autogen.sh: 8: libtoolize: not found<br>
*** Recreating aclocal.m4<br>
aclocal<br>
./autogen.sh: 13: aclocal: not found<br>
*** Recreating configure<br>
./autogen.sh: 18: autoheader: not found<br>
./autogen.sh: 19: autoconf: not found<br>
*** Recreating the Makefile.in files<br>
./autogen.sh: 23: automake: not found</p>
<p><br>
</p>
<p>zh:~/workspace/sword$ ./usrinst.sh <br>
./usrinst.sh: 74: ./configure: not found<br>
<br>
Configured to NOT write a global /etc/sword.conf on 'make
install'.<br>
If this is the first time you've installed sword, be sure to run<br>
'make install_config' if you would like a basic configuration
installed<br>
<br>
Next you might try something like: <br>
<br>
make<br>
sudo make install<br>
# (and optionally)<br>
sudo make install_config<br>
make register</p>
<p><br>
</p>
<p>Are there any dependencies I have to install before running
autogen.sh?<br>
</p>
<p>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.</p>
<p>Thank you for following up.<br>
</p>
<div class="moz-signature"><i>sincerely,</i><br>
<i>Evgen Kucherov</i></div>
<div class="moz-signature"><i></i><br>
</div>
<div class="moz-cite-prefix">29.04.21 16:13, Troy A. Griffitts пише:<br>
</div>
<blockquote type="cite" cite="mid:703e744b-2131-b503-88d0-442d526eaefe@crosswire.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Dear Evgen,</p>
<p>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:</p>
<p>myTextArea/mods.d/</p>
<p>myTestArea/locales.d/</p>
<p>myTestArea/locales.d/ru-utf8.conf</p>
<p>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.</p>
<p>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.<br>
</p>
<p>Thank you again for your submission!</p>
<p>Troy</p>
<p><br>
</p>
<p>[scribe@charisLaptop tests]$ ./parsekey jn.1.1 ru_RU<br>
VerseKey::Book: Матфея does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 39. Required
entry to add to locale:<br>
МАТФЕЯ=Matt<br>
<br>
VerseKey::Book: Марка does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 40. Required
entry to add to locale:<br>
МАРКА=Mark<br>
<br>
VerseKey::Book: Луки does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 41. Required
entry to add to locale:<br>
ЛУКИ=Luke<br>
<br>
VerseKey::Book: Иоанна does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 42. Required
entry to add to locale:<br>
ИОАННА=John<br>
<br>
VerseKey::Book: Римлянам does not have a matching toupper
abbrevs entry! book number returned was: -1, should be 44.
Required entry to add to locale:<br>
РИМЛЯНАМ=Rom<br>
<br>
VerseKey::Book: Галатам does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 47. Required
entry to add to locale:<br>
ГАЛАТАМ=Gal<br>
<br>
VerseKey::Book: Ефесянам does not have a matching toupper
abbrevs entry! book number returned was: -1, should be 48.
Required entry to add to locale:<br>
ЕФЕСЯНАМ=Eph<br>
<br>
VerseKey::Book: Филиппийцам does not have a matching toupper
abbrevs entry! book number returned was: -1, should be 49.
Required entry to add to locale:<br>
ФИЛИППИЙЦАМ=Phil<br>
<br>
VerseKey::Book: Колоссянам does not have a matching toupper
abbrevs entry! book number returned was: -1, should be 50.
Required entry to add to locale:<br>
КОЛОССЯНАМ=Col<br>
<br>
VerseKey::Book: Титу does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 55. Required
entry to add to locale:<br>
ТИТУ=Titus<br>
<br>
VerseKey::Book: Филимону does not have a matching toupper
abbrevs entry! book number returned was: -1, should be 56.
Required entry to add to locale:<br>
ФИЛИМОНУ=Phlm<br>
<br>
VerseKey::Book: Евреям does not have a matching toupper abbrevs
entry! book number returned was: -1, should be 57. Required
entry to add to locale:<br>
ЕВРЕЯМ=Heb<br>
<br>
</p>
<div class="moz-cite-prefix">On 4/28/21 10:45 AM, Evgen Kucherov
wrote:<br>
</div>
<blockquote type="cite" cite="mid:157f3dc2-e7ab-3a50-2420-809650f31b6a@ukr.net">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<p>Hi Troy,</p>
<p>Thanks for pointing that out.</p>
<p>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] </p>
<div class="moz-signature"><i>sincerely,</i><br>
<i>Evgen Kucherov</i></div>
</blockquote>
</blockquote>
</blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>