AuthorTopic: google chrome linux... (Read 37610 times)

i've aquired a very old pII 300 laptop with a minimal 160mb of ram. i know it's an antique, but at the moment it's all i have. the netgear pc card is working flawlessly under VL 6, but firefox is slow. i am running the linux dev version of google chrome at work on a low resource system on top of ubuntu. not my choice but IT won't let me switch to VL. firefox takes more than two minutes to load the company e-mail site, google chrome takes less than 2 sexonds. the entire browser is just blazing fast, plugins and printing are not yet supported, but for the very rare times when i need either, firefox is there.

i would like to try google chrome on this antique computer. just to see if browsing the web can be sped up. i tried alien, but it fusses about not being a tar archive.

gzip: stdin: unexpected end of filetar: This does not look like a tar archivetar: Exiting with failure status due to previous errorsError executing "ar -p google-chrome-unstable_current_i386.deb data.tar.gz | gzip -dc | tar tf -": at /usr/lib/perl5/site_perl/5.10.0/Alien/Package.pm line 474.

i was wondering if someone with a better system than mine could build a package i could install from the repo. my old system would just be painful to try to build anything on. just typing in the post the display is two words behind what i am typing.

thank you kind souls who take pitty on this poor man. i am getting a raise at work and may actually be able to purchase a decent low end laptop in the next few months. of course, VL will be immidiately installed. but in the meantime, i think chrome might just help me out.

i would like to try google chrome on this antique computer. just to see if browsing the web can be sped up. i tried alien, but it fusses about not being a tar archive.

[/quote]

Unfortunately Google as far as I know has not released their source code yet. The link you mentioned is for a .Debian file. which will work in Ubuntu. But not in VL without being changed around it can be done but not that easy. In any event give Opera a try if you have VL6.0 Standard installed it's already there. If it works for you you can upgrade 9.63 to 9.64 by enabling the Testing Repository in Gslapt.

I'll take a longer look at Chrome when time permits me.

Good Luck,Dave

Also if you need a minimalist Browser Dillo works well.it there also or in the repository.

I'm sorry, I thought I ad been more clear in my original post. I am aware that Chrome is early development. But the webkit and custom java engine are highly tweaked and state of the art. Chrome is blazing fast even on low resource machines.

The two links I provided are the available methods for installing chrome. The first is the binary only available in deb at the moment. I believe I did post my results of attempting to convert it using alien. The second link is how to get the linux source directly from google.

Ok, so I did a lil command line work and got chrome installed from the .deb pachage. Chrome is crashing on the VL home page, but at least it starts. I think the problem may be with the required dependencies being to old.

I am aware of the following deps and will try to track down any others:

pango - version 1.20.0 is installed, version 1.22.4 is supposed to workcaira - version 1.6.4 is installed, version 1.8.6 is supposed to workpixman - version .10.0 is installed, version 0.15.10 is supposed to work

just type google-chrome on any command line to run it.Chrome runs, but crash's on the only page i've tried it on. I'll work on the deps later today. Once I get it working I think I can set up a script for cron to keep it updated. Just a quick thought, VL6standard comes with firefox 3.0.6, chrome may need 3.0.8 or later to run, i will investigate this later.

thats the best i can figure anyway. there are a few deps i'm concerned about, beginning to think the only way to do this will be from source.

to rbistofi - i thought that too, but firefox has the same issue with the same library. i dunno.-edit- according to: http://codereview.chromium.org/118367 the ssl issue is like you said. chrome needs to be built on system identicle to target. they have a hack that is supposed to be committed already that should fix that. but even still, the problem is not serious enough to cause a crash.

Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 0xb60d8b90 (LWP 10432)]0xb782aa2a in ?? () from /usr/lib/libnss3.so.1d

so the nss that i am using is provided by firefox. the package in the repo is to old, 3.11.9. chrome fusses about the version and exits. at least it will run with the nss provided with firefox. i think my next step is to look for the right version of nss. according to some of the references i've dug up it should be >=3.12. chrome's error message also ask's for 3.12.

edit: i updated the above list of deps. specifically nss and nspr, still looking into others. they seem to be maintained by mozilla foundation and distributed in source only. far as i can tell anyway. is there a packager available that i could talk into building these and putting in the testing repo? all of this is guesswork, but as far as i can tell, these two are the problem packages right now.

SUCCESS!!! I'm posting this from Chrome on Vector Linux. Man is it fast. The keyboard is even keeping up with me.

The key to the whole thing is having latest nss and nspr. I got nspr 4.7.4 form mozilla and managed to use sbbuilder with a little editing to get a package built well enough to install it. I couldn't make sbbuilder configure nss. But I found a slackbuild slackware package for 3.12.3 and installed it. Success. For those that want it I am going to post an small installation script and my sbbuilder nspr.SlackBuild as well as a link to the nss package I used. Might be a long post, but maybe one of the nice packagers can take from my efforts and build a Vector Linux Package for Google Chrome.

#!/usr/bin/bash# This script assumes it will be launched within "/NAME/VERSION/src" dir.# With all sources in "src" Your Vector Linux .tlz package, slack-desc,# and slack-required will be found in "VERSION" dir. The extraction and# build will be in a temp dir created in "NAME" dir, and then removed on exit.# Comment out second to last line to keep this dir intact.## This Template was compiled from the contributions of many users of the Vector# Linux forum at http://forum.vectorlinux.com and from tidbits collected # from all over the internet. ## Generated by sbbuilder-0.4.12.2, written by Rodrigo Bistolfi # (rbistolfi) and Raimon Grau Cuscó (Kidd) for VectorLinux.## Please put your name below if you add some original scripting lines.# AUTHORS =

if [ $UID != 0 ]; then echo "You are not authorized to run this script. Please login as root" exit 1fi

if [ ! -x /usr/bin/requiredbuilder ]; then echo "Requiredbuilder not installed, or not executable." exit 1fi

if [ $VL_PACKAGER = "YOURNAME" ]; then echo 'Who are you? Please edit VL_PACKAGER=${VL_PACKAGER:-YOURNAME} in this script. Change the word "YOURNAME" to your VectorLinux packager name. You may also export VL_PACKAGER, or call this script with VL_PACKAGER="YOUR NAME HERE"' exit 1fi

#CONFIGURE & MAKE#----------------------------------------------------------------------# If you are building a KDE-related app, then change the following# arguments in the script below:# --prefix=$(kde-config -prefix) \# --sysconfdir=/etc/kde \## Making these changes will ensure that your package will build in the# correct path and that it will work seamlessly within the KDE environment.##-----------------------------------------------------------------------

# Fill in the package summary between the () below.# Then package the description, License, Author and Website.# There may be no more then 11 $NAME: lines in a valid slack-desc.

cat > $RELEASEDIR/slack-desc << EOF# HOW TO EDIT THIS FILE:# The "handy ruler" below makes it easier to edit a package description. Line# up the first '|' above the ':' following the base package name, and the '|'# on the right side marks the last column you can put a character in. You must# make exactly 11 lines for the formatting to be correct. It's also# customary to leave one space after the ':'.

My install-chrome.sh script, it assumes google-chrome-unstable_current_i386.deb is in the users home directory, written to abuse sudo. Can also be used to get the latest buildbot snapshot. Use the links in my earlier posts to get the .deb

Please forgive my sloppy code, I'm fairly new to shell scripting. I appriciate all the help from the folks that offered suggestions in all three of my forum posts on this topic. We've been thru a long journey in the last few days. I hope one day soon to see a Google Chrome package in the repo. Sorry, I didn't build it form source, my system is just not big enough.

I won't mark this thread solved, it's not a package... yet.

/*edit once i got done enjoying my browsing experience on this ancient machine running google chrome, i remembered to test the build bot version. still no go, i may post a bug report to chromium about it. seems like if the .deb installs fine, then so should the buildbot. anyway, i hope someone benifits from all this work. endit*/

Awesome job!!! More impressive considering the specks of the machine you were working with. I'm also impressed by the superior speed of chrome after reading your previous description of firefox. How about the plug-ins? Is flash to much to ask?

brokndodge: Does your install script let you install directly from the .deb file so you don't have to make the package? Or do you still have to make the package and dependencies?

Also, a suggestion for the install script... Instead of using sudo a lot, you could check and make sure that the user runs the script as root. Then when it is run as root, all root only actions would work.

stretchedthin: plug-in support has been added to chrome, but it's still buggy. i understand that flash should work, tho i haven't tested it. plug-ins are disabled by default. --enable-plugins is how you enable them, iirc. -- edit: flash does work, tried hulu.com. everything loaded fine, but on my ancient pII it was dreadfully slow. better than firefox tho, even simple flash apps won't run in firefox on this machine. simple flash apps run fine in chrome, but something like streaming video is just beyond the capability of this old machine. :endit---

Daniel: my script installs directly from the .deb, no tgz or tlz package is created. i just crack the .deb and pull the parts i need. as far as running from root, should be easy to do for someone thats used to working as root. i came from the ubuntu world where sudo is king. $HOME would have to be switched to a local variable and some other major changes. but i'm going to look into it. i can probably look at one of the SlackBuild scripts to see how to test for root.

i also have to figure out the update mechanism for google-chrome. the latest update is even faster than the one i have installed. i keep thinking that i can wget the .deb somehow and maybe wget from the google repository.

if we can get nspr >= 4.7.4 and nss >= 3.12.3 into the repo, installation of google-chrome should be a breeze. i will clean up my install script and set it up to be run at root. i'll also remove all the prompts, i was working with a single script to do a lot of different things during my testing.