Page 1 of 1

Cannot install Chromium

Posted: 19. Oct 2014, 11:36
by bitvast
I wanted to install Chrome/Chromium because Firefox keeps crashing but the only Chrome versions available from Google are deb files, so I tried installing Chromium via the slackbuild manager, but the build fails. Here are the last few lines in the log file:
chmod: cannot operate on dangling symlink ‘./build/android/arm-linux-androideabi-gold/ld’
chmod: cannot operate on dangling symlink ‘./build/android/arm-linux-androideabi-gold/arm-linux-androideabi-ld’
Updating projects from gyp files...
which: no yasm in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/jre/bin:/usr/local/sbin:/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/local/sbin)
gyp: Call to 'which yasm' returned exit status 1. while loading dependencies of content/content.gyp while loading dependencies of components/components.gyp while loading dependencies of chrome/chrome_resources.gyp while loading dependencies of chrome/chrome.gyp while loading dependencies of build/all.gyp while trying to load build/all.gyp
fakeroot -- sh chromium.SlackBuild Failed
I'm using Salix 14.1 Xfce 32 bit.

Edit: Just discovered that there's a slackbuild script available to convert the deb file, so I'll try that.

Re: Cannot install Chromium

Posted: 19. Oct 2014, 13:49
by laprjns
Chromium requires yasm as a build time dependency, so you need to install yasm before building chromium. Do this instead of converting the debian package.

Code: Select all

$ sudo spi -u
$ sudo spi -i yasm
$ sudo spi -i chromium
Be prepared to wait a long time while it builds.
Using packages converted form other distro packages has a high potential of messing up you system.

Re: Cannot install Chromium

Posted: 19. Oct 2014, 17:30
by bitvast
Thanks for the tip. :-)
Be prepared to wait a long time while it builds.
You're not kidding, 2 hours so far, but then my machine is pretty old.