[Picasa] Problème d'installation sur Arch64 (résolu)

Applications multimedia / jeux
Avatar de l’utilisateur
trapangle
Hankyu
Messages : 35
Inscription : lun. 09 avr. 2012, 14:01

[Picasa] Problème d'installation sur Arch64 (résolu)

Message par trapangle »

Bonjour,

Débutant sur arch, et premier message sur le forum...

J'ai installé Picasa et ses dépendances avec l'AUR et pacman (puis yaourt parce que ça ne marchait pas), mais je ne vais pas plus loin que le splashscreen et je n'ai pas de message d'erreur dans le terminal.
Comment je peux diagnostiquer où est le problème ?

Peut-être que ça pourrait m'aider : j'essaie d'installer tous les packages du groupe lib32 comme suggéré sur http://pastebin.com/RZtbFWWg, mais ça me donne ça :

Code : Tout sélectionner

[alain@earth ~]$ sudo pacman -S lib32
Password: 
error: target not found: lib32
Quelques packages que j'ai installé (dépendances ou mentionnés sur http://aur.archlinux.org/packages.php?ID=5362) :

Code : Tout sélectionner

[alain@earth ~]$ pacman -Qs lib32.*
local/lib32-gcc-libs 4.7.0-3
    Runtime libraries shipped by GCC (32-bit)
local/lib32-glibc 2.15-10
    GNU C Library for multilib
local/lib32-libice 1.0.8-1
    X11 Inter-Client Exchange library (32-bit)
local/lib32-libsm 1.2.1-1
    X11 Session Management library (32-bit)
local/lib32-libx11 1.4.99.901-2
    X11 client-side library (32-bit)
local/lib32-libxau 1.0.7-1
    X11 authorisation library (32-bit)
local/lib32-libxcb 1.8.1-2
    X11 client-side library (32-bit)
local/lib32-libxdmcp 1.1.1-1
    X11 Display Manager Control Protocol library (32-bit)
local/lib32-nspr 4.9-1
    Netscape Portable Runtime (32-bit)
local/lib32-nss 3.13.3-1
    Mozilla Network Security Services (32-bit)
local/lib32-openssl 1.0.1-1
    The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)
local/lib32-sqlite3 3.7.11-1
    A C library that implements an SQL database engine (32-bit)
local/lib32-util-linux 2.21-1
    Miscellaneous system utilities for Linux (32-bit)
local/lib32-zlib 1.2.6-1
    Compression library implementing the deflate compression method found in gzip and PKZIP (32-bit)

Code : Tout sélectionner

[alain@earth ~]$ pacman -Qs .*multilib.*
local/binutils-multilib 2.22-5 (multilib-devel)
    A set of programs to assemble and manipulate binary and object files for multilib
local/gcc-libs-multilib 4.7.0-3
    Runtime libraries shipped by GCC for multilib
local/gcc-multilib 4.7.0-3 (multilib-devel)
    The GNU Compiler Collection - C and C++ frontends for multilib
local/lib32-glibc 2.15-10
    GNU C Library for multilib
Sortie de yaourt :

Code : Tout sélectionner

[alain@earth ~]$ yaourt picasa
1 aur/picapy 1.8.0-1 (30)
    A Picasa Web manager
2 aur/picasa 3.0_5744.02-6 [installed] (785)
    A software that helps you instantly find, edit and share all the pictures on your PC
3 aur/picasa-beta 3.0_5744.02-3 (358)
    A software that helps you instantly find, edit and share all the pictures on your PC
4 aur/picasa_upload 0.1.5-1 (41)
    A command line utility to upload a bunch of photos to picasa.
5 aur/picasasync 20120214-1 (3)
    Sync a directory with your Picasa Web account.
6 aur/picasauploader 0.5.4-1 (Out of Date) (0)
    A tool to help you upload photos and videos to Google PicasaWeb
7 aur/publishr-gimp 0.5.0-2 (41)
    Publish to Flickr and Picasaweb from within the GIMP interface
8 aur/vim-up2picasaweb 0.1-1 (9)
     upload image to picasaweb with vim
==> Enter n�� of packages to be installed (ex: 1 2 3 or 1-3)
==> --------------------------------------------------------
==> 2


==> Downloading picasa PKGBUILD from AUR...
x picasa.patch
x uninstall.html
x picasa.desktop
x picasa.install
x LICENSE
x PKGBUILD

Comment by: FabienM on Sat, 17 Sep 2011 12:01:57 +0000
Update for gadget3000 PKGBUILD, using ftp.hosteurope.de (since kernel.org is currently unavailable) and openssl 1.0.0.e (since d version is no more available in repos).

http://pastebin.com/5bf0PXNC	

Comment by: hgabreu on Thu, 29 Sep 2011 00:07:19 +0000
With the domo's workaround my picasa does not crashes anymore, but it also does not login.
It just hangs a while then shows Web Albums is temporarily unavailable.
Is anyone experiencing this too?	

Comment by: yugrotavele on Sun, 29 Jan 2012 18:21:07 +0000
Unfortunately this appears to be the last version of picasa currently supported in Linux. If that changes I will update at that time.	

Comment by: ReaphSharc on Thu, 15 Mar 2012 18:31:03 +0000
I can't install this on my 64-bits due to a dependency conflict:

Aur Targets    (3): lib32-nspr lib32-nss picasa
Pacman Targets (1): gcc-multilib

Proceed with installation? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs-multilib and gcc-libs are in conflict
Installation failed.	

Comment by: Maxr on Thu, 15 Mar 2012 19:07:58 +0000
That's not related to picasa. When you're on x64, you should install gcc-libs-multilib and remove gcc-libs (and so on...). See https://wiki.archlinux.org/index.php/Arch64_FAQ#Multilib_Repository_-_Multilib_Project for details.	

Comment by: ebrodeur on Tue, 20 Mar 2012 09:10:43 +0000
% linux32 bin/wine drive_c/Program\ Files/Google/Picasa3/Picasa3.exe
err:module:load_builtin_dll failed to load .so lib for builtin Lwinex11.drv: libSM.so.6: cannot open shared object file: No such file or directory

I fixed this by: % pacman -S lib32-libsm

Maybe add this to a 'depends' var?

Otherwise, works flawless, good job!	

First Submitted: Fri, 26 May 2006 12:03:37 +0000	
picasa 3.0_5744.02-6 
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> picasa dependencies:
 - freetype2 (already installed)
 - libgphoto2 (already installed)
 - lib32-libsm (already installed)
 - lib32-nss (already installed)
 - lib32-openssl (already installed)
 - rpmextract (already installed)


==> Edit picasa.install ? [Y/n] ("A" to abort)
==> ------------------------------------------
==> n

==> Continue building picasa ? [Y/n]
==> --------------------------------
==> 
==> Building and installing package
==> Making package: picasa 3.0_5744.02-6 (Mon Apr  9 14:19:25 CEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading picasa-3.0-current.i386.rpm...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 31.1M  100 31.1M    0     0  2644k      0  0:00:12  0:00:12 --:--:-- 2884k
  -> Found picasa.desktop
  -> Found picasa.patch
  -> Found LICENSE
  -> Found uninstall.html
==> Validating source files with md5sums...
    picasa-3.0-current.i386.rpm ... Passed
    picasa.desktop ... Passed
    picasa.patch ... Passed
    LICENSE ... Passed
    uninstall.html ... Passed
==> Extracting Sources...
  -> Extracting picasa-3.0-current.i386.rpm with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
patching file opt/google/picasa/3.0/bin/picasa
patching file opt/google/picasa/3.0/bin/wrapper
Hunk #1 succeeded at 349 (offset 14 lines).
==> Tidying install...
  -> Purging unwanted files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: picasa 3.0_5744.02-6 (Mon Apr  9 14:20:38 CEST 2012)

==> Continue installing picasa ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> Y

Password: 
loading packages...
warning: picasa-3.0_5744.02-6 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): picasa-3.0_5744.02-6

Total Installed Size:   100.83 MiB
Net Upgrade Size:       0.00 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity                                                                                          [##########################################################################] 100%
(1/1) loading package files                                                                                               [##########################################################################] 100%
(1/1) checking for file conflicts                                                                                         [##########################################################################] 100%
(1/1) checking available disk space                                                                                       [##########################################################################] 100%
(1/1) upgrading picasa                                                                                                    [##########################################################################] 100%
Before using picasa you must accept the license.
The license files are located in /usr/share/licences/picasa/

NOTE:
If you're not running gnome/kde please look at the hook files
located in /opt/google/picasa/info.
Edit them for your default filemanager/browser/email/mime-handling,
and copy them to /opt/google/picasa/bin.
If you're a gnome/kde user you should not modify these files.
Picasa will use your default DE settings.

Concernant les notes ci-dessus : j'ai jeté un coup d'œil aux fichiers "hooks" (je suis sous Xfce) mais je ne crois pas que ça pourrait avoir un lien, je ne les ai pas encore modifiés.
J'ai aussi jeté un coup d'œil aux licences, mais je ne vois pas comment je peux les "accepter".
À un moment, picasa m'a quand même donné un message pour me dire que le charset par défaut n'était pas UTF-8, puis il s'est fermé et rien d'autre.

Une piste ?
Dernière modification par trapangle le lun. 16 avr. 2012, 17:50, modifié 1 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Picasa] Problème d'installation sur Arch64

Message par FoolEcho »

Il n'y a plus de groupe "lib32".
trapangle a écrit :Concernant les notes ci-dessus : j'ai jeté un coup d'œil aux fichiers "hooks" (je suis sous Xfce) mais je ne crois pas que ça pourrait avoir un lien, je ne les ai pas encore modifiés.
Compte tenu du message, je dirai que justement il te faut modifier ces fichiers.
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
trapangle
Hankyu
Messages : 35
Inscription : lun. 09 avr. 2012, 14:01

Re: [Picasa] Problème d'installation sur Arch64

Message par trapangle »

Les fichiers hooks en question sont :
1. picasa-hook-filemanager.sh : je l'ai modifié pour Thunar et ajouté dans mon $PATH :

Code : Tout sélectionner

#!/bin/sh
#---------< Hook File >------------------------------------------------------
#
#       Picasa 'Hook' file to allow Picasa to be more closely
#   integrated with your desktop.
#
#   Picasa tries to integrate nicely with the Linux desktop where
#   and when it can.  However, Linux does not have standard or
#   well defined interfaces for many functions.
#
#   These hook files are provided by Google to allow users to
#   fine tune their integration of Picasa with their particular
#   Linux desktop environment.
#
#---------< hook-filemanager >------------------------------------------------
#
#   picasa-hook-filemanager.sh
#
#   This script is passed a command line with a single file name
#
#   The ideal behavior is for the file manager to open the directory
#   that contains that file, with that file highlighted.
#
#   If this script exits with a status of 0, then Picasa will
#   assume that you have handled the request, and will not perform
#   any further processing.
#
#   To use this file:
#       copy the picasa-hook-filemanager.sh.template file to
#       some place in your path, and name it picasa-hook-filemanager.sh.
#       Then edit the script to add the functionality you need
#
#----------------------------------------------------------------------------

/usr/bin/thunar "${1%%$(basename "$1")}"
2. picasa-hook-email.sh : je n'utilise pas de client e-mail (gmail dans chromium) et je ne vois pas ce que je pourrais écrire dedans.
3. picasa-hook-mimehandler.sh : je ne trouve pas d'exemple et ne vois pas ce que je pourrais écrire dedans.
4. picasa-hook-urlhandler.sh : j'ai ajouté

Code : Tout sélectionner

/usr/bin/chromium $1
et ajouté dans mon $PATH.

Mais si je comprends bien le rôle des hooks, ils sont appelés au moment ou picasa a besoin d'un navigateur, d'un client mail ou du gestionnaire de fichiers. Ça m'étonne que picasa en ait déjà besoin au démarrage. Pourquoi penses-tu que c'est nécessaire ? (j'aime bien comprendre :) )
Ici, avec les deux hooks urlhandler et filemanager, pas de changement : picasa ne va pas plus loin que le splashscreen et ne donne pas de message d'erreur.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Picasa] Problème d'installation sur Arch64

Message par FoolEcho »

trapangle a écrit :Pourquoi penses-tu que c'est nécessaire ? (j'aime bien comprendre :) )
Parce qu'il faut suivre les messages d'installation ? :copain:
Sinon je ne sais pas... sans message d'erreur, on ne va pas trouver à moins d'un coup de bol. :(
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
trapangle
Hankyu
Messages : 35
Inscription : lun. 09 avr. 2012, 14:01

Re: [Picasa] Problème d'installation sur Arch64

Message par trapangle »

Quelqu'un qui a un picasa fonctionnel pourrait faire un

Code : Tout sélectionner

pacman -Qs lib32.*
?
Avatar de l’utilisateur
trapangle
Hankyu
Messages : 35
Inscription : lun. 09 avr. 2012, 14:01

Re: [Picasa] Problème d'installation sur Arch64

Message par trapangle »

En installant

Code : Tout sélectionner

lib32-acl lib32-alsa-lib lib32-alsa-oss lib32-alsa-plugins lib32-atk lib32-attr lib32-bzip2 lib32-cairo lib32-celt lib32-dbus-core lib32-e2fsprogs lib32-expat lib32-flac lib32-fontconfig lib32-freetype2 lib32-gdk-pixbuf2 lib32-gettext lib32-giflib lib32-glew lib32-glib lib32-glib2 lib32-gmp lib32-gnutls lib32-gtk lib32-gtk2 lib32-jack lib32-json-c lib32-keyutils lib32-krb5 lib32-lcms lib32-libao lib32-libasyncns lib32-libcanberra lib32-libcanberra-pulse lib32-libcap lib32-libcups lib32-libdrm lib32-libffi lib32-libflashsupport lib32-libgcrypt lib32-libglade lib32-libglapi lib32-libgles lib32-libgpg-error lib32-libidn lib32-libjpeg-turbo lib32-libldap lib32-libltdl lib32-libmikmod lib32-libmng lib32-libogg lib32-libpciaccess lib32-libpng lib32-libpulse lib32-libsamplerate lib32-libsndfile lib32-libssh2 lib32-libstdc++5 lib32-libtiff lib32-libvorbis lib32-libxcomposite lib32-libxcursor lib32-libxdamage lib32-libxext lib32-libxfixes lib32-libxft lib32-libxi lib32-libxinerama lib32-libxml2 lib32-libxmu lib32-libxrandr lib32-libxrender lib32-libxss lib32-libxt lib32-libxtst lib32-libxv lib32-libxvmc lib32-libxxf86vm lib32-llvm lib32-mesa lib32-mesa-demos lib32-mpg123 lib32-ncurses lib32-nettle lib32-openal lib32-p11-kit lib32-pango lib32-pcre lib32-pixman lib32-qt lib32-readline lib32-sdl lib32-sdl_image lib32-sdl_ttf lib32-speex lib32-tdb lib32-v4l-utils lib32-xcb-util
en plus, ça marche :D
Y'a plus qu'à trouver les paquets inutiles et à les enlever...mouais, pas sûr que j'aie choisi la bonne méthode.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Picasa] Problème d'installation sur Arch64

Message par benjarobin »

:shock: :cdmalad: :copain: :humour: :aimepas: :mdr:

:inutile:
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Picasa] Problème d'installation sur Arch64

Message par FoolEcho »

:down: :lol:
Vu que ça passe par wine, fais peut-être le tri par rapport à ses dépendances (+y compris les optionnelles)... :sifflote2:
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
trapangle
Hankyu
Messages : 35
Inscription : lun. 09 avr. 2012, 14:01

Re: [Picasa] Problème d'installation sur Arch64

Message par trapangle »

Merci FoolEcho, c'était une bonne idée.
Des dépendances de wine, j'ai eu besoin de lib32-mesa, lib32-fontconfig et lib32-libxdamage.
J'ai encore dû aussi exécuter le hack de domo sur http://aur.archlinux.org/packages.php?I ... mments=all (je n'ai pas réussi à faire fonctionner les PKGBUILD de FabienM et gadget3000), sinon pas possible de se logger sur mon album picasaweb.

Code : Tout sélectionner

[alain@earth lib]$ pacman -Qs lib32.*
local/lib32-bzip2 1.0.6-1
    A high-quality data compression program (32-bit)
local/lib32-expat 2.1.0-1
    An XML Parser library written in C (32 bit)
local/lib32-fontconfig 2.8.0-4
    A library for configuring and customizing font access (32-bit)
local/lib32-freetype2 2.4.9-1
    TrueType font rendering library (32-bit)
local/lib32-gcc-libs 4.7.0-4
    Runtime libraries shipped by GCC (32-bit)
local/lib32-glibc 2.15-10
    GNU C Library for multilib
local/lib32-libdrm 2.4.33-1
    Userspace interface to kernel DRM services (32-bit)
local/lib32-libgl 8.0.2-1
    Mesa 3-D graphics library and DRI software rasterizer (32-bit)
local/lib32-libglapi 8.0.2-1
    free implementation of the GL API -- shared library. The Mesa GL API module
    is responsible for dispatching all the gl* functions (32-bits)
local/lib32-libice 1.0.8-1
    X11 Inter-Client Exchange library (32-bit)
local/lib32-libpciaccess 0.13.1-1
    X11 PCI access library (32-bit
local/lib32-libsm 1.2.1-1
    X11 Session Management library (32-bit)
local/lib32-libx11 1.4.99.901-2
    X11 client-side library (32-bit)
local/lib32-libxau 1.0.7-1
    X11 authorisation library (32-bit)
local/lib32-libxcb 1.8.1-2
    X11 client-side library (32-bit)
local/lib32-libxdamage 1.1.3-4
    X11 damaged region extension library (32-bit)
local/lib32-libxdmcp 1.1.1-1
    X11 Display Manager Control Protocol library (32-bit)
local/lib32-libxext 1.3.1-1
    X11 miscellaneous extensions library (32-bit)
local/lib32-libxfixes 5.0-1
    X11 miscellaneous 'fixes' extension library (32-bit)
local/lib32-libxt 1.1.3-1
    X11 toolkit intrinsics library (32-bit)
local/lib32-libxxf86vm 1.1.2-1
    X11 XFree86 video mode extension library (32-bit)
local/lib32-mesa 8.0.2-1
    Mesa 3-D graphics libraries and include files (32-bit)
local/lib32-nspr 4.9-1
    Netscape Portable Runtime (32-bit)
local/lib32-nss 3.13.3-1
    Mozilla Network Security Services (32-bit)
local/lib32-openssl 1.0.1-1
    The Open Source toolkit for Secure Sockets Layer and Transport Layer
    Security (32-bit)
local/lib32-sqlite3 3.7.11-1
    A C library that implements an SQL database engine (32-bit)
local/lib32-util-linux 2.21-1
    Miscellaneous system utilities for Linux (32-bit)
local/lib32-zlib 1.2.6-1
    Compression library implementing the deflate compression method found in
    gzip and PKZIP (32-bit)
Répondre