[GRASS-user] i.vi without graphic. With C code

Hi all

After the run the i.vi with C code, I am getting the forward error:

GISRC - variable not set

and after this command:

export GISRC=$TMPDIR/$THE_GRASSRC

I am getting the next error:

Variable ‘LOCATION_NAME’ not set

So please any suggestion or help
Thanks in advance for any help.

Regards,
Ripsime