[conky-lua] erreur lors de l’installation (RÉSOLU)

Mise à jour / Création /debug de paquetages
Avatar de l’utilisateur
L_Indien
Chu Ko Nu
Messages : 391
Inscription : dim. 14 nov. 2010, 09:47
Localisation : En mouvement perpétuel...

[conky-lua] erreur lors de l’installation (RÉSOLU)

Message par L_Indien »

Bonjour Le Forum,

Je ne sais pas trop ce qui se passe avec conky-lua...

un petit $ yaourt conky-lua puis sélection de aur/conky-lua 1.9.0-2
ça download, et voici le petit message d'erreur (c'est la retour complet de l'installation)...

Code : Tout sélectionner

yaourt conky-lua
1 aur/conky-dea 1.2-2 (2)
    A conky-lua theme for 4 core CPU's
2 aur/conky-lua 1.9.0-2 (16)
    Lightweight system monitor for X, with Lua support enabled
3 aur/conky-lua-arch 1.3-2 (55)
    A conky-lua for ArchLinux
4 aur/conky-lua-nv 1.10.1-3 (90)
    An advanced system monitor for X based on torsmo with lua and nvidia enabled
5 aur/conky-top 1.7-2 (8)
    A Top conky-lua for ArchLinux
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==> 2


==> Téléchargement du PKGBUILD de conky-lua depuis AUR...
x .SRCINFO
x PKGBUILD
KevinHivert commented on 2015-12-04 10:08 
@stormeye Thanks !

TiglathAshur commented on 2015-12-13 00:08 
Thanks Stormeye! Works well now

eduncan911 commented on 2016-01-19 01:53 
The problem with the 'tolua++' dependency is that the source configure is looking for a binary '/usr/bin/tolua++'.

It would appear that binary has been renamed to 'toluapp' in the latest version of 1.93-2.  The maintained and updated package by arch, as well as in the manual download of 1.93-2, seems to have renamed it (not Arch's fault, the fault of the author of the code that renamed everything).

In addition, the library was changed (*.so instead of *.a).

Personally, I don't like to get away from Arch's repos and packages - would rather have it fixed in this package.  So, there are two "real" solutions.

The original package of tolua++ should have explained the breaking change of the rename.  I would suggestion creating a symlink of the old binary to the new one. 

1) Perhaps the easiest solution is just to modify this package to 'sed' the source configure file and replace all instances looking for the binaries with the newer/correct one.  

2) The real solution is to have conky update their source to configure with either binary.

M

ketzalv commented on 2016-01-25 03:49 
Hello guys! i have a little solution with "configure: error: tolua++, tolua++5.1, or tolua++-5.1 is required for Lua extras."

you need downgrade tolua++ 1.093-2 

here the old versions!
https://archive.archlinux.org/packages/t/tolua%2B%2B/


krs4keshara commented on 2016-02-02 07:05 
as a workaround, install 'conky-lua-nv" from AUR.

conky-lua 1.9.0-2  (2015-08-12 18:09)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de conky-lua :
 - alsa-lib (déjà installé)
 - libxml2 (déjà installé)
 - curl (déjà installé)
 - wireless_tools (déjà installé)
 - libxft (déjà installé)
 - glib2 (déjà installé)
 - libxdamage (déjà installé)
 - imlib2 (déjà installé)
 - lua51 (déjà installé)
 - cairo (déjà installé)
 - docbook2x (déjà installé) [makedepend]
 - tolua++ (déjà installé) [makedepend]
 - perl-xml-libxml (déjà installé) [makedepend]


==> Lancer la compilation de conky-lua ? [O/n]
==> ------------------------------------------
==> 
==> Construction et installation du paquet
==> Création du paquet conky-lua 1.9.0-2 (sam. févr. 13 14:58:01 CET 2016)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Téléchargement de conky-1.9.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   343    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  782k  100  782k    0     0  18820      0  0:00:42  0:00:42 --:--:-- 87618
/usr/share/makepkg/util/message.sh: ligne 53 : printf: source: nombre non valable
==> Validation des fichiers  0x0p+0vec sha1sums...
    conky-1.9.0.tar.gz ... Réussite
==> Extraction des sources...
  -> Extraction de conky-1.9.0.tar.gz avec bsdtar
==> Lancement de build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for X11... yes
checking for Imlib2... yes
checking for LUA... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... no
checking for tolua++5.1... no
checking for tolua++-5.1... no
configure: error: tolua++, tolua++5.1, or tolua++-5.1 is required for Lua extras.
==> ERREUR : Une erreur s’est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire conky-lua.
==> Relancer la compilation de conky-lua ? [o/N]
==> --------------------------------------------
==> 
Vous avez déjà eu ce genre de soucis ?
Vous avez réussi à résoudre le problème ?

Merci pour les réponses.

Bon week-end.
Dernière modification par L_Indien le sam. 13 févr. 2016, 16:07, modifié 1 fois.
Différence entre windows et linux
Linux est multi-tâches, windows est multi-taches.
L'Indien de la Douche - Soutient L'April
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17288
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [conky-lua] erreur lors de l’installation (EN COURS...)

Message par benjarobin »

Ajoute simplement ceci dans le PKGBUILD, juste au dessus de la fonction build :

Code : Tout sélectionner

prepare() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  sed -i "s|tolua++ |toluapp |g" configure*
}
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
L_Indien
Chu Ko Nu
Messages : 391
Inscription : dim. 14 nov. 2010, 09:47
Localisation : En mouvement perpétuel...

Re: [conky-lua] erreur lors de l’installation (EN COURS...)

Message par L_Indien »

Salut benjarobin,

Merci pour la réponse.

Je teste.
Différence entre windows et linux
Linux est multi-tâches, windows est multi-taches.
L'Indien de la Douche - Soutient L'April
Avatar de l’utilisateur
L_Indien
Chu Ko Nu
Messages : 391
Inscription : dim. 14 nov. 2010, 09:47
Localisation : En mouvement perpétuel...

Re: [conky-lua] erreur lors de l’installation (EN COURS...)

Message par L_Indien »

C'est cool benjarobin :D :D

C'est opérationnel et fonctionnel.

Merci,

Bon week-end.
Différence entre windows et linux
Linux est multi-tâches, windows est multi-taches.
L'Indien de la Douche - Soutient L'April
Répondre