Re: [greenstone-users] command line collection building

From Tomáš Fiala
DateThu, 08 Feb 2007 12:47:42 +0100
Subject Re: [greenstone-users] command line collection building
In-Reply-To (45C9F157-8090308-yale-edu)
Dear Arthur and Quan,

thank you for your help, i run gsdl under Solaris. The command "source
setup.bash" works fine.

Now I coping with another error:

"sigma:/data/http/gsdl/collect/tomas-pdf$ buildcol.pl tomas-pdf
ERROR: Can't open fail log /data/http/gsdl/collect/tomas-pdf/etc/fail.log
Died at /data/http/gsdl/bin/script/buildcol.pl line 331."

I think chmod +x to fail.log could solve it, what a shame that it don't
have permission to change it. The owner it is "webservd" - i have to
talk with our system manager.

Big thanks to all of you !

Sincerely,

Tomáš Fiala

But ive got a error
which says :


Arthur R. Belanger wrote / napísal(a):
> The GSDLHOME for command line commands is not the same as the one in
> gsdlsite.cfg; gsdlsite.cfg is for web use. The GSDLHOME environment
> variable for command line usage is set from the command line. In
> Linux, it is set bu running (under the BASH shell) source setup.bash
> in the Greenstone root directory (/usr/local/gsdl) I don't use
> greenstone in windows but I think you need to run setup.bat. These
> scripts set the necessary environment variables for use in a command
> line environment.
>
> Hope this helps.
>
> Tomáš Fiala wrote:
>> Hi all,
>>
>> i have a problem with setting GSDLHOME when running import.pl. It says :
>>
>> sigma:/data/http/gsdl/bin/script$ perl import.pl -language[en]
>> -collect_dir [tomas-test2] [judaica]
>> GSDLHOME not set
>> BEGIN failed--compilation aborted at import.pl line 41.
>>
>>
>> The path to gsdl is correctly set in gsdlsite.cfg and is
>> /data/http/gsdl
>>
>> Please could anyone help me ?
>>
>> Sincerely,
>>
>> Tomáš Fiala
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

--
Department of digitization
University library Bratislava
http://www.ulib.sk