[greenstone-users] GLI faiure (version 2.80) on Mac OSX and thanks

From qq6@cs.waikato.ac.nz
DateFri Feb 29 09:42:35 2008
Subject [greenstone-users] GLI faiure (version 2.80) on Mac OSX and thanks
In-Reply-To (200802281459-m1SExETF026495-mail-ucla-edu)
Hi

> More coming below. The error message says "GSDLHOME not set".

GSDLHOME will be setup after running "source setup.bash" in the gsdlhome
directory.

But
> I've changed server configuration file with"
>
> Alias /gsdl "/opt/greenstone"
> <Directory "/opt/greenstone">
> Options Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> Any thoughts on this? Thank you very much!
>
> Hongyan
> FYI, the error messages are below:
> First set....
> nicole-alemannes-powerbook-g4-15:~ nicole$ cd
> /opt/greenstone/collect/demo/index/text
> nicole-alemannes-powerbook-g4-15:/opt/greenstone/collect/demo/index/text
> nicole$ db2txt demo.bdb > demo.txt
> -bash: db2txt: command not found
>
> Second set....
> nicole-alemannes-powerbook-g4-15:~ nicole$ cd /opt/greenstone/bin/script/
> nicole-alemannes-powerbook-g4-15:/opt/greenstone/bin/script nicole$
> perl import.pl demo
> GSDLHOME not set
> BEGIN failed--compilation aborted at import.pl line 41.
> nicole-alemannes-powerbook-g4-15:/opt/greenstone/bin/script nicole$
> perl buildcol.pl demo
> GSDLHOME not set
> BEGIN failed--compilation aborted at buildcol.pl line 38.
>
> At 07:44 AM 2/28/2008, Ma, Hongyan wrote:
>>Thanks for your timely response. Okay, on the first set of
>>instructions I got an error message:
>>
>>nicole-alemannes-powerbook-g4-15:~ nicole$ cd /opt/greenstone
>>nicole-alemannes-powerbook-g4-15:/opt/greenstone nicole$ source
>>setup.bash
>>Your environment has successfully been set up to run Greenstone
>>nicole-alemannes-powerbook-g4-15:/opt/greenstone nicole$ db2txt
>>demo.bdb > demo.txt
>>couldn't create demo.bdb
>>
>>On the second set, here's what happened:
>>
>>nicole-alemannes-powerbook-g4-15:/opt/greenstone nicole$ source
>>setup.bash
>>Your environment is already set up for Greenstone!
>>nicole-alemannes-powerbook-g4-15:/opt/greenstone nicole$ perl
>>import.pl demo
>>Can't open perl script "import.pl": No such file or directory
>>nicole-alemannes-powerbook-g4-15:/opt/greenstone nicole$ perl
>>buildcol.pl demo
>>Can't open perl script "buildcol.pl": No such file or directory
>>
>>import.pl and buildcol.pl are in /opt/greenstone/bin/script/
>>I didn't want to go off on my own and do things, but should I change
>>the directory to /opt/greenstone/bin/script/ and try again?
>>
>>I just tried running the GLI after that and received the normal error
>>message when I tried to open the demo collection: The collection
>>at: /opt/greenstone/collect/demo/demo.col cannot be opened.
>>
>>What's the next? Hongyan
>>
>>At 04:41 PM 2/27/2008, qq6&#64;cs.waikato.ac.nz wrote:
>>>Hi
>>>
>>>It seams something wrong with the gdbm database. I suspected that
>>> matadata
>>>values have not been stored into database successfully. But you can
>>> check
>>>it by outputting the database
>>>(GSDL/collect/YOURCOLLECT/index/text/YOURCOLLECT.dbd) into a text file
>>>using greenstone utility "db2txt".
>>>
>>>cd to your Greenstone directory and run setup.bash :
>>>cd /usr/local/gsdl
>>>source setup.bash
>>>db2txt YOURCOLLECT.bdb > YOURCOLLECT.txt
>>>
>>>In addition, you can use command line to import and build the collection
>>>to get error message.
>>>cd to your Greenstone directory and run setup.bash:
>>>cd /usr/local/gsdl
>>>source setup.bash
>>>perl import.pl YOURCOLLECT
>>>perl buildcol.pl YOURCOLLECT
>>>
>>>Regards
>>>Quan
>>>
>>>
>>> > I have a Mac PowerBook G4. And it seemed that I've got Greenstone
>>> > 2.80 working. But I have some problems with GLI. Please help me out.
>>> > Thanks a lot.
>>> >
>>> > I have the Librarian Interface running, but I can't seem to get it to
>>> > do anything. For example, I can create a new collection, but then I
>>> > can't open it and work in it (when I try to open a newly created
>>> > collection the program just hangs). I can't get into the demo
>>> > collection through the Librarian Interface either. Sometimes it
>>> > doesn't hang, but I end up with a message that it can't open the
>>> > collection. I think I can't get it to point to the right place--I've
>>> > tried several different folders, but I'm really just guessing at what
>>> > the problem is and what the solution would be. Other times, when I
>>> > try to open the demo collection the program hangs instead of giving
>>> > me the error message.
>>> >
>>> > But I can search the demo collection using the Greenstone Demo web
>>> > page that I access through http://localhost/gli/cgi-bin/library.
>>> >
>>> > It seemed to be a PATH problem. I searched for build.cfg and found
>>> > that it's in the folder "opt/greenstone/collect/demo/"
>>> > The error log, /opt/greenstone/etc/error.txt, contains the following
>>> > information:
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: couldn't read build.cfg file for collection "backdrop",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: couldn't read build.cfg file for collection "test",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: couldn't read build.cfg file for collection "backdrop",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: couldn't read build.cfg file for collection "test",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: couldn't read build.cfg file for collection "backdrop",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: couldn't read build.cfg file for collection "test",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: couldn't read build.cfg file for collection "backdrop",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: couldn't read build.cfg file for collection "test",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: couldn't read build.cfg file for collection "backdrop",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: couldn't read build.cfg file for collection "test",
>>> > gsdlhome="/opt/greenstone"
>>> > database open failed on:
>>> > system problem: open on gdbm database "" failed
>>> >
>>> > Error: call to filter failed for in OIDtools::get_children (system
>>> > problem)
>>> > database open failed on:
>>> > system problem: open on gdbm database "" failed
>>> >
>>> > Error: call to filter failed for collection in OIDtools::get_info
>>> > (system problem)
>>> > Warning: redefinition of Search terms[l=fr] on line
>>> > 607 of /opt/greenstone/macros/french.dm
>>> > Warning: couldn't read build.cfg file for collection "backdrop",
>>> > gsdlhome="/opt/greenstone"
>>> > Warning: couldn't read build.cfg file for collection "test",
>>> > gsdlhome="/opt/greenstone"
>>> >
>>> > FYI, I briefly described my installation process below:
>>> > I accepted the default installation (Web Library) and the default
>>> > location (/opt/greenstone)
>>> > For server configuration:
>>> > 1. Edit the http.conf file by opening a hidden folder called /etc
>>> > Do this by
>>> > 1. choosing "Go to folder..." from the "Go" menu in the
>>> Finder.
>>> > 2. entering /etc
>>> > 3. scrolling down to the httpd folder and opening it.
>>> > 4. opening httpd.conf with TextEdit.
>>> > 5. Copy and paste the following lines into the very end of
>>> the
>>> > file:
>>> >
>>> > #Start copying here.
>>> > ScriptAlias /gsdl/cgi-bin "/opt/greenstone/cgi-bin"
>>> > <Directory "/opt/greenstone/cgi-bin">
>>> > Options None
>>> > AllowOverride None
>>> > </Directory>
>>> >
>>> > Alias /gsdl "/opt/greenstone"
>>> > <Directory "/opt/greenstone">
>>> > Options Indexes MultiViews FollowSymLinks
>>> > AllowOverride None
>>> > Order allow,deny
>>> > Allow from all
>>> > </Directory>
>>> >
>>> > #Stop copying here!
>>> >
>>> > 6. Save the file.
>>> >
>>> >
>>> > _______________________________________________
>>> > greenstone-users mailing list
>>> > greenstone-users@list.scms.waikato.ac.nz
>>> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>> >
>