Google chrome for CentOS ??
-
- Posts: 2
- Joined: 2009/12/14 12:09:15
- Contact:
Re: Google chrome for CentOS ??
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
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
Re: Google chrome for CentOS ??
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.
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.
Re: Google chrome for CentOS ??
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.
Thanks.
Re: Google chrome for CentOS ??
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 !
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 !
Re: Google chrome for CentOS ??
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
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
Re: Google chrome for CentOS ??
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.
I've taken the liberty of placing a link to this in the bug.
Thank you very much Chris.
Re: Google chrome for CentOS ??
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.
Maybe one of the developer types could make an rpm, and a 64 bit one too.
Re: Google chrome for CentOS ??
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 :-(
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 :-(
Re: Google chrome for CentOS ??
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.
Re: Google chrome for CentOS ??
[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?
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?