Re: [greenstone-users] buildcol.pl fails at mg_passes

From Clay Redding
DateFri, 02 May 2003 00:23:17 -0400
Subject Re: [greenstone-users] buildcol.pl fails at mg_passes
In-Reply-To (3EB1D9B5-2020502-cs-waikato-ac-nz)
John, thanks for the quick reply.

I installed using the binaries. I am able to find the mg_passes program
in $GSDLHOME/bin/linux. During installation, the commands to set and
export the environment variables didn't work. I've had this happen on
Mandrake with other software products when running bash as the default
shell -- if the installation script is written using sh, for whatever
reason, even though the shebang info is correct, the export command does
not alway update my environment. So, I ended up setting $GSDLHOME and
$GSDLOS manually. In my .bash_profile (user) and .bashrc (root):

GSDL=/usr/local/greenstone/gsdl
GSDLOS=linux
export GSDL GSDLOS (plus numerous others, etc.)

Is the GSDLOS variable incorrect? Are there other variables that were
supposed to be set by the installation script that might be missing?

Clay

John R. McPherson wrote:

> Clay Redding wrote:
>
>> Hi all,
>>
>> I'm a Greenstone newbie trying to install my first collection (a
>> single PDF document).
>>
>
>> collecting text statistics
>> ArcPlug: processing
>> /usr/local/greenstone/gsdl/collect/academy/archives/archives.inf
>> GAPLug: processing D0.dir/doc.xml
>> sh: line 1: mg_passes: command not found
>
>
> this definitely sounds like an installation problem if one of the
> executable programs wasn't found. How did you install greenstone?
> mg_passes is responsible for compressing and indexing the text, and
> if it can't be found then the collection is not going to work.
>
> John McPherson
>