<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <DEFANGED_meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Ok thanks for the help, now i've compiled all the grass code on my
external drive and got no error.<br>
Now i can run grass with:<br>
#&gt; /mnt/maxtor_linux/grass_home/grass53/bin/grass53<br>
but still remain some problem.....<br>
<br>
<b>- Monitor problem:</b><br>
I can run a monitor only if i am ROOT, otherwise i get the same old
error: <i>ERROR: In main.c: Couldn't get socket path.</i><br>
<br>
whoami gives the rigth answer;<br>
/tmp/grass-&lt;username&gt; is a directory, exist and i'm the owner;<br>
<br>
what am i missing? maybe mounting my external drive (where i put my
bin)?<br>
i use in fstab:&nbsp; <i>/dev/sda5 &nbsp;&nbsp;&nbsp; /mnt/maxtor_linux&nbsp;&nbsp;&nbsp; ext2&nbsp;&nbsp;&nbsp;
defaults&nbsp;&nbsp;&nbsp; 1 2</i><br>
<br>
<b>- Library problem:</b><br>
I cannot see libproj.so.0 because my LD_LIBRARY_PATH doesn't contain
the path /usr/local/lib.<br>
if i run: <i><br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib</i> <br>
everything goes fine.....<br>
<br>
but it should be already contemplate in some grass variable, in fact i
run:<br>
<br>
CFLAGS="-O3 -march=pentium4 -Wall" LDFLAGS="-s" ./configure&nbsp;
--prefix=/mnt/maxtor_linux/grass_home/grass53
--with-bindir=/mnt/maxtor_linux/grass_home/&nbsp;
--with-postgres-includes=/usr/include/pgsql/server/ --with-motif
--with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include/
--with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib/ --with-blas
--with-lapack --with-glw --with-dbm
--with-dbm-includes=/usr/include/gdbm --with-freetype
--with-freetype-includes=/usr/include/freetype2/ --without-readline
--with-fftw --with-proj <b>--with-proj-libs=/usr/local/lib</b>
--with-cxx<br>
<br>
Any helps to give me?<br>
Thanks, and sorry for my limited linux knowledge<br>
<br>
Glynn Clements wrote:<br>
<blockquote type="cite"
 cite="mid16501.52338.105484.987901@cerise.nosuchdomain.co.uk">
  <blockquote type="cite">
    <pre wrap="">- when i call d.mon start=x0 i get this error message:

    GRASS:~ &gt; d.mon start=x0
    ERROR: In main.c: Couldn't get socket path.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Possible reasons for this error are:

1. It couldn't figure out your username (does the "whoami" program
give the correct information)?</pre>
</blockquote>
<blockquote type="cite"
 cite="mid16501.52338.105484.987901@cerise.nosuchdomain.co.uk">
  <pre wrap="">2. It couldn't create the /tmp/grass-&lt;username&gt; directory.</pre>
</blockquote>
<blockquote type="cite"
 cite="mid16501.52338.105484.987901@cerise.nosuchdomain.co.uk">
  <pre wrap="">3. The /tmp/grass-&lt;username&gt; directory already exists, but you don't
own it.</pre>
</blockquote>
<blockquote type="cite"
 cite="mid16501.52338.105484.987901@cerise.nosuchdomain.co.uk">
  <pre wrap="">4. /tmp/grass-&lt;username&gt; already exists, but it isn't a directory.
  </pre>
</blockquote>
<blockquote type="cite"
 cite="mid16501.52338.105484.987901@cerise.nosuchdomain.co.uk">
  <blockquote type="cite">
    <pre wrap="">    Failed to get socket name for monitor &lt;x0&gt;.
    Problem selecting x0. Will try once more
    Failed to get socket name for monitor &lt;x0&gt;.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
These are a direct consequence of the driver failing to start due to
the above error.
  </pre>
</blockquote>
<pre class="moz-signature" cols="50">
-------------
Ing.  Massimiliano Cannata
Istituto di Scienze della Terra - SUPSI
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 91 /935 12 25 - Fax +41 91 /935 12 09
eMail: <a class="moz-txt-link-abbreviated" href="mailto:massimiliano.cannata@supsi.ch">massimiliano.cannata@supsi.ch</a>
Internet: <a class="moz-txt-link-freetext" href="http://www.ist.supsi.ch">http://www.ist.supsi.ch</a>
</pre>
</body>
</html>