Google earth linux gentoo

Как поставить googleearth на gentoo?

Собственно, сабж.
Да, я знаю, уже было. Решил вернуться к вопросу, прога понадобилась бы.
Симптомы:

Там действительно лежит файл размером в 29 Мб!

Есть ли истории успеха ?

исправь размер/суммы в /usr/portage/sci-geosciences/googleearth/Manifest

пользуясь случаем — какая там нынче версия на самом деле? А то у меня чешутся руки это пофиксить, ибо мэйнтэйнер похоже неактивен

и меняешь эти значения в манифесте, т.е. должно быть так:

вот ты извращенец-то.

Круто. Установил предыдущую версию (6.0.3-что-то-там). ШРИФТЫ: http://tau.rghost.ru/42980738/image.png

век живи — век учись 🙂 не знал про —force

И не всё, не собирается. Установил предыдущую версию, она встала вообще без проблем.

а это стааарый баг
на встроенных кутях кракозябры
а начиная с какой-то там версии отвалилась возможность использовать системные
потому тындыкс-карты рулят :3

не собирается — это уже другой вопрос
а не собирается, потому что поменял гуголь бинарник —> старый патч не накладывается —> patchelf матерится

отвалилась возможность использовать системные

Они серьезно. Печааааааль.

точнее не так — его вообще не стало

Старую версию (5.1.что.то.там) тоже не находит. Где же её взять?

Тындекс-карты рулили бы, если бы мне не приходилось работать с файлами-для-гуглоземли (их не я делал, ничего не поделаешь).

если дисты лежат в /usr/portage/distfiles (дефолт), то

— какая там нынче версия на самом деле?

сказать не могу, крешится на старте, несмотря на настройку, которую советуют в постемерже. Если вдруг что будешь править, там еще грабли в ебилде, вот так должно быть (т.е. крешлоги пишет именно в

/.googleearth, а не в

_._/config/Google ) по идее.

Во, спасибо. Победа в номинации «лучший» (т.е. самый понятный и самый рабочий) ответ нубу 🙂

Источник

Getting Google Earth in Gentoo Linux to display Panoramio photos

Well, I decided to get Panoramio photos working in Google Earth installed using the hacked ebuild I posted in April 2014 (see my post Work-around if 64-bit Google Earth crashes in Gentoo Linux).

The modification devised by user amirpli (see Comment #9 in Gentoo Bugzilla Bug Report No. 490066) does not work in my case, as explained in detail in the above-mentioned April 2014 post. I believe this is because I am using the FGLRX video driver, as I have successfully applied amirpli‘s modification in an installation on a PC that has an Intel GPU.

Here is how I got Panoramio photos to display on my main laptop running the FGLRX driver, although my fix is yet another hack: I use 32-bit libraries downloaded from the Web. It works for me, though!

Background

I am running Google Earth 7.1.2.2041 installed from a local overlay (see my above-mentioned April 2014 post) in KDE 4.14.3 under Gentoo Linux

amd64 with the 3.17.1-gentoo-r1 kernel and FGLRX driver:

# eix ati-drivers
[I] x11-drivers/ati-drivers
Available versions:
(legacy) 13.1_pre897^td
(1) 13.4^td 13.9^td 13.12^td 14.4_p1^td (

)14.12-r2^td 14.12-r3^td

Installed versions: 14.12-r3(1)^td(20:22:04 13/02/15)(modules qt4 -debug -pax_kernel -static-libs ABI_X86=»32 64″ KERNEL=»linux»)
Homepage: http://www.amd.com
Description: Ati precompiled drivers for Radeon Evergreen (HD5000 Series) and newer chipsets

Читайте также:  Windows command bat file

Procedure

1. Download into

/Downloads/ the following Ubuntu 32-bit packages from http://packages.ubuntu.com/utopic/i386/libs/

$ ls -la *.deb
-rw-r—r— 1 fitzcarraldo users 24060 Mar 1 23:59 libecore-imf1_1.8.6-2ubuntu1_i386.deb
-rw-r—r— 1 fitzcarraldo users 274206 Mar 1 22:59 libfreeimage3_3.15.4-3build1_i386.deb
-rw-r—r— 1 fitzcarraldo users 52154 Mar 1 23:45 libilmbase6_1.0.1-6.1_i386.deb
-rw-r—r— 1 fitzcarraldo users 135300 Mar 2 00:28 libjasper1_1.900.1-debian1-2ubuntu0.2_i386.deb
-rw-r—r— 1 fitzcarraldo users 106868 Mar 1 23:00 libjpeg-turbo8_1.3.0-0ubuntu2_i386.deb
-rw-r—r— 1 fitzcarraldo users 98500 Mar 1 23:39 libopenjpeg5_1.5.2-2_i386.deb
-rw-r—r— 1 fitzcarraldo users 189420 Mar 2 00:21 libraw10_0.16.0-6_i386.deb

2. Download into

$ ls -la *.rpm
-rw-r—r— 1 fitzcarraldo users 57976 Mar 2 00:13 libilmbase6-1.0.2-11.1.2.i586.rpm
-rw-r—r— 1 fitzcarraldo users 148379 Mar 2 00:03 libilmimf6-1.6.1-alt9.i586.rpm

/Downloads/ the following 32-bit libraries from the above-mentioned .deb and .rpm packages:

$ ls -la lib*.so*
-rw-r—r— 1 fitzcarraldo users 644568 Apr 27 2014 libfreeimage-3.15.4.so
-rw-r—r— 1 fitzcarraldo users 677340 Apr 27 2014 libfreeimageplus-3.15.4.so
-rwxr-xr-x 1 fitzcarraldo users 271780 Jul 15 2012 libHalf.so.6.0.0
-rwxr-xr-x 1 fitzcarraldo users 104044 Jul 15 2012 libIex.so.6.0.0
-rw-r—r— 1 fitzcarraldo users 671896 Dec 3 15:06 libIlmImf.so.6.0.0
-rwxr-xr-x 1 fitzcarraldo users 22260 Jul 15 2012 libIlmThread.so.6.0.0
-rw-r—r— 1 fitzcarraldo users 342116 Jan 22 18:46 libjasper.so.1.0.0
-rw-r—r— 1 fitzcarraldo users 300776 Dec 19 2013 libjpeg.so.8.0.2
-rw-r—r— 1 fitzcarraldo users 142604 Apr 26 2014 libopenjpeg.so.1.5.2
-rw-r—r— 1 fitzcarraldo users 657336 Jul 22 2014 libraw.so.10.0.0

4. Merge the 32-bit Google Earth package from a local overlay, using the ebuild listed in my above-mentioned April 2014 post:

# emerge -C googleearth
# rm -rf /opt/googleearth/
# emerge googleearth::local_overlay

5. Delete the four bundled Qt libs, compile the shim devised by user amirpli (see Comment #9 in Gentoo Bugzilla Bug Report No. 490066) but compile it for 32 bits (‘ -m32 ‘), and edit the googleearth script to use the 32-bit libfreeimage.so.3 that you will copy into /opt/googleearth/ later:

# cd /opt/googleearth
# rm libQt*
# touch baifaao.cpp
# nano baifaao.cpp
# cat baifaao.cpp
/* amirpli 2013/11/28 */
#include
extern «C» <
int _Z34QBasicAtomicInt_fetchAndAddOrderedPVii(QAtomicInt* a, int b) <
return a->fetchAndAddOrdered(b);
>
>
# gcc -I/usr/include/qt4 -O3 -m32 -fPIC —shared baifaao.cpp -o baifaao.so
# nano googleearth
# tail googleearth
>

export LD_PRELOAD=/opt/googleearth/libfreeimage.so.3:/opt/googleearth/baifaao.so
export LC_NUMERIC=en_US.UTF-8 # Must do this if you are using non-US locale.

6. Copy into the Google Earth directory all the libraries downloaded and extracted in Steps 1 to 3 above, and create the necessary symlinks and permissions:

# cd /opt/googleearth
# cp /home/fitzcarraldo/Downloads/libfreeimage-3.15.4.so .
# cp /home/fitzcarraldo/Downloads/libfreeimageplus-3.15.4.so .
# ln -s libfreeimage-3.15.4.so libfreeimage.so.3
# ln -s libfreeimage.so.3 libfreeimage.so
# ln -s libfreeimageplus-3.15.4.so libfreeimageplus.so.3
# ln -s libfreeimageplus.so.3 libfreeimageplus.so
# chmod +x libfreeimage-3.15.4.so
# chmod +x libfreeimageplus-3.15.4.so
# cp /home/fitzcarraldo/Downloads/libjpeg.so.8.0.2 .
# ln -s libjpeg.so.8.0.2 libjpeg.so
# ln -s libjpeg.so libjpeg.so.8
# chmod +x libjpeg.so.8.0.2
# cp /home/fitzcarraldo/Downloads/libopenjpeg.so.1.5.2 .
# ln -s libopenjpeg.so.1.5.2 libopenjpeg.so
# ln -s libopenjpeg.so libopenjpeg.so.5
# chmod +x libopenjpeg.so.1.5.2
# cp /home/fitzcarraldo/Downloads/libIlmImf.so.6.0.0 .
# ln -s libIlmImf.so.6.0.0 libIlmImf.so
# ln -s libIlmImf.so libIlmImf.so.6
# chmod +x libIlmImf.so.6.0.0
# cp /home/fitzcarraldo/Downloads/libHalf.so.6.0.0 .
# ln -s libHalf.so.6.0.0 libHalf.so
# ln -s libHalf.so libHalf.so.6
# chmod +x libHalf.so.6.0.0
# cp /home/fitzcarraldo/Downloads/libIex.so.6.0.0 .
# ln -s libIex.so.6.0.0 libIex.so
# ln -s libIex.so libIex.so.6
# chmod +x libIex.so.6.0.0
# cp /home/fitzcarraldo/Downloads/libraw.so.10.0.0 .
# ln -s libraw.so.10.0.0 libraw.so
# ln -s libraw.so libraw.so.10
# chmod +x libraw.so.10.0.0
# cp /home/fitzcarraldo/Downloads/libIlmThread.so.6.0.0 .
# ln -s libIlmThread.so.6.0.0 libIlmThread.so
# ln -s libIlmThread.so libIlmThread.so.6
# chmod +x libIlmThread.so.6.0.0
# cp /home/fitzcarraldo/Downloads/libjasper.so.1.0.0 .
# ln -s libjasper.so.1.0.0 libjasper.so
# ln -s libjasper.so libjasper.so.1
# chmod +x libjasper.so.1.0.0

Finally, launch Google Earth from your user account, not the root user’s account:

Clicking on any photo icon in Google Earth should now display Panoramio photos.

If you click on a photo icon and the frame that opens displays several thumbnails, clicking on a thumbnail may result in a white Panoramio frame without any photo and thumbnails displayed. According to user amirpli this problem occurs in KDE but not GNOME. If it does happen in your case, to view the other photos right-click on a thumbnail and select ‘Open in New Window’. This way you will be able to view any of the photos.

Читайте также:  Windows 10 не создавать system volume information

It’s nice to be able to see the Panoramio photos again in Linux with the FGLRX driver.

Источник

Ubuntu Documentation

Google Earth

Google Earth puts a planet’s worth of imagery and other geographic information right on your desktop. View exotic locales like Maui and Paris as well as points of interest such as local restaurants, hospitals, schools, and more.

Screenshots

Installing the .deb file downloaded from the Google Earth Website

The Google Earth Website now has pre-compiled .deb packages for Ubuntu.

Open http://www.google.com/earth/download/ge/agree.html and download Google Earth for Linux. Select the .deb package for your CPU architecture (32 or 64-bit). If you click on Advanced Setup you can choose the latest version of Google Earth or the previous version. Note to 64bit users: The 64bit debian package depends on ia32-libs which is deprecated and no longer available as of 13.10 Saucy. Use the 32bit package and multiarch-support.

Make sure the lsb-core package is installed! Open a terminal from Applications ->Accessories ->Terminal (in the Panel) or from the Dash (in new Unity desktop) and type (or copy-paste) the following command into the terminal:

64bit users: You should use this instead if installing the 32bit package

Double-click the downloaded .deb package to install it using the Ubuntu Software Center.

After installation you should find Google Earth in the Applications ->Internet menu or through the Dash.

For earlier versions of Ubuntu that don’t have the USC, it is preferred that you use gdebi installer:

Make sure that gdebi is installed:

Install Google Earth .deb package from the terminal or by opening the package with the gdebi’s graphical interface.

Alternative installation method

Using make-googleearth-package

Google Earth is also available from googleearth-package. This package installs a script called make-googleearth-package, which downloads the latest stable Google Earth installer from Google and creates a package for you. You can then install and remove the created package at will. You can find the googleearth-package in the multiverse repository.

Make sure the lsb-core package is installed:

Install the googleearth-package package:

The instructions on how to use the script can be found by running

Use the script to download the latest binary and create a .deb package:

Please note that the Natty (11.04) version of googleearth-package no longer seems to require the «—force» option for 64-bit systems. The Natty version can be used on earlier Ubuntu releases. Note to 64bit users: make-googleearth-package depends on ia32-libs which is depreciated and no longer available as of 13.10 Saucy. Use the precompiled 32bit debian package from http://www.google.com/earth/download/ge/agree.html and the multiarch-support package from the repositories.

Be aware that a previously downloaded copy of the binary will not be overwritten, so manually delete any GoogleEarthLinux.bin file before running this command.

Читайте также:  Arch linux для начинающих
  • Install the created .deb package and Google Earth should be available in your menus.
  • Hints and Tips

    Uninstallation

    You can uninstall Google Earth as any other package. From the terminal you can do it using the following commands:

    Find the exact package name: which may show that the package name is google-earth-stable.

    Uninstall the package:

    If you installed Google Earth by a method that included running sh GoogleEarthLinux.bin (now depreciated), the unistallation can be done by pasting the following command in a terminal:

    This command is all on one line. Copy it and paste it in your terminal.

    You may also wish to remove your user preferences folder, although this is not necessary if you intend to reinstall later. This directory contains Google Earth settings and the cache:

    Troubleshooting

    Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.

    Google Earth and Compiz

    As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636

    Google Earth and ATI

    Some people using the ATI fglrx driver have experienced a problem where Google Earth freezes at the splash screen and never starts up. See this post for a solution: http://n01getsout.com/blog/2006/11/21/google-earth-for-linux-freezing-with-ati

    Google Earth and 3D acceleration

    Ensure that you video driver has 3D acceleration enabled. Display Hardware Drivers by selecting System -> Administration -> Hardware Drivers Select the Enable checkbox next to your graphics card. This may require a system restart.

    Google Earth on Ubuntu x64

    As of 13.10 Saucy, ia32-libs is no longer available from the repositories. Use the multiarch-support package from the repositories and download the 32bit .deb from http://www.google.com/earth/download/ge/agree.html

    If you get a «error 29», you may miss «lib32nss-mdns». Install this library like this:

    sudo aptitude install lib32nss-mdns

    You may also install other 32bit libraries. Note that google does not provide a 64 bit version of Google Earth. Thus installation on x64 system will take some extra efforts.

    Accidentally left the ‘start automatically after install’ checked

    If the installer was started with sudo, googleearth will be started as root, but still using the home folder of the normal user (who started sudo). Thus Google Earth will place its configuration files into the user’s home folders, but with root as the owner. The normal user cannot use Google Earth, because the settings cannot be saved. The display will not contain a globe, but only a black space and some settings will be grayed out. To fix this problem, delete the Google Earth configuration directory:

    Qt

    This version has Qt libraries that appear to be old and incompatible, causing crashes. The stack trace will include: libQtWebKit.so.4(+0x747d18)

    To fix this, install the repository’s libQt libs:

    Then remove the bundled libs (assuming the default installation location):

    Libfreeimage

    There is also apparently a buggy version of libfreeimage. The stack trace will include: libIGGfx.so(+0x1296c9)

    then to start Google Earth:

    After these, Google Earth worked very well on my system (ATI Radeon accelerated, Compiz off).

    Further Reading

    Using Google Earth — Official Google Earth Blog

    Источник

    Оцените статью