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

From Stefan Boddie
DateSat, 3 May 2003 17:05:05 +1200
Subject Re: [greenstone-users] buildcol.pl fails at mg_passes
In-Reply-To (3EB1F2B5-8050007-princeton-edu)
>
> 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?
>

GSDLOS is fine. Did you remember to set your PATH variable to include the
appropriate Greenstone directories? Use something like:

export PATH=$PATH:$GSDLHOME/bin/script:$GSDLHOME/bin/$GSDLOS

Note that you can set up your environment by going to the gsdl directory and
typing:

source setup.bash

regards,
Stefan.

> 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
> >
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>