LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-19-2013, 01:55 AM   #1
Slackovado
Member
 
Registered: Mar 2005
Location: Burnaby, BC, Canada
Distribution: Slackware 14 32bit, Debian, Arch
Posts: 213

Rep: Reputation: 27
Google Earth 7.0.3.8542 from SlackBuilds Repository strange install problem


I compiled Google Earth using the SBo and everything went ok.
Then when I installed the package my Xfce desktop icons changed to the "missing icon" icons and I could not access any more files in my home directory.
I had to kill X and login as root and reboot.
Then everything was ok and even Google Earth works fine too.

I quickly looked at the SBo script but didn't notice anything that could cause this behavior. Although I can barely read shell scripts so I could've easily missed something.

One thing I should mention is that I'm using kernel 3.7.1 (compiled using current's config) and am using Nvidia binary blob video driver.

Other than that my system has been quite stable.
 
Old 04-19-2013, 02:51 PM   #2
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Rep: Reputation: 39
I think you may have to re-install the nvidia binary after installing Google Earth.
 
Old 04-19-2013, 02:54 PM   #3
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Rep: Reputation: 39
and if you're running slackware64 multilib you have to add the 32-bit stuff when it asks you
 
Old 04-22-2013, 02:08 AM   #4
Slackovado
Member
 
Registered: Mar 2005
Location: Burnaby, BC, Canada
Distribution: Slackware 14 32bit, Debian, Arch
Posts: 213

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by rkfb View Post
and if you're running slackware64 multilib you have to add the 32-bit stuff when it asks you
Yeah, they were installed fresh.
And it's a 32bit Slackware 14

Google Earth is also one of the programs that will not list some folders.
When I want to open a gpx (track file) and it's in a folder like

Code:
temp
2012
2013
The nothing will be listed inside the temp folder, not even files.
Very weird, I've never had this kind of major fault on a Linux system.
 
Old 04-22-2013, 08:40 PM   #5
Michielvw
Member
 
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
The fault however is not yours in this case, but pretty much mine. Mea Culpa for having screwed this up. Basically I missed out a glitch in the build where google more or less set the permission to 700.

The following patch will sort it out..

Code:
--- google-earth.SlackBuild.orig	2013-04-23 01:23:52.874110820 +0000
+++ google-earth.SlackBuild	2013-04-23 01:25:30.074320008 +0000
@@ -48,6 +48,7 @@
 ar p $CWD/google-earth-stable_current_i386.deb data.tar.lzma | lzma -d | tar xv
 cd $PKG
 chown -R root:root . 
+chmod 0755 .
 find . \
  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 755 {} \; -o \
As you can see this sets the permissions of $PKG (in this case /tmp/SBo/package-google-earth) back to 0755 after google screws us over.

Again, really sorry for missing this. :|
 
Old 04-22-2013, 09:28 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,502

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
@michiel: You missed the documentation on my SlackBuild?

Code:
# Make sure top-level perms are correct:
chmod 0755 .
 
Old 04-23-2013, 08:48 AM   #7
Michielvw
Member
 
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
Willy, Apparently so. :|
 
Old 04-23-2013, 06:35 PM   #8
Slackovado
Member
 
Registered: Mar 2005
Location: Burnaby, BC, Canada
Distribution: Slackware 14 32bit, Debian, Arch
Posts: 213

Original Poster
Rep: Reputation: 27
Thanks for clearing this up.
Much appreciated.
I was concerned that something was wrong with my Slackware install.
Will the Slackbuid be updated with that patch?
I don't mind making a new package and reinstalling.
 
Old 04-23-2013, 07:05 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,502

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It will be updated, but for the meantime, you can add the patch yourself to the script directly and rebuild the package
Also, you might want to redownload the deb package again since google has just released 7.1.1.1580
 
Old 04-24-2013, 12:48 AM   #10
Slackovado
Member
 
Registered: Mar 2005
Location: Burnaby, BC, Canada
Distribution: Slackware 14 32bit, Debian, Arch
Posts: 213

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by willysr View Post
It will be updated, but for the meantime, you can add the patch yourself to the script directly and rebuild the package
Also, you might want to redownload the deb package again since google has just released 7.1.1.1580
I'll do that, thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google earth install problem yentlp Linux - Software 10 03-22-2012 05:26 AM
How to install Google Earth? QueenZ Linux - Newbie 5 03-13-2009 06:58 AM
How can I install Google earth 5 yaarappa Linux - Software 3 02-28-2009 05:33 AM
How to install Google Earth vibinlakshman Linux - Newbie 4 01-06-2009 07:44 AM
Want to install Google Earth JosephS Linux - Software 1 03-01-2008 04:34 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration