mvnForum Homepage


Posted by dmsmith at Jun 28, 2007 8:43:22 AM
Re: corba/orbitcpp bindings make errors
I'm glad you fixed your problems. I thought I'd post what I have done. I am no expert and while I may have understood the steps at one point, I don't anymore. However, I still follow them as a cookbook. It probably doesn't answer your question but together with your answer, it may prove useful to someone else.

Build your own Bible Tool:
Setup:
Create the following: (change /home/dmsmith/env to your install location)
/home/dmsmith/env/bin/
/home/dmsmith/env/etc/sword.conf (See below for contents)
/home/dmsmith/env/include/sword/
/home/dmsmith/env/share/sword/locales.d/ (containing all the locales.d files)
/home/dmsmith/env/share/sword/mods.d/ (containing your modules' confs)
/home/dmsmith/env/share/sword/modules/ (containing your modules)

Change usrinst.sh to have a different prefix and sysconfdir

Change makefile for corba to have a different instdir.

Create your website: (I did this in ~dmsmith/public_html)
WEB-INF/swordweb.properties (See below for contents)
WEB-INF/classes/
WEB-INF/lib/struts-tiles.tld
WEB-INF/lib/struts.jar
WEB-INF/lib/struts-html.tld
WEB-INF/lib/greekconverter.jar
WEB-INF/lib/gnu-regexp-1.1.3.jar
WEB-INF/lib/crosswire-i18n.tld
WEB-INF/lib/crosswire.jar
swordweb/ (containing svn co http://www.crosswire.org/svn/swordweb)

Building and installing the sword api and swordweb:
cd sword
svn update
make install
cd bindings/corba/orbitcpp
make clean server install

Bounce the web server to make changes visible:
(replace my.server.org with the name of your server)
http://my.server.org:8080/manager/html/reload?path=/~dmsmith

Access the webserver:
http://my.server.org/~dmsmith/swordweb/webapp/

Files and patches:
etc/sword.conf:
[Install]
DataPath=/usr/share/sword/
AugmentPath=/home/dmsmith/env/share/sword/

WEB-INF/swordweb.properties:
orbexe=/home/dmsmith/env/bin/swordorbserver
defaultBible=NASB