[Slackbuilds-users] rust

Eugen Wissner belka at caraus.de
Thu May 26 14:49:03 UTC 2016


Hi Jorge,

Yes the build script is broken since it doesn't install everything.
I mean everything you have to do is to unpack the downloaded rust
distribution:
tar zxf rust-1.5.0-x86_64-unknown-linux-gnu.tar.gz

And move the rust-1.5.0-x86_64-unknown-linux-gnu/rust-std-x86_64-
unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/
to /usr/lib64/rustlib/:

mv rust-1.5.0-x86_64-unknown-linux-gnu/rust-std-x86_64-unknown-linux-
gnu/lib/rustlib/x86_64-unknown-linux-gnu/ /usr/lib64/rustlib/

and it will work.
For 1.8.0 and 32bit it should be similar.

Eugene

Am Donnerstag, den 26.05.2016, 07:30 -0700 schrieb Jorge Almeida:
> On Thu, May 26, 2016 at 7:09 AM, Eugen Wissner <belka at caraus.de>
> wrote:
> > 
> > I don't think so. If I remember correctly, this script doesn't
> > install
> > the rust stdlib from the official package,  rust-std-x86_64-
> > unknown-
> > linux-gnu directory in the official binary package for x86_64.
> > And there is already version 1.8.0. I would advice always to use
> > the
> > newest version in this case since rust is a young language and it
> > has a
> > lot of breaking changes between the versions. You can try to
> > install
> > with install.sh in the root directory of the official binary
> > distribution. It may give you a better user experience.
> > 
> Actually, I tried 1.8.0 first, and after it failed with the same
> problem I tried 1.5.0, just to do it by the book. It seems the
> slackbuild is not right. The install.sh is a 1010 pages shell script.
> I suppose the documentation is the code itself.
> Thanks anyway
> 
> Jorge Almeida
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
> 


More information about the SlackBuilds-users mailing list