<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000099" bgcolor="#FFFFFF">
    Hi<br>
    <br>
    Thanks Markus for pointing me out the email from Hamish about
    "[GRASS-dev] g.extension not working on debian - grass 6.4.3svn". 
    It did help me to make some progress.<br>
    <br>
    If I understand correctly, I should find the g.html2man script in
    usr/local/grass6.4.current/tools. It is not however, it is still in
    usr/local/grass6.4.current/tools/g.html2man subdirectory. This is
    after a completely clean install (i.e., I removed grass6 completely
    from my system, svn checkout was done from a totally clean (new)
    dir). <br>
    <br>
    Installing extensions is no problem, but the manual page is not
    properly created as described in my earlier email: the manual page
    is shown in the addons GUI, but without the parameter sections
    (i.e., only the part which is in the description.html). <br>
    <br>
    Perhaps also relevant, if I run the "Uninstall GRASS Addon
    extension", it shows no extensions installed. Removing using
    g.extension is also not possible.  <br>
    <br>
    Now, if (1)  remove all extensions manually, (2) manually move the
    g.html2man from tools/g.html2man to tools, (3) reinstall the
    extensions (see install message below), then: the problem persists,
    the manual page is still incomplete. However, now when running the
    "Uninstall GRASS Addon extension" shows the installed extensions.<br>
    <br>
    <pre>--------------------------------</pre>
    <pre>Install message: less error messages after moving the g.html2man to tools:</pre>
    <pre>
Fetching <r.mess> from GRASS-Addons SVN (be patient)...</pre>
    <pre>Compiling...</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: warning: overriding commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: warning: overriding commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: warning: overriding commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old commands for target `install'</pre>
    <pre>ERROR: G_getenv(): Variable LOCATION_NAME not set</pre>
    <pre>/bin/sh: 1: cannot create /usr/local/grass6.4.current/grass-6.4.3svn/locale/scriptstrings/r.mess_to_translate.c: Directory nonexistent</pre>
    <pre>ERROR: G_getenv(): Variable LOCATION_NAME not set</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: warning: overriding commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: warning: overriding commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old commands for target `install'</pre>
    <pre>Installing...</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47: warning: overriding commands for target `install'</pre>
    <pre>/usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Rules.make:99: warning: ignoring old commands for target `install'</pre>
    <pre>Updating metadata file...</pre>
    <pre>Installation of <r.mess> successfully finished
----------------------------
</pre>
    <br>
    Best wishes<br>
    <br>
    Paulo<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 01/27/2013 11:26 PM, Paulo van
      Breugel wrote:<br>
    </div>
    <blockquote
cite="mid:CAGrkfc+qNZ_jNx2uy8d0URmO-RUNhqhYghAsYF6T++LPpuyFWQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Markus,<br>
            <br>
          </div>
          I am running Ubuntu 12.10. I am not sure what that means,
          g.extension being used outside of a GRASS session?<br>
          <br>
        </div>
        I could perhaps also be related to how I installed grass? Below
        my set of .configure - make - make install and some further
        details (not sure they are useful info, but adding just in
        case).<br>
        <div>
          <p>
            ./configure --enable-64bit
            --prefix=/usr/local/grass6.4.current --with-sqlite
            --with-postgres
            --with-postgres-libs=/usr/include/postgresql/libpq
            --with-postgres-includes=/usr/include/postgresql --with-odbc
            --with-geos --with-cairo --with-cxx=yes
            --with-gdal=/usr/local/gdal1.9/bin/gdal-config
            --with-libs=/lib64 --with-python=yes
            --with-wxwidgets=/usr/bin/wx-config
            --with-tcltk-includes=/usr/include/tcl8.5 --with-readline
            --with-freetype
            --with-freetype-includes=/usr/include/freetype2
            --enable-largefile --with-motif
            --with-motif-includes=/usr/include
            --with-proj-share=/usr/share/proj <br>
          </p>
          <p>
            make<br>
            sudo make install</p>
          <p>I also created a shortcut in the /usr/bin: sudo ln -s
            /usr/local/grass6.4.current/bin/grass64 /usr/bin/grass6.4 +
            Added a configuration file in /etc/ld.so with the following
            line: /usr/local/grass6.4.current/grass-6.4.3svn/lib.<br>
          </p>
        </div>
        <div>Your help is much appreciated. I am happy it all runs, so
          this isn't a major issue, but it would obviously be good if I
          could solve this.<br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          On Sun, Jan 27, 2013 at 9:16 PM, Markus Neteler <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div class="im">On Sun, Jan 27, 2013 at 2:23 PM, Paulo van
              Breugel<br>
              <<a moz-do-not-send="true"
                href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>>
              wrote:<br>
              > Hi Markus,<br>
              ><br>
              > Thanks for looking into this. It didn't work in first
              instance, but after a<br>
              > completely clean install it works,<br>
              <br>
            </div>
            (yes, g.extension in GRASS 6 doesn't handle properly the
            case of<br>
            reinstallation)<br>
            <div class="im"><br>
              > with one caveat. The help file shows now,<br>
              > but without the parameter info (which supposedly
              should be extracted from<br>
              > the script?).<br>
              <br>
            </div>
            Yes, caused by the error below:<br>
            <div class="im"><br>
              > I am also getting the following error message:<br>
              ><br>
              > Fetching <r.mess> from GRASS-Addons SVN (be
              patient)...<br>
              > Compiling...<br>
              >
              /usr/local/grass6.4.current/grass-6.4.3svn/include/Make/Script.make:47:<br>
              > warning: overriding commands for target `install'<br>
            </div>
            ...<br>
            <div class="im">> ERROR: G_getenv(): Variable
              LOCATION_NAME not set<br>
              <br>
            </div>
            To me it looks like g.extension being used outside of a
            GRASS session.<br>
            <br>
            ...<br>
            <div class="im">> I tried a few other extensions, and the
              same happens, so this does not seem<br>
              > to be something specific to r.mess<br>
              <br>
            </div>
            On Fedora 17 no problem, it installs properly.<br>
            <div class="im"><br>
              > (but I don't know if it is something specific to my
              system?).<br>
              <br>
            </div>
            Apparently yes: which OS is it?<br>
            <span class="HOEnZb"><font color="#888888"><br>
                Markus<br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>