LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Google Earth 7.0.3.8542 from SlackBuilds Repository strange install problem (http://www.linuxquestions.org/questions/slackware-14/google-earth-7-0-3-8542-from-slackbuilds-repository-strange-install-problem-4175458733/)

Slackovado 04-19-2013 01:55 AM

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.

rkfb 04-19-2013 02:51 PM

I think you may have to re-install the nvidia binary after installing Google Earth.

rkfb 04-19-2013 02:54 PM

and if you're running slackware64 multilib you have to add the 32-bit stuff when it asks you

Slackovado 04-22-2013 02:08 AM

Quote:

Originally Posted by rkfb (Post 4934892)
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.

Michielvw 04-22-2013 08:40 PM

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. :|

willysr 04-22-2013 09:28 PM

@michiel: You missed the documentation on my SlackBuild?

Code:

# Make sure top-level perms are correct:
chmod 0755 .


Michielvw 04-23-2013 08:48 AM

Willy, Apparently so. :|

Slackovado 04-23-2013 06:35 PM

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.

willysr 04-23-2013 07:05 PM

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

Slackovado 04-24-2013 12:48 AM

Quote:

Originally Posted by willysr (Post 4937600)
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


All times are GMT -5. The time now is 04:03 PM.