Re: [greenstone-users] Unable to run gli

From Vikas Rawal
DateTue, 24 Jul 2007 12:24:01 +0530
Subject Re: [greenstone-users] Unable to run gli
In-Reply-To (2806260e0707232206v3383c9e2qeb9b4e76f3a50806-mail-gmail-com)
I am trying to re-install gsdl from the sources rather than using
binaries. The install script displays a lot of messages and in the end
aborts with the following message:

#########

--> Install.sh: [make]
for odir in indexers; do
echo making all in $odir;
(cd $odir && make nojava) || exit 1;
done
making all in indexers
cd: 4: can't cd to indexers
make: *** [all] Error 1
installing ...

--> Install.sh: [make install]
for odir in indexers; do
echo making all in $odir;
(cd $odir && make nojava) || exit 1;
done
making all in indexers
cd: 4: can't cd to indexers
make: *** [all] Error 1
--> Install.sh: [cd /home/vikas/gsdl/gsdl-2.73-unix/Unix]
ERROR: Compilation failed
Greenstone was not installed
Run the uninstall script (/usr/local/gsdl/Uninstall.sh)
to clean up the partial installation.

#########

Any ideas?

Vikas

On Tue, Jul 24, 2007 at 05:06:21PM +1200, xiao wrote:
> Hi Vikas,
>
> When the window pops up, do you see any output (Exception messages) in the
> console?
>
> The window pops up because the GLI doesn't have the information about the
> library url (eg, http://localhost:8080/cgi-bin/library). The problem might
> be caused by the Java version compatibility (since Greenstone is compiled
> using Java 1.4). My guess is you may have to recompile the GLI using Java 6.
>
> Regards
> xiao
>
> On 7/24/07, Vikas Rawal <vikasrawal@gmail.com> wrote:
> >
> >
> >I made some progress with that. It said "Your environment has
> >successfully been set up to run greenstone".
> >
> >After that, when I run gli, it pops up a window with nothing in it
> >except in the title bar "Missing greenstone library address".
> >
> >What is that now?
> >
> >Vikas
> >
> >On Mon, Jul 23, 2007 at 10:44:44PM +1200, xiao wrote:
> >> Hello Vikas,
> >>
> >> What if you run the setup.bash manually in the /usr/local/gsdl directory
> >as
> >> follows:
> >>
> >> source setup.bash
> >>
> >> then go back to the gli directory and try it again.
> >>
> >> Regards
> >> xiao
> >>
> >> On 7/23/07, Vikas Rawal <vikasrawal@gmail.com> wrote:
> >> >
> >> >I installed greenstone on a machine running ubuntu linux. The java
> >> >based installation did not work for some reason. It kept asking me to
> >> >specify java home. Sun JRE6 is working fine on the machine, and I
> >> >kept giving the location, but it would not accept it. Finally, I did
> >> >the shell script based installation, which went through quite all
> >> >right. I can point to the url for greenstone and it works.
> >> >
> >> >The problem is that I am unable to run gli. When I try, it gives me
> >> >the following error.
> >> >
> >> >****
> >> >
> >> >Checking GSDL: /usr/local/gsdl
> >> >.: 96: setup.bash: not found
> >> >
> >> >****
> >> >
> >> >It is an odd error because I can see that setup.bash is very much
> >> >there in /usr/local/gsdl.
> >> >
> >> >Would anyone know what might be the problem?
> >> >
> >> >Will greatly appreciate any help.
> >> >
> >> >Vikas Rawal
> >> >
> >> >
> >> >_______________________________________________
> >> >greenstone-users mailing list
> >> >greenstone-users@list.scms.waikato.ac.nz
> >> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >> >
> >> >
> >