Re: [greenstone-users] Problem with mkcol.pl

From John R. McPherson
DateThu, 25 Mar 2004 08:43:33 +1200
Subject Re: [greenstone-users] Problem with mkcol.pl
In-Reply-To (HBEJJPOPLMMMPEKJDDLMOEMGCCAA-capa-cuao-edu-co)
On Wed, Mar 24, 2004 at 02:40:05PM -0500, Carlos Alberto Peláez Ayala wrote:
> Dear friends,
> I have already installed Greenstone 2.41 over a Linux Red Hat 7.3 box. When
> i try to create a new collection from the .../gsdl/bin/script directory
> where is the file mkcol.pl appear this:
>
> root@gauss script]# ./mkcol.pl -creator capa@cuao.edu.co ecoycul
> GSDLHOME not set
> BEGIN failed--compilation aborted at ./mkcol.pl line 39.
> [root@gauss script]#
>
> I have already defined the GSDLHOME variable in my system:
>
> [root@gauss script]# echo $GSDLHOME
> /virtual/gsdl/gsdl

The proper way to get the environment sorted correctly is to run
gsdl# source setup.bash
(or setup.csh, if you are using csh as your default shell, which no
linux distribution does, I think).

That will set up greenstone's GSDLHOME and GSDLOS variables, as well as
set up the path so that you don't need to run commands from within the
script directory.

John McPherson