Google Chrome 15 (x86)

This section is designed for your 'porteus build scripts' which create Porteus modules for your favorite applications. Scripts should work like the well-known 'SlackBuilds' with minimum user interaction.
User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Google Chrome 12 (x86)

Post#11 by Hamza » 30 Sep 2011, 15:43

Try Again, and let me know if doesn't works again.

Ciao!
NjVFQzY2Rg==

Virii
White ninja
White ninja
Posts: 15
Joined: 22 Sep 2011, 12:44
Location: Somewhere

Re: Google Chrome 12 (x86)

Post#12 by Virii » 30 Sep 2011, 22:50

Well... this time the script created a module that is usable with some post-install modifications. I'd say that all problems relate to path, or permissions.

Here's the rundown in the order they need to be overcome.

Problem #1;

Code: Select all

/opt/google/chrome/google-chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
This effects normal, and root users obviously. I installed the default Porteus v1.0 firefox module for the missing lib(s).

Problem #2;

Code: Select all

[2765:2765:192102115:FATAL:zygote_host_linux.cc(133)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/google/chrome/chrome-sandbox is mode 4755 and owned by root.
This is corrected by the command 'chmod 4755 /opt/google/chrome/chrome-sandbox', which requires root privileges. At this point root users can run Chrome.

Problem #3;

Code: Select all

[2821:2834:258374406:ERROR:shared_memory_posix.cc(172)] Creating shared memory in /dev/shm/.com.google.Chrome.bHI8hx failed: Permission denied
[2821:2834:258374829:ERROR:shared_memory_posix.cc(175)] Unable to access(W_OK|X_OK) /dev/shm: Permission denied
[2821:2834:258374872:FATAL:shared_memory_posix.cc(177)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
This problem only effects normal users (guest), and is an additional step past what root users need. Open a terminal, su, enter your password, and run the following command 'chmod 1777 /dev/shm'. Chrome will now run.


Problem #4;

Code: Select all

[2891:2891:309084028:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "clearlooks",
[2891:2891:309084723:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "clearlooks",
[2891:2891:309085895:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "clearlooks",
[2891:2891:309098971:ERROR:browser_main.cc(1022)] Gtk: Unable to locate theme engine in module_path: "mist",
[2891:2909:314942879:ERROR:nss_util.cc(419)] Error initializing NSS with a persistent database (sql:/home/guest/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[2891:2909:314943209:ERROR:nss_util.cc(428)] Error initializing NSS without a persistent database: NSS error code: -5925
I'm not sure if any of the errors past not finding the themes is important, so I've included this output from Chrome once it's run. It appears to have a missing library of some sort.

Problem #5;

This is not exactly a problem per say, but one of completeness. The generated XZM module doesn't use the standard paths, has no menu entries/icons setup, and instead ends up in the '/opt/google/chrome' directory. There isn't a symlinks/script extracted to the '/usr/bin' folder to call the '/opt/google/chrome/google-chrome' file. I simply created a script for myself, which works for now.

Root user only;

Code: Select all

#!/bin/bash
# 

chmod 4755 /opt/google/chrome/chrome-sandbox
cd /opt/google/chrome/
./google-chrome --user-data-dir=$HOME/.config/google-chrome/
I made the file executable via chmod, named it chrome, and dropped it into my '/porteus/rootcopy/usr/local/bin/' directory.

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Google Chrome 12 (x86)

Post#13 by Hamza » 01 Oct 2011, 08:48

libsoftokn3.so: cannot open shared object file: No such file or directory
For missing dep,
Try to install this lib

All others problems are related to Google Chrome's package and not my script.

Good Job! :)
NjVFQzY2Rg==

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Google Chrome 15 (x86)

Post#14 by Hamza » 23 Nov 2011, 11:25

Updated to 15.
NjVFQzY2Rg==

Post Reply