Re: [greenstone-users] command line collection building

From Arthur R. Belanger
DateWed, 07 Feb 2007 10:33:43 -0500
Subject Re: [greenstone-users] command line collection building
In-Reply-To (45C9DE67-2030709-ulib-sk)
The GSDLHOME for command line commands is not the same as the one in=
=20
gsdlsite.cfg; gsdlsite.cfg is for web use. The GSDLHOME environment=
=20
variable for command line usage is set from the command line. In Lin=
ux,=20
it is set bu running (under the BASH shell) source setup.bash in the=
=20
Greenstone root directory (/usr/local/gsdl) I don't use greenstone i=
n=20
windows but I think you need to run setup.bat. These scripts set the=
=20
necessary environment variables for use in a command line environment=
.

Hope this helps.

Tom=E1=9A Fiala wrote:
> Hi all,
>=20
> i have a problem with setting GSDLHOME when running import.pl. It s=
ays :
>=20
> 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.
>=20
>=20
> The path to gsdl is correctly set in gsdlsite.cfg and is
> /data/http/gsdl
>=20
> Please could anyone help me ?
>=20
> Sincerely,
>=20
> Tom=E1=9A Fiala
>=20
>=20
> -------------------------------------------------------------------=
-----
>=20
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

--=20
Arthur Belanger
Medical Library System Manager
Academic Media & Technology
ITS
Yale University
100 Church Street South, Suite 107
Mailcode 138
New Haven, CT 06519

(203) 785-6928
(203) 737-2859, fax

mailto:Arthur.Belanger@Yale.Edu
http://www.yale.edu/acs
http://info.med.yale.edu/library