Cannot install Chromium

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
bitvast
Posts: 22
Joined: 9. Jun 2014, 17:20

Cannot install Chromium

Post 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.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Cannot install Chromium

Post 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.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
bitvast
Posts: 22
Joined: 9. Jun 2014, 17:20

Re: Cannot install Chromium

Post 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.
Post Reply