Page 1 of 1

Chromium install gets stuck at PRESUBMIT.py

Posted: 18. Nov 2017, 22:38
by tharpa
I'm trying to install chromium with Sourcery. However, it gets stuck at PRESUBMIT.py

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 18. Nov 2017, 22:55
by ChuangTzu
Eric (a Slackware dev.) offers a binary for Chromium, his version is currently 62
http://slackware.uk/people/alien/sbrepos/14.2/x86_64/
or
http://slackware.uk/people/alien/sbrepos/14.2/x86/

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 19. Nov 2017, 02:10
by tharpa
ChuangTzu wrote:Eric (a Slackware dev.) offers a binary for Chromium, his version is currently 62
http://slackware.uk/people/alien/sbrepos/14.2/x86_64/
or
http://slackware.uk/people/alien/sbrepos/14.2/x86/
Thanks, Chuang. I downloaded http://slackware.uk/people/alien/sbrepo ... 1alien.txz. I then extracted the file, navigated to the install directory, and ran bash doinst.sh. However, I get a lot of errors along the lines of

Code: Select all

mv: cannot stat ‘etc/chromium/00-default.conf.new’: No such file or directory
I tried making a directory for the first error myself, but then I just got another error for another directory. Are there installation instructions for Eric's Chromium binary anywhere? (I looked a little bit, but I could not find any.)

Edit:
I installed it with

Code: Select all

sudo spkg chromium*txz
. I then double-clicked on the icon in the Applications menu, but nothing happens. So I ran

Code: Select all

chromium %U 
from the command line, but I get

Code: Select all

/usr/lib64/chromium/chromium: /usr/lib64/libdbus-1.so.3: no version information available (required by /usr/lib64/chromium/chromium)
/usr/lib64/chromium/chromium: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib64/chromium/chromium)

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 19. Nov 2017, 12:58
by DidierSpaier
tharpa wrote:
ChuangTzu wrote:Eric (a Slackware dev.) offers a binary for Chromium, his version is currently 62
http://slackware.uk/people/alien/sbrepos/14.2/x86_64/
or
http://slackware.uk/people/alien/sbrepos/14.2/x86/
Thanks, Chuang. I downloaded http://slackware.uk/people/alien/sbrepo ... 1alien.txz. I then extracted the file, navigated to the install directory, and ran bash doinst.sh.
Don't do that! Type instead:

Code: Select all

sudo spkg -i chromium-62.0.3202.75-x86_64-1alien.txz
Or if it complains that you have chromium already installed:

Code: Select all

sudo spkg -u chromium-62.0.3202.75-x86_64-1alien.txz
The script doinst.sh included in the package should be run by the tool (spkg or installpkg, whatever), not by the user and you are not expected to extract the file, the tool will do it as well.

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 20. Nov 2017, 00:17
by Luffy
https://alien.slackbook.org/blog/chromi ... -download/

http://slackware.uk/people/alien/slackbuilds/

Salix OS 14.2 :
> g++ -dumpversion
5.3.0

Eric mentioned that GCC 5.4.0 worked.

Saludos.

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 20. Nov 2017, 10:09
by mimosa
You may be missing some dependencies that would be present in a full Slackware installation.

However, it works here. It is also possible your system is damaged in some way.

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 20. Nov 2017, 10:17
by gapan
It's not a problem with the gcc version, it's not a problem with the package and it's not a problem with Salix. The package works on Salix 14.2.

tharpa has messed up his system somehow. He probably "installed" some version of chromium from another distribution.

Re: Chromium install gets stuck at PRESUBMIT.py

Posted: 20. Nov 2017, 22:53
by Luffy
I correct the previous comment, mention the link in case someone wishes to build the package ...
eric wrote: When the topic of Chromium 62 came up in the comments section of a previous post, I mentioned that I was unable to compile it on Slackware 14.2 [...] and they indicate that Slackware’s own gcc-5.3.0 package is too old to compile chromium 62.
The c++11 implementation in gcc-5.3.0 has issues which are fixed in gcc-5.4.0 [...]
gapan wrote: tharpa has messed up his system somehow. He probably "installed" some version of chromium from another distribution

Code: Select all

/usr/lib64/chromium/chromium: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib64/chromium/chromium)
Salix 14.2:

Code: Select all

> strings /usr/lib/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21

You see that 3.4.20 is listed. Ups.