help with running gemstone

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

help with running gemstone

EstebanLM
Hi,
I´m using the "gemstone appliance creation instruccions¨ by Sean, and I´m having a problem while starting gemstone... it throws a

/opt/gemstone/product/seaside/defSeaside: 30: Bad substitution

and the problem seems to be somewhere here:

## Gemstone and Seaside program paths
if [[ ${PATH:0:$GS_LEN} != $GEMSTONE ]] ; then
    export PATH=$GEMSTONE/bin:$GEMSTONE/seaside/bin:$PATH
fi

as my bash knowledge is very poor, I need to ask for help :)
Does anybody knows what's wrong?
btw... I´m running Sean instructions, but on a ubuntu desktop 9.10 (instead debian)

Thanks in advance,
Esteban



--
"Querer es suscitar las paradojas"
Camus. El míto de Sísifo.
Reply | Threaded
Open this post in threaded view
|

Re: help with running gemstone

SeanTAllen
You have your system shell set to dash instead of bash.

Ubuntu defaults to that. The gemstone scripts ( and the ones I
supplied ), except bash.

Try changing the #!/bin/sh at the top of each script to #!/bin/bash

that might work, otherwise you need to change your system shell from
dash to bash
which itself might create some issues.

On Tue, May 18, 2010 at 11:58 AM, Esteban Lorenzano <[hidden email]> wrote:

> Hi,
> I´m using the "gemstone appliance creation instruccions¨ by Sean, and I´m
> having a problem while starting gemstone... it throws a
>
> /opt/gemstone/product/seaside/defSeaside: 30: Bad substitution
>
> and the problem seems to be somewhere here:
>
> ## Gemstone and Seaside program paths
> if [[ ${PATH:0:$GS_LEN} != $GEMSTONE ]] ; then
>     export PATH=$GEMSTONE/bin:$GEMSTONE/seaside/bin:$PATH
> fi
>
> as my bash knowledge is very poor, I need to ask for help :)
> Does anybody knows what's wrong?
> btw... I´m running Sean instructions, but on a ubuntu desktop 9.10 (instead
> debian)
>
> Thanks in advance,
> Esteban
>
>
>
> --
> "Querer es suscitar las paradojas"
> Camus. El míto de Sísifo.
>