On Mon, May 5, 2008 at 3:11 PM, Ricardo Klein &lt;<a href="mailto:klein.rfk@gmail.com">klein.rfk@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi...<br><br>I dont know if that is an error, but.......sendin to you....<br><br>in eclipse.Slackbuild have this:<br><pre># Add a script to run eclipse in /usr/bin<br>mkdir -p $PKG/usr/bin<br>cat $CWD/eclipse &gt; $PKG/usr/bin/eclipse<br>

chmod 0755 $PKG/usr/bin/eclipse<br></pre>But, only works for me if I put + &quot;/eclipse&quot; like that:<br clear="all"><pre># Add a script to run eclipse in /usr/bin<br>mkdir -p $PKG/usr/bin<br>cat $CWD/eclipse<b><span style="color: rgb(255, 0, 0);">/eclipse</span></b> &gt; $PKG/usr/bin/eclipse<br>

chmod 0755 $PKG/usr/bin/eclipse</pre>
<br><br>If thats is not an Script error, I do something wrong?<br></blockquote></div><br>Apparently you are starting the script from the wrong folder, i.e. this way:<br><br><span style="font-family: courier new,monospace;">root@kappa:/tmp# ls</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">&nbsp; eclipse-SDK-3.3-linux-gtk.tar.gz</span><span style="font-family: courier new,monospace;">&nbsp; eclipse.tar.gz</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">root@kappa:/tmp# tar xf eclipse.tar.gz</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">root@kappa:/tmp# sh eclipse/eclipse.SlackBuild</span><br><br>You should extract <span style="font-family: courier new,monospace;">eclipse.tar.gz</span>, put the source tarball in the folder it creates, and start the script from there:<br>
<br><span style="font-family: courier new,monospace;">jack@kappa:/tmp$ tar xf eclipse.tar.gz</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">jack@kappa:/tmp$ cd eclipse</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">jack@kappa:/tmp/eclipse$ mv <i>[source folder]</i>/eclipse-SDK-3.3-linux-gtk.tar.gz .</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">jack@kappa:/tmp/eclipse$ ls</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; README&nbsp;&nbsp;&nbsp;&nbsp; eclipse&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eclipse.SlackBuild&nbsp; <a href="http://eclipse.info">eclipse.info</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; doinst.sh&nbsp; eclipse-SDK-3.3-linux-gtk.tar.gz&nbsp; eclipse.desktop&nbsp;&nbsp;&nbsp;&nbsp; slack-desc</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">jack@kappa:/tmp/eclipse$ su</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; <i>[root password]</i></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">root@kappa:/tmp/eclipse# sh ./eclipse.SlackBuild</span><br><br>With best regards<br>M G<br><br>