[sword-devel] Stupid Path Question
Troy A. Griffitts
sword-devel@crosswire.org
Sun, 27 Jan 2002 09:54:43 -0700
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" ==============