<div dir="ltr">Try doing it as not root. I don't know why the docs suggest using root to do the work, but try doing it in your local directory by running the installmgr commands without being root.<div><br></div><div>--Greg<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 29, 2014 at 4:15 PM, Jon Behrens <span dir="ltr"><<a href="mailto:jbb@crimsonthread.com" target="_blank">jbb@crimsonthread.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
This started out as a C# binding question, but the problem is deeper than that. Basically<br>
I can't get the installmgr to do anything useful. I am new to Linux, but have been writing software on other platforms for ~50 years.<br>
<br>
To insure that my machine configuration was not the problem (I had installed Xiphos<br>
and BibleTime earlier), I set up a new virtual machine using VirtualBox and Mint 17.<br>
<br>
I updated all the packages and installed build-essentials. No other software.<br>
I downloaded Sword-1.73 and uncompressed it into a folder 'sword-1.7.3' under my<br>
home directory.<br>
<br>
I then followed the instructions in the INSTALL file and everything appeared to make<br>
correctly.<br>
<br>
I went to the utilities directory and ran the installmgr<br>
<br>
sudo ./installmgr -sc //Synch with master appeared to work<br>
sudo ./installmgr -r CrossWire //refresh remote source - appears to work, 411 packages<br>
sudo ./installmgr -ri CrossWire KJV //returns 'Remote source [CrossWire] does not make available module [KJV]<br>
<br>
sudo ./installmgr -rl CrossWire //list modules on CrossWire - sure enough, no KJV<br>
<br>
Went to ~/.sword/InstallMgr/<u></u>20081216195754/mods.d/ and found kjv.conf. So refreshing the remote source finds KJV but install does not.<br>
<br>
OK - let's try a local install:<br>
<br>
Downloaded ESV.zip and unpacked it into the same directory (Downloads)<br>
<br>
sudo ./installmgr -li ~/Downloads/ESV.zip ESV<br>
Module [ESV] not available at path [/home/jsb/Downloads/ESV.zip]<br>
<br>
sudo ./installmgr -li ~/Downloads/ESV ESV<br>
Module [ESV] not available at path [/home/jsb/Downloads/ESV]<br>
<br>
sudo ./installmgr -li ~/Downloads/ESV/mods.d ESV<br>
Module [ESV] not available at path [/home/jsb/Downloads/ESV/mods.<u></u>d]<br>
<br>
sudo ./installmgr -li ~/Downloads/ESV/modules ESV<br>
Module [ESV] not available at path [/home/jsb/Downloads/ESV/<u></u>modules]<br>
<br>
Well, that didn't work. So let's try just extracting the archive into /usr/share/sword<br>
<br>
cd /usr/share/sword<br>
sudo unzip ~/Downloads/ESV.zip<br>
Archive: /home/jsb/Downloads/ESV.zip<br>
inflating: modules/texts/ztext/esv/nt.bzv<br>
inflating: modules/texts/ztext/esv/nt.bzs<br>
inflating: modules/texts/ztext/esv/ot.bzs<br>
inflating: modules/texts/ztext/esv/nt.bzz<br>
inflating: modules/texts/ztext/esv/ot.bzv<br>
inflating: modules/texts/ztext/esv/ot.bzz<br>
inflating: mods.d/esv.conf<br>
<br>
That's hopeful, let's try it out.<br>
<br>
cd ~/sword-1.7.3/examples/cmdline //previously made this project<br>
./lookup ESV Jn.3.16<br>
Could not find module [ESV]. Available modules:<br>
<br>
Note that the list of available modules is empty.<br>
<br>
So at this point I'm stuck. It is my hope to write a front end in C#, but I can't seem to get the package installed and working properly.<br>
<br>
I'd appreciate any help.<br>
Jon<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<u></u>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote></div><br></div></div></div>