Re: [greenstone-users] Unix compile error for OS X Server

From John R. McPherson
DateWed, 28 Apr 2004 22:15:10 +1200
Subject Re: [greenstone-users] Unix compile error for OS X Server
In-Reply-To (91EB0AEC-98D6-11D8-BE59-00039396E3E8-feorlen-org)
On Tue, Apr 27, 2004 at 10:40:34PM -0700, Andrea wrote:

> That's interesting, considering the install documentation that comes
> with the OS X package clearly favors the usual OS X method: "Click on
> the Pretty Icon." Doesn't work too well from a terminal window. (I'm
> not fond of installs by hand and I'd rather use a nice script if there
> is one to be had. No typos to be created that way.)

Yes, well I'm a shell-scripter at heart, and I don't know applescript/
cocoa programming :)

The macosx greenstone installer merely opens up a terminal window and
runs a shell script interactively that asks a couple of questions. It
should work just as well from a remote ssh session. (This is how we
mostly wrote and tested it). The only thing is that it expects to be
called with its full pathname, since it manipulates that to figure out
where it is being run from.

Anyway, after downloading the zip file and unzipping it, run
$ "/path/to/greenstone/Greenstone Installer.app/Contents/MacOS/osxinstall.sh"
(you need the quotes since there is a space in the directory name) and
you will get the same install as people doing it using the "graphical"
installer. The installer script just copies the Greenstone directory
into the /Library area and sets up the config files.

While the greenstone team recommend the "Greenstone Librarian Interface"
java program as the preferred way to create collections, the command line
stuff should all work as documented, and you can build collections as
documented in the User.pdf file
(cd /Applications/Greenstone; source setup.bash;)

John McPherson