VectorLinux
July 22, 2014, 09:34:54 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: using Gslapt to install Google Chrome  (Read 3863 times)
pottzie
Member
*
Posts: 94


« on: December 26, 2009, 10:36:19 am »

 I came across a tutorial to install Google Chrome at:

 http://www.opensourcebistro.com/Tutorial/VL60/10.Browsers/gchrome/gchrome2.htm
 
 It gives a series of screenshots that say to use Gslapt to check for dependancies. From where I'm at on the learning curve, it's as if someone said to a todler "Just put the clutch in and let it out and the car will go.."
 The screenshot shows a bar at the bottom of the sreen that isn't on my screen, but that's not a problem. The problem I have is getting Gslapt to recognize that I have this file in my Home folder, in Downloads, that I want Gslapt to, well, install, actually. But if I have to use the terminal to install it, I'd at least like to have Gslapt check the dependancies. Especially if the tutorial shows that it's what Gslapt does!
 So how do I get the @#$% thing to work? Or, as is usually the case, what do I have to figure out that everyone else saw immeadiatly because it's so intuitive that it damn near runs itself? The tutorial seems as if the information entered itself into Gsalpt magically, but Santa and the elves seem to have have taken today off.
 Thanks
 
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: December 26, 2009, 02:27:52 pm »

Hi.
GSlapt was only used to show what dependencies you should be concerned about.  This was done because different versions of VL such as VL light may not have GConf already installed and could do so via gslapt.
If you are using VL 6.0 gold then you already have GConf, one of the dependencies searched for in the tut.
The only thing you need to download is mozilla-nss
mozilla-nss-3.12.3
Download then right click and select Install Package
This should satisfy your dependencies.

You can then just focus on using mc (Midnight Commander) to install the Google-Chome .rpm as it is shown in the tut.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
pottzie
Member
*
Posts: 94


« Reply #2 on: December 26, 2009, 06:43:36 pm »

 First let me say thanks again to stretchedthin for making these tutorials; they're the best thing since sliced bread was invented! Awsome! Thanks again.
 Since I have "total recall," meaning that I totally can't recall how to do almost anything, I went back and checked to see what the answer was the last time I asked this same stupid question.
 http://forum.vectorlinux.com/index.php?topic=10921.0
 and followed up with opening the terminal in the Home directory, doing the "su,"/password, going to properties and setting the files to "execute." Problems come when I "right click and choose install package." When I right click all that happens is that I get the option of "Open with xarchiever," which as far as I can tell is a text editor, and doesn't install anything. It's a nice way to look at all the pretty code, but not much good for making the sytem work, anymore than an open book on a park bench would stop a gang fight if it were in progress.

 Ok, wait a minute, I'm getting a message.
 Yeah, "the voices" just asked if I'd forgotten about "mc," midnight commander? Why yes I had, and so I tried it! Better yet, it worked(!), and installed the mozilla dohickey straight way. Goggle Chrome, well....
 Something about "xdg-desktop-menu: no writeable system menu directory found." Well then find it, dang it. I didn't lose it, and I don't think anyone else has taken it.
 Stupid computer.

 I guess I should just be thankful Firefox and Opera work.   
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #3 on: December 26, 2009, 06:59:40 pm »

I've looked back at a couple of your old posts and see that you are a VL-light user.  I'm going to give the Google-chrome install on vl-light a practice run myself.  I'll let you know what I missed.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
pottzie
Member
*
Posts: 94


« Reply #4 on: December 26, 2009, 07:28:01 pm »

 And a little reflection on my part made me think that "xdg-desktop-menu: no writeable system menu directory found" means that maybe there's no directory because I'm supposed to make one. All Greek to me, but maybe that's what "mkdir" (or "mkdr"?) is for.
 I bet I'm going to find out soon.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #5 on: December 26, 2009, 08:43:14 pm »

And a little reflection on my part made me think that "xdg-desktop-menu: no writeable system menu directory found" means that maybe there's no directory because I'm supposed to make one. All Greek to me, but maybe that's what "mkdir" (or "mkdr"?) is for.
 I bet I'm going to find out soon.

Your right about the above, but you will need to make a .desktop file.  Before I go there, can you tell me does Google Chrome start when you type.....
google-chrome
in the terminal.

If it does, then you are ready to make that desktop file.  If not then we need to find out what's missing.  Let me know if any type of error message appears in the terminal when you try to start with 'google-chrome'
Ken
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
pottzie
Member
*
Posts: 94


« Reply #6 on: December 26, 2009, 09:41:20 pm »

vl:$ google-chrome
/usr/bin/google-chrome: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
 
 Apparently the library isn't open.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #7 on: December 26, 2009, 10:38:33 pm »

GConf should be installable via gslapt.
After installing try again.  If you have already installed the mozilla-nss file I posted earlier you should be ready to try google-chrome in the terminal, one more time.
Let me know how it goes.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
pottzie
Member
*
Posts: 94


« Reply #8 on: December 26, 2009, 11:01:01 pm »

 So near, yet so far away...It opened and loaded the familiar Google Chrome pale blue screen, with tabs, etc. When I tried to go to a website, nothing happened. The CPU "gauge' on the lower taskbar showed a bunch of spiking, but the page was solid, blank white.
 
 vl:$ google-chrome
[8764:8771:18774284404:ERROR:/usr/local/google/home/chrome-eng/b/slave/chrome-official-linux/build/src/base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/com.google.chrome.YlmIob failed: No such file or directory
Segmentation fault
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #9 on: December 26, 2009, 11:12:12 pm »

OK, just to recap, so far you should have....
Installed GConf, via gslapt.
Installed mozilla-nss via the link earlier in this thread.
Downloaded google-chrome .rpm file from Googles site (32 bit version) and installed with mc (Midnight Commander.)

Does that sound about right?
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
pottzie
Member
*
Posts: 94


« Reply #10 on: December 26, 2009, 11:33:44 pm »

 Yes to all of the above.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #11 on: December 26, 2009, 11:39:11 pm »

OK, thanks for being the ginea pig for a VL-Light install.  Seems VL-gold has something preinstalled Chrome needs that VL-light does not.  Give me some time to experiment. I'll get an answer to you soon.
Ken
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #12 on: December 27, 2009, 12:10:05 am »

Actually, I'm starting to think it is a permissions problem, rather than a missing dependency promblem.  Could you try running google-chrome as root from the terminal and let me know if it behaves differently.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
pottzie
Member
*
Posts: 94


« Reply #13 on: December 27, 2009, 08:25:47 am »

That did it! Logged in as root, entered google-chrome, and wallah, Google screen, websearch returns search info, and all is well. The Chrome icon isn't in the Network menu, even after I ran Update Menu, and I know there has to be a way I can fire up Crome without using the terminal.

 Hold on! When I logged out of root and tried to get Chrome to function, it froze, as before, and gave the Chrome template without any function. I get the Chrome shell and no information being passed by it. When I log back in as root, it works as it's supposed to. So now I've got Chrome, but I have to show my ID at the door or the bouncer won't let me in...and it's my joint!
 Looks like it's getting very close to doing what it's designed to do, though.
Logged
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #14 on: December 27, 2009, 08:41:07 am »

I get the same here.  I'm going to ask for some additional help on this thread to see what can be done about the permission problem.  There is probably a chown command that needs to be issued somewhere but I don't know where.
So if anyone has an idea please jump in.

As far as the menu item goes, just do this as root in the terminal.
cp /opt/google/chrome/google-chrome.desktop /usr/share/applications/google-chrome.desktop

Then just select 'Update Menu' from the System Category of the menu.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!