<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Dear Ivan,<br>many thanks for  your reply. <br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">I am actually trying to install the 'scan_tools' stack, which contains the package 'csm_install'. I tried two ways to install 'scan_tools' stack:<span style="font-family: arial,helvetica,sans-serif;"><br><br></span>1.  sudo apt-get install ros-diamondback-scan_tools<br>    This will return 'Coundn't find package ros-diamondback-scan_tools'<br><span>2. I follow the install instruction <a target="_blank" href="http://www.ros.org/wiki/scan_tools">http://www.ros.org/wiki/scan_tools</a></span><span class="line"><span class="ResWord"><br>     <br>    cd</span> <span class="SPChar">~</span><span class="SPChar">/</span><span
 class="ID">ros</span><span class="SPChar">/</span><span class="ID">stacks</span></span><span class="line"><span class="ID"><br>    git</span> <span class="ID">clone</span> <span class="ID">http</span><span class="SPChar">:</span><span class="SPChar">/</span><span class="SPChar">/</span><span class="ID">robotics</span><span class="SPChar">.</span><span class="ID">ccny</span><span class="SPChar">.</span><span class="ID">cuny</span><span class="SPChar">.</span><span class="ID">edu</span><span class="SPChar">/</span><span class="ID">git</span><span class="SPChar">/</span><span class="ID">ccny</span><span class="SPChar">-</span><span class="ID">ros</span><span class="SPChar">-</span><span class="ID">pkg</span><span class="SPChar">.</span><span class="ID">git</span></span><span class="line"><span class="LineNumber"><br>  <br>    </span><span class="ResWord">cd</span> <span class="SPChar">~</span><span class="SPChar">/</span><span
 class="ID">ros</span><span class="SPChar">/</span><span class="ID">stacks</span><span class="SPChar">/</span><span class="ID">ccny</span><span class="SPChar">-</span><span class="ID">ros</span><span class="SPChar">-</span><span class="ID">pkg</span></span><span class="line"><span class="LineNumber"><br>    </span><span class="ID">rosmake</span> <span class="ID">scan_tools</span> <span class="SPChar">-</span><span class="SPChar">-</span><span class="ID">rosdep</span><span class="SPChar">-</span><span class="ID">install</span></span><br><br> This is where the 'csm_install fatal error' occurs.<span style="font-family: monospace;"><br><br>B</span>esides, my stacks is under '/opt/ros/diamondback/stacks' instead of '~/ros/stacks'. It seems I do not have '~/ros' directory. Does this clarify my problem?<span style="font-family: monospace;"><br><br>Best re</span>gards. Thanks a lot.<br><br>Jinqiang<br><br><div style="font-family:
 arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;"></span></b></font>Message: 4<br>Date: Sat, 28 May 2011 07:53:40 -0400<br>From: Ivan Dryanovski <<a ymailto="mailto:ivan.dryanovski@gmail.com" href="mailto:ivan.dryanovski@gmail.com">ivan.dryanovski@gmail.com</a>><br>Subject: Re: [ros-users] csm_install fatal error<br>To: User discussions <<a ymailto="mailto:ros-users@code.ros.org" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>><br>Message-ID: <BANLkTimsrcjyrCMQgDrKd9+<a ymailto="mailto:bPcO7BqDORg@mail.gmail.com" href="mailto:bPcO7BqDORg@mail.gmail.com">bPcO7BqDORg@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>Hm I just tested installing on my machine and it works.<br><br>What terminal command causes the error that you're getting?<br><br>My guess is that you're trying to install it somewhere where you need<br>root
 permissions, like /opt/ros. If this is the case, you should<br>install it in ~/ros instead.<br><br>Let me know if that doesn't fix it.<br><br>Ivan<br><br>On Sat, May 28, 2011 at 5:14 AM, Cui Jinqiang <<a ymailto="mailto:jinqiangcui@yahoo.com" href="mailto:jinqiangcui@yahoo.com">jinqiangcui@yahoo.com</a>> wrote:<br>> Dear all,<br>> I was trying to install "scan_tools" when I always encounter the following<br>> problem:<br>><br>> git clone <a href="http://github.com/AndreaCensi/csm" target="_blank">http://github.com/AndreaCensi/csm</a> build/csm-git<br>> fatal: could not create leading directories of 'build/csm-git': Permission<br>> denied<br>><br>> Could any one kindly help?<br>><br>> Best regards. Thanks a lot.<br>><br>> Jinqiang<br>> _______________________________________________<br>> ros-users mailing list<br>> <a ymailto="mailto:ros-users@code.ros.org"
 href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br><br></div></div>
</div></body></html>