Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1639 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  [Xchat] Problème de compilation

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Xchat] Problème de compilation

n°663355
ecliptux
Oui. Enfin si peut-être.
Posté le 15-04-2005 à 13:15:41  profilanswer
 

J'essaie en vain de compiler la dernière version de xchat 2.4.3
Le configure se déroule bien mais le make plante systématiquement.
Voici les dernières lignes :

In file included from /usr/include/python2.4/Python.h:8,
                 from python.c:62:
/usr/include/python2.4/pyconfig.h:832:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/limits.h:26,
                 from /usr/lib/gcc/i486-linux/4.0.0/include/limits.h:122,
                 from /usr/lib/gcc/i486-linux/4.0.0/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux/4.0.0/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from python.c:54:
/usr/include/features.h:171:1: warning: this is the location of the previous definition
python.c: In function 'Module_xchat_get_prefs':
python.c:1421: warning: dereferencing type-punned pointer will break strict-aliasing rules
python.c:1421: warning: dereferencing type-punned pointer will break strict-aliasing rules
/bin/sh ../../libtool --mode=link --tag=CC gcc  -g -O2 -Wall -pipe    -o python.la -rpath /usr/local/lib/xchat/plugins -avoid-version -module  python.lo -L/usr/lib/python2.4/config -lpython2.4 -lpthread -lutil -ldl -Wl,--export-dynamic -ldl -lglib-2.0
gcc -shared  .libs/python.o  -L/usr/lib/python2.4/config -lpython2.4 -lpthread -lutil -ldl /usr/lib/libglib-2.0.so  -Wl,--export-dynamic -Wl,-soname -Wl,python.so -o .libs/python.so
creating python.la
(cd .libs && rm -f python.la && ln -s ../python.la python.la)
make[3]: quittant le répertoire « /home/ecliptux/Download/xchat-2.4.3/plugins/python »
Making all in perl
make[3]: entrant dans le répertoire « /home/ecliptux/Download/xchat-2.4.3/plugins/perl »
/bin/sh ../../libtool --mode=link --tag=CC gcc  -g -O2 -Wall -pipe    -o perl.la -rpath /usr/local/lib/xchat/plugins -avoid-version -module  perl.lo -Wl,-E -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lcrypt -ldl -Wl,--export-dynamic -ldl -lglib-2.0
 
*** Warning: Linking the shared library perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not portable!
gcc -shared  .libs/perl.o  -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -lm -lpthread -lcrypt -ldl /usr/lib/libglib-2.0.so  -Wl,-E -Wl,--export-dynamic -Wl,-soname -Wl,perl.so -o .libs/perl.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[3]: *** [perl.la] Erreur 1
make[3]: quittant le répertoire « /home/ecliptux/Download/xchat-2.4.3/plugins/perl »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/ecliptux/Download/xchat-2.4.3/plugins »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/ecliptux/Download/xchat-2.4.3 »
make: *** [all] Erreur 2
[root]@[/home/ecliptux/Download/xchat-2.4.3]#


D'après ce que je comprends il y a un pb avec Python
Après avoir vérifié, les packages sembles pourtant installés, mais peut-être en ais-je oublié un ?
Dans ce cas là, lequel ?


---------------
Il existe mille manières d'agir, et une seule de ne rien faire.
mood
Publicité
Posté le 15-04-2005 à 13:15:41  profilanswer
 

n°663360
chaos0007
Posté le 15-04-2005 à 13:24:50  profilanswer
 

a mon avis ca vient plutot des librairies perl... sinon pkoi ne pas utiliser le binaire de ta distribution ???

n°663377
ecliptux
Oui. Enfin si peut-être.
Posté le 15-04-2005 à 13:49:38  profilanswer
 

La dernière version dispo dans ma distrib est la 2.4.1 et j'aime bien m'installer les drenières versions.
S'pas compliqué


---------------
Il existe mille manières d'agir, et une seule de ne rien faire.
n°663417
farib
Posté le 15-04-2005 à 15:10:40  profilanswer
 

"/usr/bin/ld: cannot find -lperl"
 
 
pas mieux, c'est un pb de perl....
 
bah installe perl :/
 
sinon désactive le au configure, et hésite pas à faire le configure et le make en user plutot qu'en root


---------------
Bitcoin, Magical Thinking, and Political Ideology
n°663522
ecliptux
Oui. Enfin si peut-être.
Posté le 15-04-2005 à 18:07:02  profilanswer
 

J'ai installé tout ce qui me semblait utile en perl sans succès.
J'ai donc désactivé le perl lors du configure et ça a marché ;)


---------------
Il existe mille manières d'agir, et une seule de ne rien faire.

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  [Xchat] Problème de compilation

 

Sujets relatifs
modules-compilation noyauprobleme affichage vaio fs115z
Problème de communication en 100Mbits incompréhensible...Problème avec le support du raid
Probleme Msn messenger!aidez moi svp![SQUID] Probleme de connexion
problème avec baladeur mp3[KDE][Firefox][Debian] probleme d'affichage
Problème avec Samba 
Plus de sujets relatifs à : [Xchat] Problème de compilation


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR