[sword-devel] Stupid Path Question
Timothy R. Butler
sword-devel@crosswire.org
Sun, 27 Jan 2002 20:11:12 -0600
Hi Troy,
Thanks for the help. I arranged put a symlink in for ~/.sword, which helped
to avoid setting $SWORD_PATH. Anyway, your message also got me thinking, and
I realized that I didn't have a sword.conf anywhere. So I copied one off of
my desktop Linux install and placed it in ~/.sword/, and then finally
everything worked! :-)
Thanks for your help!
-Tim
On Sunday 27 January 2002 10:54 am, you wrote:
> Timothy,
> Still seems to be a path issue.
>
> The API looks for its module configuration in the following sequence:
> ./mods.[conf|d]
> $SWORD_PATH/mods.[conf|d]
> $HOME/.sword/mods.[conf|d]
> or finally from information found in a system-wide configuration
> file
> /etc/sword.conf in the format:
> [Install]
> DataPath=/where/your/datafiles/are/installed
> then the API will look for ${DataPath}/mods.[conf|d]
>
> hope this helps. PS. The DataPath in the <module>.conf points to a path
> RELATIVE to where the library finds as it's base directory for modules.
>
>
> Hope this helps. Let me know.
>
> -Troy.
>
> "Timothy R. Butler" wrote:
> > Well, I feel rather foolish replying to my self again, but here we go:
> >
> > I setup diatheke, and it seems to be able to find the ASV... but... I
> > can't seem to get verses to come up right. For instance, if I type:
> >
> > /home/uninet/sword/bin/diatheke -l en -m 50 -f thml -b ASV -k "Gen
> > 1:1"
> >
> > (i.e. the command passed from Diatheke/CGI), I get this as the output:
> >
> > Genesis 1:1: <br />
> >
> > Any ideas? :-)
> >
> > Thanks,
> > Tim
> >
> > --
> > ----------------------------------------------------------------
> > Timothy R. Butler | Universal Networks | http://www.uninet.info
> > tbutler@uninetsolutions.com ICQ: 12495932 AIM: Uninettm
> > Christian Portal and Search Tool: http://www.faithtree.com
> > Open Source Migration Guide: http://www.ofb.biz
> > ============= "Christian Web Services Since 1996" ==============
--
----------------------------------------------------------------
Timothy R. Butler | Universal Networks | http://www.uninet.info
tbutler@uninetsolutions.com ICQ: 12495932 AIM: Uninettm
Christian Portal and Search Tool: http://www.faithtree.com
Open Source Migration Guide: http://www.ofb.biz
============= "Christian Web Services Since 1996" ==============