Google chrome for CentOS ??

Issues related to software problems.
chris_staite
Posts: 2
Joined: 2009/12/14 12:09:15
Contact:

Re: Google chrome for CentOS ??

Post by chris_staite » 2009/12/14 12:11:44

I've got Chrome working on CentOS 5.4. It took a lot of compiling and fixing.

You will need Firefox 3.5 installed (or at least something that installs libnss 3.12 and libnspr).

Try it out: http://www.cs.bham.ac.uk/~cxs548/chrome.tar.gz

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Google chrome for CentOS ??

Post by scottro » 2009/12/14 13:54:06

Hrrm, almost worked.

First I had to link libexpat.so to libexpat.so.1

However, then it starts, gives me that make default and import from dialog, but when I click something I get


undefined symbol: sqlite3_prepare_v2

which googling indicates is because sqlite is too old.

Oh well, off to work, may try to get back to this tonight.

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Google chrome for CentOS ??

Post by scottro » 2009/12/14 18:46:10

I should add--as it certainly comes closer to working than anything else I've tried, would you like it to get a mention on the bug report linked earlier in the thread, or would you rather confine it to the fora?

Thanks.

osde8info
Posts: 123
Joined: 2007/11/08 11:26:17

Re: Google chrome for CentOS ??

Post by osde8info » 2009/12/15 17:10:54

i'm waiting too !
in the meantime i'm having to use a centos/oel/rhel host vmware player 3 with xubuntu 9.10 guest vm that runs google chromium chrome vm just fine !

kgflynn
Posts: 6
Joined: 2009/12/29 05:32:21

Re: Google chrome for CentOS ??

Post by kgflynn » 2009/12/29 06:33:29

What Chris has provided at :

http://www.cs.bham.ac.uk/~cxs548/chrome

Works fine if I create a directory path "/data/private/cxs548" (*which i assume is where it was built) originally.

Then if I extract the contents of chrome.tar.gz directly(with no leading dir's such as "chrome") into that path and run "chrome-wrapper" it works.

Eg.
For this to work as I've done, You should cd directly to /data/private/cxs548/ before executing "chrome-wrapper". It didn't work for me by just calling "chrome-wrapper" from anywhere it had to be from that path.

If it doesn't work, make sure all the contents of the sub-directory "chrome" from chrome.tar.gz are placed directly in /data/private/cxs548.


Before I created the path I was getting all kind of weird errors about needing sqlite3, libexpat.so.1...blah..blah..etc..

Isn't their a better way I can do this or is this path hard coded during the compile?

Don't get me wrong, I'm happy to have this even if I do have an extra directory path now off /

Thanks for sharing your work with us Chris.

Regards,
Kelsie

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Google chrome for CentOS ??

Post by scottro » 2009/12/29 12:18:30

Ahh--yes, that does work, though I'm having difficulty getting it to use flash. (I run a 64 bit system, which may be a factor.)

I've taken the liberty of placing a link to this in the bug.

Thank you very much Chris.

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Google chrome for CentOS ??

Post by scottro » 2009/12/29 15:02:35

I should add thanks to kgflynn as well, whose explanation enabled me to get it working. Thanks kgflynn.


Maybe one of the developer types could make an rpm, and a 64 bit one too.

rklrkl
Posts: 75
Joined: 2005/10/22 22:06:04
Location: U.K.

Re: Google chrome for CentOS ??

Post by rklrkl » 2010/01/03 11:31:24

The built version for CentOS 5.4 mentioned a little earlier in this thread did eventually work for me too, but with the following further hacks I did:

This is "chromium", not "chrome" - the distinction is that there is some closed source stuff in chrome that isn't supplied with chromium. Hence, I wanted to install the package in /net/lib/chromium. Sadly, as people have noticed, there's hard-coded references to /data/private/cxs548 in 50 shared libraries :-(

Rather than create a dubious soft-link on all our workstations, I binary replaced /data/private/cxs548 with /net/lib/chromium/ (yes, the same length string) in the files using my replace command at http://replace.richardlloyd.org.uk/ as follows:

replace -sevvrbf "/data/private/cxs548" "/net/lib/chromium/" /net/lib/chromium

Yes, I first unpacked chrome.tar.gz to /net/lib/chrome and then renamed it /net/lib/chromium.

I then found I needed a soft-link from 48 to . inside /net/lib/chromum:

cd /net/lib/chromium ; ln -sf . 48

I then copied /net/lib/chromium/chrome-wrapper to /usr/bin/chromium and edited it thus:

Line 50 changed to:
HERE="/net/lib/chromium" ; cd $HERE

After that, running "chromium" generally worked, though I sometimes got a warning about trying to create the .pki/nssdb directory (on first run and whenever I went to an https site thereafter).

Unfortunately, this all still means that we still don't have a build of Chrome (not Chromium) that works on CentOS 5.4 and I doubt we ever will :-(

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Google chrome for CentOS ??

Post by scottro » 2010/01/03 22:12:17

Thanks for posting that. Since we have this thread linked in the bug report, at least some folks will get it running, albeit not as smoothly as if they supported it.

ALUOp
Posts: 2
Joined: 2010/01/10 22:43:12

Re: Google chrome for CentOS ??

Post by ALUOp » 2010/01/10 22:50:04

[quote]
michaelnel wrote:
CentOS and RHEL are positioned as enterprise OSs, and in the vast majority of cases they are installed on headless servers that have no need of gui apps.

If I were in charge of Chrome development I wouldn't waste time on a market segment as small as CentOS either.[/quote]

Headless server = no need of gui apps? First time hearing this.
Do you know what "headless" means?

Post Reply