Compiler un logiciel

Bonjour,
J’essaie d’installer un logiciel sur 64studio…mais il faut le compiler (ça devient compliqué pour moi…)
Alors, j’ai lu qu’il fallait faire un “Make” puis “make install” après avoir vérifier que les paquets “libclthreads” et “libclxclient” étaient installés. Seulement, voila ce qui se passe…
Merci pour votre aide

g++ -O3 -Wall -MMD -MP -DPROGRAM=\"jkmeter\" -DVERSION=\"0.4.0\" -DSHARED=\"/usr/local/share\" -ffast-math -I/usr/include/freetype2 -c -o jkmeter.o jkmeter.ccjkmeter.cc:22:23: warning: clthreads.h: Aucun fichier ou répertoire de ce type In file included from jkmeter.cc:25: styles.h:24:23: warning: clxclient.h: Aucun fichier ou répertoire de ce type styles.h:42: error: expected initializer before ‘*’ token styles.h:43: error: expected initializer before ‘*’ token styles.h:44: error: ‘X_button_style’ does not name a type styles.h:46: warning: ‘styles_init’ initialized and declared ‘extern’ styles.h:46: error: variable or field ‘styles_init’ declared void styles.h:46: error: ‘X_display’ was not declared in this scope styles.h:46: error: ‘disp’ was not declared in this scope styles.h:46: error: ‘X_resman’ was not declared in this scope styles.h:46: error: ‘xrm’ was not declared in this scope styles.h:46: error: initializer expression list treated as compound expression styles.h:47: warning: ‘styles_fini’ initialized and declared ‘extern’ styles.h:47: error: variable or field ‘styles_fini’ declared void styles.h:47: error: ‘X_display’ was not declared in this scope styles.h:47: error: ‘disp’ was not declared in this scope jclient.h:32: error: expected class-name before ‘{’ token jclient.h:32: warning: ‘class Jclient’ has virtual functions but non-virtual destructor kmeter.h:28: error: expected class-name before ‘{’ token kmeter.h:35: error: expected `)' before ‘*’ token kmeter.h:45: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:45: error: expected ‘;’ before ‘*’ token kmeter.h:51: error: expected `;' before ‘static’ kmeter.h:51: error: ‘X_display’ has not been declared kmeter.h:53: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:53: error: expected ‘;’ before ‘*’ token kmeter.h:54: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:54: error: expected ‘;’ before ‘*’ token kmeter.h:55: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:55: error: expected ‘;’ before ‘*’ token kmeter.h:56: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:56: error: expected ‘;’ before ‘*’ token kmeter.h:70: error: ‘Pixmap’ does not name a type kmeter.h:71: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:71: error: expected ‘;’ before ‘*’ token kmeter.h:72: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:72: error: expected ‘;’ before ‘*’ token kmeter.h:75: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:75: error: expected ‘;’ before ‘*’ token kmeter.h:76: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:76: error: expected ‘;’ before ‘*’ token kmeter.h:77: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:77: error: expected ‘;’ before ‘*’ token kmeter.h:78: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:78: error: expected ‘;’ before ‘*’ token kmeter.h:79: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:79: error: expected ‘;’ before ‘*’ token kmeter.h:80: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:80: error: expected ‘;’ before ‘*’ token kmeter.h:81: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:81: error: expected ‘;’ before ‘*’ token kmeter.h:82: error: ISO C++ forbids declaration of ‘XImage’ with no type kmeter.h:82: error: expected ‘;’ before ‘*’ token cmeter.h:28: error: expected class-name before ‘{’ token cmeter.h:34: error: expected `)' before ‘*’ token cmeter.h:44: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:44: error: expected ‘;’ before ‘*’ token cmeter.h:49: error: expected `;' before ‘static’ cmeter.h:49: error: ‘X_display’ has not been declared cmeter.h:51: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:51: error: expected ‘;’ before ‘*’ token cmeter.h:52: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:52: error: expected ‘;’ before ‘*’ token cmeter.h:60: error: ‘Pixmap’ does not name a type cmeter.h:61: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:61: error: expected ‘;’ before ‘*’ token cmeter.h:62: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:62: error: expected ‘;’ before ‘*’ token cmeter.h:64: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:64: error: expected ‘;’ before ‘*’ token cmeter.h:65: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:65: error: expected ‘;’ before ‘*’ token cmeter.h:66: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:66: error: expected ‘;’ before ‘*’ token cmeter.h:67: error: ISO C++ forbids declaration of ‘XImage’ with no type cmeter.h:67: error: expected ‘;’ before ‘*’ token mainwin.h:32: error: expected class-name before ‘,’ token mainwin.h:32: error: expected class-name before ‘,’ token mainwin.h:33: error: expected class-name before ‘{’ token mainwin.h:36: error: expected `)' before ‘*’ token mainwin.h:50: error: ‘XEvent’ has not been declared mainwin.h:51: error: ‘X_window’ has not been declared mainwin.h:51: error: ‘XEvent’ has not been declared mainwin.h:52: error: ‘XExposeEvent’ has not been declared mainwin.h:53: error: ‘XClientMessageEvent’ has not been declared mainwin.h:54: error: ‘X_window’ has not been declared mainwin.h:54: error: ‘X_textln_style’ has not been declared mainwin.h:61: error: ISO C++ forbids declaration of ‘X_resman’ with no type mainwin.h:61: error: expected ‘;’ before ‘*’ token mainwin.h:62: error: ‘Atom’ does not name a type mainwin.h:74: error: ISO C++ forbids declaration of ‘X_tbutton’ with no type mainwin.h:74: error: expected ‘;’ before ‘*’ token mainwin.h:33: warning: ‘class Mainwin’ has virtual functions but non-virtual destructor jkmeter.cc:32: error: ‘XrmOptionDescRec’ does not name a type jkmeter.cc: In function ‘int main(int, char**)’: jkmeter.cc:77: error: ‘X_resman’ was not declared in this scope jkmeter.cc:77: error: expected `;' before ‘xresman’ jkmeter.cc:78: error: ‘X_display’ was not declared in this scope jkmeter.cc:78: error: ‘display’ was not declared in this scope jkmeter.cc:79: error: ‘X_handler’ was not declared in this scope jkmeter.cc:79: error: ‘handler’ was not declared in this scope jkmeter.cc:80: error: ‘X_rootwin’ was not declared in this scope jkmeter.cc:80: error: ‘rootwin’ was not declared in this scope jkmeter.cc:85: error: ‘xresman’ was not declared in this scope jkmeter.cc:85: error: ‘options’ was not declared in this scope jkmeter.cc:88: error: expected type-specifier before ‘X_display’ jkmeter.cc:88: error: expected `;' before ‘X_display’ jkmeter.cc:92: error: type ‘<type error>’ argument given to ‘delete’, expected pointer jkmeter.cc:100: error: ‘styles_init’ cannot be used as a function jkmeter.cc:101: error: expected type-specifier before ‘X_rootwin’ jkmeter.cc:101: error: expected `;' before ‘X_rootwin’ jkmeter.cc:104: error: expected type-specifier before ‘X_handler’ jkmeter.cc:104: error: expected `;' before ‘X_handler’ jkmeter.cc:106: error: ‘class Mainwin’ has no member named ‘x_map’ jkmeter.cc:107: error: ‘XFlush’ was not declared in this scope jkmeter.cc:124: error: type ‘<type error>’ argument given to ‘delete’, expected pointer jkmeter.cc:125: error: type ‘<type error>’ argument given to ‘delete’, expected pointer jkmeter.cc:126: error: type ‘<type error>’ argument given to ‘delete’, expected pointer make: *** [jkmeter.o] Erreur 1

Salut,

[quote]clthreads.h: Aucun fichier ou répertoire de ce type
In file included from jkmeter.cc:25:
styles.h:24:23: warning: clxclient.h: Aucun fichier ou répertoire de ce type[/quote]

Merci pour ta réponse + que rapide
Mais je suis un peu boubourse…
ça veut dire quoi? que dois-je faire?

francois@bling:~$ apt-file search clxclient.h libclxclient-dev: /usr/include/clxclient.h francois@bling:~$
donc

#apt-get install libclxclient-dev

Salut,

Par curiosité, quel est ce paquet qui n’existe pas sous Debian et qu’il faut donc compiler.
On ne sait jamais cela peut intéresser d’autres personnes :smiley:

64studio:/home/laurent# apt-get install libclxclient-dev Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait E: Impossible de trouver le paquet libclxclient-dev

C’est un logiciel qui permet d’analyser le spectre sonore en live…

[quote]francois@bling:~$ apt-cache policy libclxclient-dev
libclxclient-dev:
Installé : (aucun)
Candidat : 3.3.2-1
Table de version :
3.3.2-1 0
500 ftp.fr.debian.org lenny/main Packages
francois@bling:~$
[/quote]

Merci
Je crois comprendre que je n’ai pas le bon depot…mais que dois-je mettre exactement comme adresse?
Désolé d’etre aussi nul…

Ben
deb ftp.fr.debian.org lenny main
mais ça veut dire qu’il est dans les dépots main, quel est ton sources.list?

C’est ce que j’avais mis en fait mais Synaptic me dit ça

[code]deb cdrom:[64studio 2.1 (1)]/ 64studio main
deb http://www.mirrorservice.org/sites/64studio.com/apt/ 64studio main

deb http://apt.64studio.com/64studio/testing/ 64studio main

deb http://apt.64studio.com/backports/ etch-backports main

deb http://apt.64studio.com/64studio/stable/ 64studio main

deb http://ftp.fr.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main
deb http://www.debian-multimedia.org/ sid main
deb-src http://ftp.fr.debian.org/debian/ etch main
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://download.tuxfamily.org/xcfaudio/debian/ perso main

deb http://people.64studio.com/~free/64studio/ ./

deb http://apt.64studio.com/backports/ lenny-backports main

deb http://apt.64studio.com/backports/ hardy-backports main

deb http://ftp.fr.debian.org/ lenny main [/code]

Houla, retire la ligne lenny, tu es en etch ce qui est vieux. Il te faut un backport ou passer en lenny

arf…
ça veut dire que je ne peux pas compiler le logiciel avec ma version actuelle?

Re

Mais dont le nom est “confidentiel”
:smt003 :smt003 :smt003 :smt003

désolé c’est jkmeter qui fonctionne avec Jack Control
Avec plaisir…

Re,

[quote]jack.ctl is a JACK session manager. It reads configuration information
from a system wide and a user specific configuration file and
manages sessions involving the JACK daemon proper and optionally a
set of secondary jack daemons.
[/quote]

Si c’est de cela dont il s’agit il porte le doux nom de jack-tools :slightly_smiling:

alors la tu m’interesses…je vais essayer, en plus c’est complètement pris en charge par mon système
merci
ça résoudrait mon problème en +

J’avais essayé

francois@bling:~$ apt-file search jkmeter francois@bling:~$
effectivement, jack-tools fournit

[quote]/usr/bin/jack.clock
/usr/bin/jack.ctl
/usr/bin/jack.play
/usr/bin/jack.plumbing
/usr/bin/jack.scope
/usr/bin/jack.udp
[/quote]
pas de jkmeter mais mais c’est sans doute jack.scope l’équivalent…