Re: [greenstone-devel] problem with build on OSX

From Michael Dewsnip
DateMon, 19 Dec 2005 09:11:58 +1300
Subject Re: [greenstone-devel] problem with build on OSX
In-Reply-To (f06230900bfca10f372c9-172-16-1-51)
Hi Rich,

In recent versions of Greenstone "-cover_image" is always on, so this
option has been removed. (There is a new "-no_cover_image" option if you
explicitly want to turn this behaviour off).

To fix your problem you need to remove the "-cover_image" option from
ImagePlug, either in the GLI (if possible), or by editing the
collect.cfg file manually.

I'm not sure why this worked on Windows but not on Mac OS X.

All the best,

Michael

Rich Robinson wrote:

> Hi,
>
> Till now I've built my collections on a Windows machine, then FTP'd to
> a UNIX box at our ISP to serve the collection to the public. I am on
> Greenstone 2.62.
>
> I recently installed 2.62 on my OS 10.3.9 Mac - did the ImageMagick
> installation, and now Greenstone starts up fine without telling me
> ImagePlug can't find ImageMagick. So far so good.
>
> Building the collection gives this error log:
>
> *********************************
> u
> Command: /Applications/greenstone/bin/script/import.pl -gli -language
> en -collectdir /Applications/greenstone/collect/ -groupsize 1
> -verbosity 3 -removeold jewishmi
> import.pl> Error: occur in parse2.pm::parse()
> import.pl> Extra Arguments: cover_image
> import.pl> The ImagePlug plugin uses an incorrect general option
> (general options are those available to all plugins). Check your
> collect.cfg configuration file.
> import.pl> This plugin processes images, adding basic metadata
>
> *********************************
>
> collect.cfg is below. I have not changed any configurations from the
> Windows setup. Appreciate any help,
> Rich Robinson
>
>
>
> *********************************
> creator jfjweb@jewsforjesus.org
> maintainer jfjweb@jewsforjesus.org
> public true
>
> searchtype form plain
>
> #indexes document:text document:dc.Creator document:dc.Title
> document:dc.Missionary document:dc.Organization document:dc.Subject
> document:dc.Language
> indexes text dc.Creator dc.Title dc.Missionary dc.Organization
> dc.Subject dc.Language dc.Format
> levels document
> #defaultindex document:text
>
> plugin ImagePlug -thumbnailsize 100 -process_exp
> (?i)(.jpe?g|.gif|.png|.bmp|.xbm|\.tif?f)$ -thumbnailtype gif
> -cover_image -noscaleup
> plugin ZIPPlug
> plugin GAPlug
> plugin TEXTPlug
> plugin HTMLPlug
> plugin EMAILPlug
> plugin WordPlug -convert_to html
> plugin PDFPlug
> plugin RTFPlug
> plugin PSPlug
> plugin ArcPlug
> plugin RecPlug -use_metadata_files
>
> classify AZList -metadata dc.Title -buttonname Title
>
> classify AZCompactList -metadata dc.Creator -sort dc.Title
> -mingroup 1 -allvalues -buttonname Creator
>
> classify AZCompactList -metadata dc.Missionary -sort dc.Title
> -mingroup 1 -allvalues -buttonname Missionary
>
> classify AZCompactList -metadata dc.Organization -sort dc.Title
> -mingroup 1 -allvalues -buttonname Organization
> classify DateList -metadata dc.Date -sort dc.Title
>
> classify Hierarchy -metadata dc.Subject -sort "Metadata element
> specified with -metadata." -buttonname Subject -hfile dc.Subject.txt
> classify AZCompactList -metadata dc.Language -sort dc.Title
> -mingroup 1 -allvalues -buttonname Language
>
> classify AZCompactList -metadata dc.Format -sort dc.Title -mingroup
> 1 -allvalues -buttonname Format
>
> format DateList "<td>[link][icon][/link]</td>
> <td>[highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]</td>
>
> <td>[ex.Date]</td>"
>
> format VList "<td valign=top>[link][icon][/link]</td>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
>
> <td
> valign=top>{if}{[parent(Top):Title],{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled},<i>{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> / </i>}
> {if}{[dc.Creator],[dc.Creator]&#46; } {if}{[dc.Place],[dc.Place]&#44; }
> {if}{[dc.Publisher],[dc.Publisher]&#44; }
> {if}{[dc.Date],[dc.Date]&#46;}</td>"
>
> format HList
> "[link][highlight]{Or}{[dls.Title],[dc.Title],[dc.Creator],[dc.Date],[ex.Title],Untitled}[/highlight][/link]"
>
>
> format DocumentImages false
> format DocumentButtons ""
> format DocumentHeading ""
>
> format DocumentText "<center><table
> width=_pagewidth_><tr><td>[Text]</td></tr></table></center>"
>
> collectionmeta collectionname [l=en] "Digital Jewish Missions
> History Project"
> collectionmeta collectionextra [l=en] "This collection consists of
> (mostly) primary source documents from the history of missions to the
> Jewish people.
>
> All material here, to the best of our knowledge, is in the public
> domain. Exceptions are for copyrighted materials for which permission
> has been given to post here (and notice of such permission will be
> posted in such cases). "
> collectionmeta .document:text [l=en] "text"
> collectionmeta .document:dc.Creator [l=en] "Author"
> collectionmeta .document:dc.Title [l=en] "Title"
> collectionmeta .document:dc.Missionary [l=en] "People"
> collectionmeta .document:dc.Organization [l=en] "Organization"
> collectionmeta .document:dc.Subject [l=en] "Subject"
> collectionmeta .document:dc.Language [l=en] "Language"
> collectionmeta .text [l=en] "Full text"
> collectionmeta .dc.Creator [l=en] "Author"
> collectionmeta .dc.Title [l=en] "Title"
> collectionmeta .dc.Missionary [l=en] "Missionary"
> collectionmeta .dc.Organization [l=en] "Organization"
> collectionmeta .dc.Subject [l=en] "Subject"
> collectionmeta .dc.Language [l=en] "Language"
> collectionmeta .dc.Resource [l=en] "Type"
> collectionmeta .dc.Format [l=en] "Format"
>
>
> *********************************
>
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>