[Slackbuilds-users] eclipse.Slackbuild
Mauro Giachero
mauro.giachero at gmail.com
Mon May 5 14:08:04 UTC 2008
On Mon, May 5, 2008 at 3:11 PM, Ricardo Klein <klein.rfk at gmail.com> wrote:
> Hi...
>
> I dont know if that is an error, but.......sendin to you....
>
> in eclipse.Slackbuild have this:
>
> # Add a script to run eclipse in /usr/bin
> mkdir -p $PKG/usr/bin
> cat $CWD/eclipse > $PKG/usr/bin/eclipse
>
> chmod 0755 $PKG/usr/bin/eclipse
>
> But, only works for me if I put + "/eclipse" like that:
>
> # Add a script to run eclipse in /usr/bin
> mkdir -p $PKG/usr/bin
> cat $CWD/eclipse*/eclipse* > $PKG/usr/bin/eclipse
>
> chmod 0755 $PKG/usr/bin/eclipse
>
>
>
> If thats is not an Script error, I do something wrong?
>
Apparently you are starting the script from the wrong folder, i.e. this way:
root at kappa:/tmp# ls
eclipse-SDK-3.3-linux-gtk.tar.gz eclipse.tar.gz
root at kappa:/tmp# tar xf eclipse.tar.gz
root at kappa:/tmp# sh eclipse/eclipse.SlackBuild
You should extract eclipse.tar.gz, put the source tarball in the folder it
creates, and start the script from there:
jack at kappa:/tmp$ tar xf eclipse.tar.gz
jack at kappa:/tmp$ cd eclipse
jack at kappa:/tmp/eclipse$ mv *[source folder]*/eclipse-SDK-3.3-linux-gtk.tar.gz
.
jack at kappa:/tmp/eclipse$ ls
README eclipse eclipse.SlackBuild
eclipse.info
doinst.sh eclipse-SDK-3.3-linux-gtk.tar.gz eclipse.desktop
slack-desc
jack at kappa:/tmp/eclipse$ su
*[root password]*
root at kappa:/tmp/eclipse# sh ./eclipse.SlackBuild
With best regards
M G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20080505/ff751928/attachment-0001.htm>
More information about the Slackbuilds-users
mailing list