Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
google-desktop on amd64 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Tue May 11, 2010 9:56 am    Post subject: google-desktop on amd64 [solved] Reply with quote

I am trying to get google-desktop on my amd64-laptop.
I got the ebuild from https://bugs.gentoo.org/show_bug.cgi?id=183492

I have to set the ~x86 keyword in package.keys to install google-desktop.

The emerging process was successful but then I can not use it. The binaries are there:
Code:
#  ll /opt/google/desktop/bin
total 3460
-rwxr-xr-x 1 root root 3371912 May 11 10:24 gdl_box
-rwxr-xr-x 1 root root     291 May 11 10:24 gdl_config
-rwxr-xr-x 1 root root    7204 May 11 10:24 gdl_config.bin
-rwxr-xr-x 1 root root     295 May 11 10:24 gdl_fs_crawler
-rwxr-xr-x 1 root root   39812 May 11 10:24 gdl_fs_crawler.bin
-rwxr-xr-x 1 root root     292 May 11 10:24 gdl_indexer
-rwxr-xr-x 1 root root   19676 May 11 10:24 gdl_indexer.bin
-rwxr-xr-x 1 root root     292 May 11 10:24 gdl_service
-rwxr-xr-x 1 root root   16300 May 11 10:24 gdl_service.bin
-rwxr-xr-x 1 root root     290 May 11 10:24 gdl_stats
-rwxr-xr-x 1 root root   18620 May 11 10:24 gdl_stats.bin
-rwxr-xr-x 1 root root     291 May 11 10:24 gdl_update
-rwxr-xr-x 1 root root   30756 May 11 10:24 gdl_update.bin
-rwxr-xr-x 1 root root     163 May 11 10:24 gdlinux


When I try to execute them from console, eg. gdlinux - nothing happens.

What have I done wrong, what is missing? Any ideas?
_________________
Please notice the back of this message.


Last edited by menschmeier on Wed May 12, 2010 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue May 11, 2010 12:50 pm    Post subject: Reply with quote

From /usr/share/applications/google-gdl.desktop:
Code:
/opt/google/desktop/bin/gdlinux start

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Tue May 11, 2010 1:02 pm    Post subject: Reply with quote

This is was happens, nothing:

Code:
/usr/share/applications $ cat google-gdl.desktop               
[Desktop Entry]                                                             
Version=1.0                                                                 
Encoding=UTF-8                                                               
Type=Application                                                             
Name=Google Desktop                                                         
Name[de]=Google Desktop                                                     
Name[en_US]=Google Desktop                                                   
Name[es]=Google Desktop                                                     
Name[fr]=Google Desktop                                                     
Name[it]=Google Desktop
Name[ja]=Google デスクトップ
Name[ko]=Google 데스크톱
Name[nl]=Google Desktop
Name[pt_BR]=Google Desktop
Name[zh_CN]=Google 桌面
Name[zh_TW]=Google 桌面
Comment=Search your own computer
Comment[de]=Durchsuchen Sie Ihren eigenen Computer
Comment[en_US]=Search your own computer
Comment[es]=Buscar en el propio equipo
Comment[fr]=Effectuez des recherches sur votre propre ordinateur
Comment[it]=Cerca informazioni sul computer
Comment[ja]=このパソコン内の情報を検索
Comment[ko]=사용자의 컴퓨터를 검색합니다
Comment[nl]=Uw eigen computer doorzoeken
Comment[pt_BR]=Pesquisar no seu computador
Comment[zh_CN]=搜索自己的电脑
Comment[zh_TW]=搜尋您的電腦
Terminal=false
Categories=Google
Icon=/opt/google/desktop/resource/gdl_large.png
Exec=/opt/google/desktop/bin/gdlinux start


Code:

/usr/share/applications $ /opt/google/desktop/bin/gdlinux start


Code:

/usr/share/applications $ ps -aef | grep gdl
steffen  31705  3175  0 14:58 pts/5    00:00:00 grep --colour=auto gdl

_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Tue May 11, 2010 5:30 pm    Post subject: Reply with quote

This is all I got in /var/log/messages:

Code:
May 11 18:39:34 pluto gdl_box: F 05-11 18:39:33 21819          gdl_box main.cc:95] gdl_service exit abnormally! exit code: 32512 pid: 21836


I couldn't find any useful informations with google.
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue May 11, 2010 11:04 pm    Post subject: Reply with quote

It probably has some library dependency that is not mentioned in the ebuild, and which is not satisfied in your case. So, it is unable to run. You can try to run this to figure out if any library dependency is unsatisfied:
Code:
ldd /opt/google/desktop/bin/gdl_box | grep 'not found'
If it still doesn't work, then I am out of ideas. :roll:
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Wed May 12, 2010 10:42 am    Post subject: Reply with quote

All libraries are there:

Code:
# ldd /opt/google/desktop/bin/gdl_box | grep 'not found'
# ldd /opt/google/desktop/bin/gdlinux | grep 'not found


I tried to modify the ebuild because google-desktop is for amd64 available to not only for x86. But I wasn't able to emerge it using my own amd64-ebuild. It says that the checksum of the downloaded rpm would be wrong ...
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed May 12, 2010 12:56 pm    Post subject: Reply with quote

menschmeier wrote:
All libraries are there:

Code:
# ldd /opt/google/desktop/bin/gdl_box | grep 'not found'
# ldd /opt/google/desktop/bin/gdlinux | grep 'not found


I tried to modify the ebuild because google-desktop is for amd64 available to not only for x86. But I wasn't able to emerge it using my own amd64-ebuild. It says that the checksum of the downloaded rpm would be wrong ...
Why didn't you say so earlier that you are on 64 bits. Try this ebuild instead:
https://forums.gentoo.org/viewtopic-p-6095780.html#6095780

As for the checksum, you need to digest your new ebuild. ebuild <ebuild name> digest. If you have an x86 box in addition to the amd64 box and my ebuild works, please let me know. I will then submit this ebuild to bugs.gentoo.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Wed May 12, 2010 1:37 pm    Post subject: Reply with quote

This rpm seems to be bad. I got the sme error with my own amd64-ebuild:

Code:
# cat /var/tmp/portage/app-misc/google-desktop-1.2/temp/build.log
>>> Downloading 'http://distfiles.gentoo.org/distfiles/google-desktop-linux-current.rpm'
--2010-05-12 15:34:41--  http://distfiles.gentoo.org/distfiles/google-desktop-linux-current.rpm
Resolving distfiles.gentoo.org... 156.56.247.195, 149.20.20.135, 140.211.166.134, ...
Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-05-12 15:34:41 ERROR 404: Not Found.

>>> Downloading 'http://dl.google.com/linux/rpm/stable/x86_64/google-desktop-linux-current.rpm'
--2010-05-12 15:34:41--  http://dl.google.com/linux/rpm/stable/x86_64/google-desktop-linux-current.rpm
Resolving dl.google.com... 74.125.39.91, 74.125.39.93, 74.125.39.136, ...
Connecting to dl.google.com|74.125.39.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8372107 (8.0M) [application/x-rpm]
Saving to: `/usr/portage/distfiles/google-desktop-linux-current.rpm'

100%[=================================================================>] 8,372,107    711K/s   in 11s

2010-05-12 15:34:53 (715 KB/s) - `/usr/portage/distfiles/google-desktop-linux-current.rpm' saved [8372107/8372107]

('Filesize does not match recorded size', 8372107, 8339520)
!!! Fetched file: google-desktop-linux-current.rpm VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      8372107
!!! Expected: 8339520
Refetching... File renamed to '/usr/portage/distfiles/google-desktop-linux-current.rpm._checksum_failure_.l6hqKa'

!!! Couldn't download 'google-desktop-linux-current.rpm'. Aborting.


Is there a workaround for this problem?
ppurka, can you provided me the correct RPM somehow?
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Wed May 12, 2010 2:36 pm    Post subject: Reply with quote

RPM is not bad. You need to rebuild the manifest.
Code:
cd /usr/local/portage/app-misc/google-desktop-1.2
rm Manifest
ebuild google-desktop-1.2.ebuild digest

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Wed May 12, 2010 3:02 pm    Post subject: Reply with quote

Hmm, not its working. But I am sure I deleted the Manifest and rebuilt it before ...

Now it is working. Thank you ppurka! :-)
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum