mvnForum Homepage

Print at Aug 3, 2015 10:30:03 PM
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by mck_andrew at Jan 7, 2010 10:54:06 AM
confused   Ubuntu Linux Could not find module [KJV]
I have installed according to the instructions and I continue to get "Could not find module [KJV]"

drew@key:~$ ./lookup KJV "James 1:1"
Could not find module [KJV]. Available modules:
drew@key:~$



here is what my install looks like:

drew@key:~$ more /etc/sword.conf
[Install]
DataPath=/usr/share/sword/

drew@key:~$
drew@key:~$ more /etc/sword.conf
[Install]
DataPath=/usr/share/sword/

drew@key:~$ ls /usr/share/sword/
locales.d mods.d modules
drew@key:~$ ls /usr/share/sword/mods.d/
asv.conf kjv.conf
drew@key:~$ more /usr/share/sword/mods.d/kjv.conf
[KJV]
DataPath=./modules/texts/ztext/kjv/
ModDrv=zText
Encoding=UTF-8
BlockType=BOOK

.....................................................

drew@key:~$ ls /usr/share/sword/modules/texts/ztext/kjv/
kjvpref.rtf nt.bzs nt.bzv nt.bzz ot.bzs ot.bzv ot.bzz
drew@key:~$




confused

I appreciate any help, thank you in advance.
Andrew

Posted by ransom1982 at Jan 7, 2010 4:48:08 PM
Re: Ubuntu Linux Could not find module [KJV]
Which instructions did you follow?

Posted by mck_andrew at Jan 7, 2010 8:26:33 PM
Re: Ubuntu Linux Could not find module [KJV]
I followed this for install:



code] ./usrinst.sh
make
su
make install

If you have never installed sword before and/or are happy with a default
configuration, you may wish to type:

make install_config



This for modules:

To be useful the software needs to find SWORD 'modules' installed somewhere
accessible. These module plugins consist of Bible texts, commentaries,
dictionaries, and the like. New plugins are constantly being added. They
may be obtained from:
http://www.crosswire.org or various mirrors.

In a default SWORD configuration, the module install process may look like this:

[download a module with your favourite client]
su
cd /usr/share/sword
unzip ~/KJV.zip









Posted by ransom1982 at Jan 7, 2010 8:35:56 PM
Re: Ubuntu Linux Could not find module [KJV]
OK, I'm not sure exactly what's going on here. To know for sure, I need to see the contents of usrinst.sh, and know which version of sword you downloaded. usrinst.sh isn't needed in the newest version (1.6.1) and ./configure will give you better defaults.

Alternatively, unzip your modules to ~/.sword rather than /usr/share/sword. Or, use the command line tool installmgr to install them. It should choose a correct location.

Posted by mck_andrew at Jan 8, 2010 7:23:50 AM
Re: Ubuntu Linux Could not find module [KJV]
I'm using sword 1.6.1
here is the content of the usrinst.sh:







OPTIONS="--prefix=/usr $OPTIONS"
OPTIONS="--libdir=/usr/lib64 $OPTIONS"
OPTIONS="--sysconfdir=/etc $OPTIONS"
OPTIONS="--without-conf $OPTIONS"
OPTIONS="--disable-shared $OPTIONS"
OPTIONS="--enable-debug $OPTIONS"
#OPTIONS="--enable-profile $OPTIONS"

OPTIONS="--without-icu $OPTIONS"
#OPTIONS="--with-icusword $OPTIONS"
#OPTIONS="--without-clucene $OPTIONS"
#OPTIONS="--without-curl $OPTIONS"

#OPTIONS="--disable-tests $OPTIONS"
#OPTIONS="--disable-utilities $OPTIONS"


# Use these for Windows DLL build
#LIBS="-no-undefined"
#OPTIONS="lt_cv_deplibs_check_method=pass_all $OPTIONS"

LIBS="$LIBS" ./configure $OPTIONS $*



Posted by mck_andrew at Jan 8, 2010 8:36:10 AM
Re: Ubuntu Linux Could not find module [KJV]
Installed a module using installmgr:



./installmgr -ri CrossWire Nave


[ Total Bytes: 1832186; Completed Bytes: 0 ]


Downloading (1 of 3): nave.dat
[ File Bytes: 1797484 ]
--------------------------------------------------------------------------
[ Total Bytes: 1832186; Completed Bytes: 1797484 ]
========================================================================

Downloading (2 of 3): nave.doc
[ File Bytes: 2764 ]
--------------------------------------------------------------------------
[ Total Bytes: 1832186; Completed Bytes: 1800248 ]
========================================================================

Downloading (3 of 3): nave.idx
[ File Bytes: 31938 ]
----------------------------------------------------------------------
Installed module: [Nave]



I checked to see where it put the files, but didn't get anything back:

drew@key:~/swordProject/sword-1.6.1/utilities$ sudo find / -name nave.dat
drew@key:~/swordProject/sword-1.6.1/utilities$


Assuming it does something with the files that i wouldn't be able to find it, I try to use the installed module:



drew@key:~$ ./lookup Nave "James 1:1"
Could not find module [Nave]. Available modules:
drew@key:~$


Posted by mck_andrew at Jan 8, 2010 2:22:00 PM
Re: Ubuntu Linux Could not find module [KJV]
I'm still having the same problem on my Ubuntu install.

Can't find any modules and none available

This time I installed using fresh download of 1.6.1 and the follwing commands:

configure --without-icu
make
sudo make install


this set up everything in the /usr/local/share/sword

I tried runing some test. I'm getting a segmentation fault which I was getting before when I ran one of the utilities I believe:


drew@key:~/sword-1.6.1/tests$ ./mgrtest

LOOKING UP MODULE CONFIGURATION...
Checking for provided SWConfig("sword.conf")...
Checking working directory for sword.conf...
Checking working directory for mods.conf...
Checking working directory for mods.d...
Checking working directory ../library/ for mods.d...
Checking $SWORD_PATH...
Parsing /usr/local/etc/sword.conf...
Checking for /usr/local/etc/sword.conf...
found.
DataPath in /usr/local/etc/sword.conf is set to /usr/local/share/sword/.
Checking for mods.conf in DataPath...
Checking for mods.d in DataPath...
found.
LOOKING UP MODULE CONFIGURATION COMPLETE.


prefixPath: /usr/local/share/sword/
configPath: /usr/local/share/sword/mods.d

drew@key:~/sword-1.6.1/tests$ ./modtest
Segmentation fault
drew@key:~/sword-1.6.1/tests$ /home/drew/lookup ASV "James 1:1"
Could not find module [ASV]. Available modules:
drew@key:~/sword-1.6.1/tests$



Please help, and thank you Ransom for responses if your still there please stick with me
Thanks again
Andrew

Posted by ransom1982 at Jan 8, 2010 9:24:27 PM
Re: Ubuntu Linux Could not find module [KJV]
Are you sure that it actually compiled correctly? Can you post the build output? It will tell you it's complete even if there are errors. For example, you could be missing the clucene or curl. Please run "make" again and post the output.

Just so you know, I won't be around the next few days. I suggest you try this link: http://webchat.freenode.net/?channels=sword Just enter your name and join, and someone may be able to help you, although possibly not right away.

Posted by mck_andrew at Jan 8, 2010 10:25:44 PM
Re: Ubuntu Linux Could not find module [KJV]
Thanks Ransom, here is the output of make:


drew@key:~/sword-1.6.1$ make
Making all in lib
make[1]: Entering directory `/home/drew/sword-1.6.1/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/drew/sword-1.6.1/lib'
Making all in .
make[1]: Entering directory `/home/drew/sword-1.6.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/drew/sword-1.6.1'
Making all in icu
make[1]: Entering directory `/home/drew/sword-1.6.1/icu'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/drew/sword-1.6.1/icu'
Making all in tests
make[1]: Entering directory `/home/drew/sword-1.6.1/tests'
Making all in cppunit
make[2]: Entering directory `/home/drew/sword-1.6.1/tests/cppunit'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drew/sword-1.6.1/tests/cppunit'
make[2]: Entering directory `/home/drew/sword-1.6.1/tests'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/drew/sword-1.6.1/tests'
make[1]: Leaving directory `/home/drew/sword-1.6.1/tests'
Making all in utilities
make[1]: Entering directory `/home/drew/sword-1.6.1/utilities'
Making all in diatheke
make[2]: Entering directory `/home/drew/sword-1.6.1/utilities/diatheke'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drew/sword-1.6.1/utilities/diatheke'
make[2]: Entering directory `/home/drew/sword-1.6.1/utilities'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/drew/sword-1.6.1/utilities'
make[1]: Leaving directory `/home/drew/sword-1.6.1/utilities'


Posted by ransom1982 at Jan 8, 2010 10:36:50 PM
Re: Ubuntu Linux Could not find module [KJV]
OK, that appears correct. I'm really grasping at straws now. Clearly something is wrong, but it's hard to imagine what. Could you post the contents of config.log?

Posts: 12   Pages: 2   [ 1 2 | Next Page ]