1b17a [Solved] google earth error - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2010, 14:24
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,731
Thanks: 217
Thanked 143 Times in 89 Posts
Default google earth error

When i go to run googleearth i take this error:
Code:
Warning: Unable to create symlink for lock '/home/deadreamer/.googleearth/instance-running-lock'.  File exists.
But when i delete instance-running-lock file from /compact/linux/home/deadreamer/.googleearth then googleearth run.
Any ideas?
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by sk8harddiefast; July 25th, 2010 at 09:39.
Reply With Quote
  #2  
Old July 22nd, 2010, 18:46
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Hmm, from /usr/local/share/google-earth/bin/googleearth:
Code:
#!/bin/sh
#
# Google Earth startup script
#

<much snipped script>

LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

rm -f ${HOME}/.googleearth/instance-running-lock
if [ -x "${GOOGLEEARTH_DATA_PATH}/googleearth-bin" ]
then
        cd "${GOOGLEEARTH_DATA_PATH}/"
        exec "./googleearth-bin" "$@"
fi
echo "Couldn't run Google Earth (googleearth-bin). Is GOOGLEEARTH_DATA_PATH set?"
exit 1

# end of googleearth ...
So, if you use the normal method, it should clear it on start automatically.
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
  #3  
Old July 22nd, 2010, 20:43
rhurlin's Avatar
rhurlin rhurlin is offline
Junior Member
 
Join Date: Nov 2008
Location: Northeim, Germany
Posts: 21
Thanks: 0
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by fronclynne View Post
Hmm, from /usr/local/share/google-earth/bin/googleearth:
Code:
#!/bin/sh
#
# Google Earth startup script
#

<much snipped script>

LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

rm -f ${HOME}/.googleearth/instance-running-lock
if [ -x "${GOOGLEEARTH_DATA_PATH}/googleearth-bin" ]
then
        cd "${GOOGLEEARTH_DATA_PATH}/"
        exec "./googleearth-bin" "$@"
fi
echo "Couldn't run Google Earth (googleearth-bin). Is GOOGLEEARTH_DATA_PATH set?"
exit 1

# end of googleearth ...
So, if you use the normal method, it should clear it on start automatically.
No, this does not clear

/compat/linux/home/USERNAME/.googleearth/instance-running-lock
Reply With Quote
  #4  
Old July 22nd, 2010, 21:27
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,731
Thanks: 217
Thanked 143 Times in 89 Posts
Default

No. Is not clearing it on start
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #5  
Old July 23rd, 2010, 16:16
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Quote:
Originally Posted by rhurlin View Post
No, this does not clear

/compat/linux/home/USERNAME/.googleearth/instance-running-lock
Ah, I just caught that. Why on (google)Earth does that even exist?

If you need a /compat/linux/home/ tree in the first place, why not symlink it to your normal [/usr]/home/?

I suppose a solution would be to add a line to the script that deleted the /compat/linux/ subtended lock file as well.
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
  #6  
Old July 23rd, 2010, 18:40
rhurlin's Avatar
rhurlin rhurlin is offline
Junior Member
 
Join Date: Nov 2008
Location: Northeim, Germany
Posts: 21
Thanks: 0
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by fronclynne View Post
[..snip..]

If you need a /compat/linux/home/ tree in the first place, why not symlink it to your normal [/usr]/home/?

I suppose a solution would be to add a line to the script that deleted the /compat/linux/ subtended lock file as well.
I think the behaviour of googleearth installation changed in last update.

I am no friend of additional symlinks, that had not automatically been installed from the port :-(

The newest port seems to use only /compat/linux/home/USERNAME/.googleearth/ for the lockfile. As far as I can see there is no lockfile in /usr/home/USERNAME/.googleearth/ (anymore).
Reply With Quote
  #7  
Old July 23rd, 2010, 19:01
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,611
Thanks: 6
Thanked 263 Times in 244 Posts
Default

I'm confused about the very existence of /compat/linux/home/ . That shouldn't necessary at all, right? I don't have one, and Google Earth starts up fine here.

Adam
Reply With Quote
  #8  
Old July 23rd, 2010, 19:40
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Yeah, I've never had googleearth create such a thing for me, and it does run well enough here. ( google-earth-5.2.1.1329 )
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
  #9  
Old July 23rd, 2010, 19:54
rhurlin's Avatar
rhurlin rhurlin is offline
Junior Member
 
Join Date: Nov 2008
Location: Northeim, Germany
Posts: 21
Thanks: 0
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by adamk View Post
I'm confused about the very existence of /compat/linux/home/ . That shouldn't necessary at all, right? I don't have one, and Google Earth starts up fine here.

Adam
As far as I can evaluate, /compat/linux/home/ was created from print/acroread8. Once it exists, it seems that googleearth uses it, too.

I see this behaviour on three machines, all 9.0-CURRENT (amd64).

Solution: Deleting /compat/linux/home/ seems to bring no disadvantages. Now acroread and googleearth are working with /usr/home/ again

Last edited by rhurlin; July 23rd, 2010 at 20:40. Reason: Completion
Reply With Quote
  #10  
Old July 23rd, 2010, 21:41
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,611
Thanks: 6
Thanked 263 Times in 244 Posts
Default

Well, again, for what it's worth, print/acroread8 never created /compat/linux/home here
Reply With Quote
  #11  
Old July 23rd, 2010, 22:38
lumiwa
Guest
 
Posts: n/a
Default

On mine FreeBSD 8.0, KDE 4.4.5 Goggle-Earth doesn't start:
Code:
/usr/local/bin/googleearth %f
Fatal error in __driConfigOptions line 1, column 0: unknown encoding.
Google Earth has caught signal 6.



We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data have been written
 to this text file:

    /usr/home/ajtim/.googleearth/crashlogs/crashlog-4c4a0b3d.txt

Please include this file if you submit a bug report to Google.

Last edited by DutchDaemon; July 24th, 2010 at 02:12. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #12  
Old July 24th, 2010, 09:12
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,731
Thanks: 217
Thanked 143 Times in 89 Posts
Default

Quote:
Solution: Deleting /compat/linux/home/ seems to bring no disadvantages. Now acroread and googleearth are working with /usr/home/ again
Didn't work. He creates again .googleearth forder on /compat/linux/home/ and also instance-running-lock file when i close it.
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #13  
Old July 24th, 2010, 13:29
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,611
Thanks: 6
Thanked 263 Times in 244 Posts
Default

So googleearth created /compat/linux/home/ ?

Adam
Reply With Quote
  #14  
Old July 24th, 2010, 13:36
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,731
Thanks: 217
Thanked 143 Times in 89 Posts
Default

Quote:
So googleearth created /compat/linux/home/ ?
Yeap
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #15  
Old July 24th, 2010, 23:09
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

Uh, are you passing any weird environment stuff? You using the normal script to start googleearth? Are you perchance starting it as root? Can you just # rm -r /usr/compat/linux/home && ln -s /home /usr/compat/linux/home?
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
The Following User Says Thank You to fronclynne For This Useful Post:
sk8harddiefast (July 25th, 2010)
  #16  
Old July 25th, 2010, 09:38
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,731
Thanks: 217
Thanked 143 Times in 89 Posts
Default

Quote:
# rm -r /usr/compat/linux/home && ln -s /home /usr/compat/linux/home
Whith this command, problem solved
Thanks
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by DutchDaemon; July 25th, 2010 at 18:18.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
google-earth lumiwa Installation and Maintenance of FreeBSD Ports or Packages 2 June 24th, 2010 12:12
Google Earth shuts down when viewing a picture Lasse Multimedia 1 January 23rd, 2010 19:52
google-earth: error code 29 caesius General 1 December 7th, 2009 01:31
Google Earth, version `GLIBCXX_3.4.9' not found DavidMarec Installation and Maintenance of FreeBSD Ports or Packages 11 October 1st, 2009 22:29
google-earth has no picture caesius Installation and Maintenance of FreeBSD Ports or Packages 6 August 28th, 2009 13:58


All times are GMT +1. The time now is 11:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0