mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 12
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
Post new Thread
Author
Previous Thread This topic has been viewed 10946 times and has 11 replies Next Thread
Male mck_andrew
Newbie




Joined: Jan 7, 2010
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 7, 2010 10:54:06 AM] Show Printable Version of Post    View Member Profile    Send Private Message    mck_andrew [Link] Report threatening or abusive post: please login first  Go to top 
Male ransom1982
Regular




Joined: Sep 28, 2007
Post Count: 75
Status: Offline
Reply to this Post  Reply with Quote 
Re: Ubuntu Linux Could not find module [KJV]

Which instructions did you follow?
[Jan 7, 2010 4:48:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male mck_andrew
Newbie




Joined: Jan 7, 2010
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
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








[Jan 7, 2010 8:26:33 PM] Show Printable Version of Post    View Member Profile    Send Private Message    mck_andrew [Link] Report threatening or abusive post: please login first  Go to top 
Male ransom1982
Regular




Joined: Sep 28, 2007
Post Count: 75
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Jan 7, 2010 8:35:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male mck_andrew
Newbie




Joined: Jan 7, 2010
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
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 $*


[Jan 8, 2010 7:23:50 AM] Show Printable Version of Post    View Member Profile    Send Private Message    mck_andrew [Link] Report threatening or abusive post: please login first  Go to top 
Male mck_andrew
Newbie




Joined: Jan 7, 2010
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
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:~$

[Jan 8, 2010 8:36:10 AM] Show Printable Version of Post    View Member Profile    Send Private Message    mck_andrew [Link] Report threatening or abusive post: please login first  Go to top 
Male mck_andrew
Newbie




Joined: Jan 7, 2010
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 8, 2010 2:22:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    mck_andrew [Link] Report threatening or abusive post: please login first  Go to top 
Male ransom1982
Regular




Joined: Sep 28, 2007
Post Count: 75
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Jan 8, 2010 9:24:27 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male mck_andrew
Newbie




Joined: Jan 7, 2010
Post Count: 9
Status: Offline
Reply to this Post  Reply with Quote 
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'

[Jan 8, 2010 10:25:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message    mck_andrew [Link] Report threatening or abusive post: please login first  Go to top 
Male ransom1982
Regular




Joined: Sep 28, 2007
Post Count: 75
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Jan 8, 2010 10:36:50 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
Show Printable Version of Thread  Post new Thread