Re: [greenstone-users] Collection Building Problems Under OSX Pather, hashfile not found

From Carl Jones
DateWed, 13 Jul 2005 17:21:01 -0400
Subject Re: [greenstone-users] Collection Building Problems Under OSX Pather, hashfile not found
In-Reply-To (42D5843F-9020209-cs-waikato-ac-nz)
Thanks, Michael.

Simple, and that would be the missing piece then.

Sorry to be such a bother! :)

Carl

Michael Dewsnip wrote:
> Hi Carl,
>
> You also need to add "/Applications/greenstone/bin/darwin" and
> "/Applications/greenstone/bin/script" to your PATH variable. This is
> typically done by the setup.bash/setup.csh scripts (which also set
> GSDLHOME and GSDLOS).
>
> Hope this helps to get you going,
>
> All the best,
>
> Michael
>
>
>
> Carl Jones wrote:
>
>
>>Hi,
>>
>>I'm getting the following error of "hashfile not found" (along with
>>other errors of not being able to find programs such as mg_passes,
>>text2db, etc.) when trying to build collections under Greenstone 2.60
>>under OSX Panther 10.3.9 with perl v5.8.1-RC3. I've had the same
>>results whether building from the GLI or the command line.
>>
>>I've set GSDLHOME to /Applications/greenstone
>>and GSDLOS to "darwin", but somehow greenstone doesn't want to find the
>>executable hashfile, mgpp_passes,etc., and other utilitiess under
>>/Applications/greenstone/bin/darwin.
>>
>>My build results yield empty documents. None of the browse or search
>>classifiers work etc.
>>
>>I would dearly appreciate it anyone has a suggestion of what I might be
>>doing wrong.
>>
>>Thanks!
>>
>>/Carl
>>
>>
>>import.pl> ImagePlug processing
>>/Applications/greenstone/collect/saskia/import/kfa0166.jpg
>>import.pl> sh: line 1: hashfile: command not found
>>import.pl> Use of uninitialized value in concatenation (.) or string at
>>/Applications/greenstone/perllib/doc.pm line 631.
>>import.pl> ImagePlug processing
>>/Applications/greenstone/collect/saskia/import/kfa0167.jpg
>>
>>.
>>.
>>.
>>Command complete.
>>import.pl> Extracting new metadata from archive files.
>>import.pl> Archived metadata extraction complete.
>>Command: /Applications/greenstone/bin/script/buildcol.pl -gli -language
>>en -collectdir /Applications/greenstone/collect/ saskia
>>buildcol.pl> *** creating the compressed text
>>buildcol.pl> collecting text statistics
>>buildcol.pl> sh: line 1: mg_passes: command not found
>>buildcol.pl> ArcPlug: processing
>>/Applications/greenstone/collect/saskia/archives/archives.inf
>>buildcol.pl> GAPlug: processing HASH.dir/doc.xml
>>buildcol.pl> Stats (Compressing text from section:text)
>>buildcol.pl> Total bytes in collection: 26
>>buildcol.pl> Total bytes in section:text: 26
>>buildcol.pl> ***************
>>buildcol.pl> WARNING: There is very little or no text to compress
>>buildcol.pl> Was this your intention?
>>buildcol.pl> ***************
>>buildcol.pl> creating the compression dictionary
>>buildcol.pl> sh: line 1: mg_compression_dict: command not found
>>buildcol.pl> sh: line 1: mg_passes: command not found
>>buildcol.pl> compressing the text
>>buildcol.pl> ArcPlug: processing
>>/Applications/greenstone/collect/saskia/archives/archives.inf
>>buildcol.pl> GAPlug: processing HASH.dir/doc.xml
>>buildcol.pl> Stats (Compressing text from section:text)
>>buildcol.pl> Total bytes in collection: 26
>>buildcol.pl> Total bytes in section:text: 26
>>buildcol.pl> ***************
>>buildcol.pl> WARNING: There is very little or no text to compress
>>buildcol.pl> Was this your intention?
>>buildcol.pl> ***************
>>buildcol.pl> *** building index document:text in subdirectory dtx
>>buildcol.pl> creating index dictionary
>>buildcol.pl> sh: line 1: mg_passes: command not found
>>buildcol.pl> ArcPlug: processing
>>/Applications/greenstone/collect/saskia/archives/archives.inf
>>buildcol.pl> GAPlug: processing HASH.dir/doc.xml
>>buildcol.pl> Stats (Creating index document:text)
>>buildcol.pl> Total bytes in collection: 26
>>buildcol.pl> Total bytes in document:text: 26
>>buildcol.pl> ***************
>>buildcol.pl> WARNING: There is very little or no text to process for
>>document:text
>>buildcol.pl> Was this your intention?
>>buildcol.pl> ***************
>>buildcol.pl> mgbuilder::build_index - Couldn't create index document:text
>>buildcol.pl> *** building index document:Source in subdirectory dsr
>>buildcol.pl> creating index dictionary
>>buildcol.pl> sh: line 1: mg_passes: command not found
>>buildcol.pl> ArcPlug: processing
>>/Applications/greenstone/collect/saskia/archives/archives.inf
>>buildcol.pl> GAPlug: processing HASH.dir/doc.xml
>>buildcol.pl> Stats (Creating index document:Source)
>>buildcol.pl> Total bytes in collection: 26
>>buildcol.pl> Total bytes in document:Source: 11
>>buildcol.pl> ***************
>>buildcol.pl> WARNING: There is very little or no text to process for
>>document:Source
>>buildcol.pl> Was this your intention?
>>buildcol.pl> ***************
>>buildcol.pl> mgbuilder::build_index - Couldn't create index document:Source
>>buildcol.pl> *** building index document:dc.Title,Title in subdirectory ddt
>>buildcol.pl> creating index dictionary
>>buildcol.pl> sh: line 1: mg_passes: command not found
>>buildcol.pl> ArcPlug: processing
>>/Applications/greenstone/collect/saskia/archives/archives.inf
>>buildcol.pl> GAPlug: processing HASH.dir/doc.xml
>>buildcol.pl> Stats (Creating index document:dc.Title,Title)
>>buildcol.pl> Total bytes in collection: 26
>>buildcol.pl> Total bytes in document:dc.Title,Title: 7
>>buildcol.pl> ***************
>>buildcol.pl> WARNING: There is very little or no text to process for
>>document:dc.Title,Title
>>buildcol.pl> Was this your intention?
>>buildcol.pl> ***************
>>buildcol.pl> mgbuilder::build_index - Couldn't create index
>>document:dc.Title,Title
>>buildcol.pl> *** creating the info database and processing associated files
>>buildcol.pl> sh: line 1: txt2db: command not found
>>buildcol.pl> ArcPlug: processing
>>/Applications/greenstone/collect/saskia/archives/archives.inf
>>buildcol.pl> GAPlug: processing HASH.dir/doc.xml
>>buildcol.pl> WARNING: AZList: HASH metadata is empty - not classifying
>>buildcol.pl> *** creating auxiliary files
>>buildcol.pl> sh: line 1: mgstat: command not found
>>buildcol.pl> Command complete.
>>
>>
>>
>>
>>Collections come up as
>>
>>"This collection contains 1 documents. It was last built 0 days ago"
>>
>>_______________________________________________
>>greenstone-users mailing list
>>greenstone-users@list.scms.waikato.ac.nz
>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>>
>>
>
>