<div>I have had this problem for all time on xp, osgeo4w. updating and new dev, nothing has fixed it. Now I find a page that says this env is not supposed to be used anymore. </div>
<div>1. Is this just my problem? </div>
<div>2. Does anyone know how to fix it?</div>
<div> </div>
<div>G_getenv(): Variable GISDBASE not set</div>
<div> </div>
<div>Grassbook chapter 11 says: "Programming: <br>  
<ul>
<li>Since the variable $LOCATION no longer exists, every GRASS shell script must have at beginning: 
<p>  <br>  
<p><tt>eval `g.gisenv`</tt> <br><tt>: ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}</tt> <br><tt>LOCATION=$GISDBASE/$LOCATION_NAME/$MAPSET</tt> 
<p>to work properly.  <br>  </p>
<li>Gmakefiles contain a DEP line now (needed to support optional GRASS shared libraries) <br>  
<li>GISDBASE isn't meant to be an "environment variable", it's a setting in $GISRC. Although most of the GRASS documentation is totally confused on this issue, as was some of the code as well (mostly, code written in Bourne shell, Tcl or PERL; code written in C used G_getenv(), which got it right). </li>
</li></p></p></li></ul></div>
<div>If I can start grass from any of the interfaces. And I can see my configuration is set in each of those interfaces. Why does grass plugin (qgis) not detect that same getenv?</div>