pb de compilation a laide [resolu] - Linux et OS Alternatifs
Marsh Posté le 04-04-2002 à 13:34:52
essaye de faire un make distclean (ou rm config.cache) et relance ton .configure. 
sinon, comme indiqué tu peux essayer: 
export GLIB_CONFIG=/usr/bin 
Marsh Posté le 04-04-2002 à 13:36:38
Il faut installer le paquet contenant la version de développement de glib (glib-devel ou un truc du genre).
Marsh Posté le 04-04-2002 à 13:51:35
mon configure marche mais g un autre pb 
le vla lors du make il marque ca 
 
make  all-recursive 
make[1]: Entre dans le répertoire `/home/user/Desktop/dchub-0.0.9' 
Making all in src 
make[2]: Entre dans le répertoire `/home/user/Desktop/dchub-0.0.9/src' 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c main.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c network.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c key.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c dc_com.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c cnx_lst.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c manage_cnx.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c do_hub_reg.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c passwd.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c hub_cmd.c 
hub_cmd.c: In function `append_ban_entry': 
hub_cmd.c:958: warning: `%c' yields only last 2 digits of year in some locales 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c toolkit.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c e_db.c 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -fno-strict-aliasing -I/usr/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE     -Wall -c emb_perl.c 
emb_perl.c:25:20: EXTERN.h: Aucun fichier ou répertoire de ce type 
emb_perl.c:26:18: perl.h: Aucun fichier ou répertoire de ce type 
In file included from emb_perl.c:30: 
xs_init.h:24:20: EXTERN.h: Succès 
xs_init.h:25:18: perl.h: Succès 
In file included from emb_perl.c:30: 
xs_init.h:27: syntax error before "void" 
xs_init.h:27: warning: parameter names (without types) in function declaration 
In file included from emb_perl.c:31: 
gvar.h:36: parse error before '*' token 
gvar.h:36: warning: type defaults to `int' in declaration of `user_file' 
gvar.h:36: warning: data definition has no type or storage class 
emb_perl.c:40: parse error before '*' token 
emb_perl.c:40: warning: type defaults to `int' in declaration of `perl' 
emb_perl.c:40: warning: data definition has no type or storage class 
emb_perl.c: In function `init_perl_interpreter': 
emb_perl.c:46: `dSP' undeclared (first use in this function) 
emb_perl.c:46: (Each undeclared identifier is reported only once 
emb_perl.c:46: for each function it appears in.) 
emb_perl.c:47: `ENTER' undeclared (first use in this function) 
emb_perl.c:48: `SAVETMPS' undeclared (first use in this function) 
emb_perl.c:49: warning: implicit declaration of function `PUSHMARK' 
emb_perl.c:49: `SP' undeclared (first use in this function) 
emb_perl.c:50: warning: implicit declaration of function `XPUSHs' 
emb_perl.c:50: warning: implicit declaration of function `sv_2mortal' 
emb_perl.c:50: warning: implicit declaration of function `newSVpv' 
emb_perl.c:51: `PUTBACK' undeclared (first use in this function) 
emb_perl.c:52: warning: implicit declaration of function `call_pv' 
emb_perl.c:52: `G_SCALAR' undeclared (first use in this function) 
emb_perl.c:52: `G_DISCARD' undeclared (first use in this function) 
emb_perl.c:54: `FREETMPS' undeclared (first use in this function) 
emb_perl.c:55: `LEAVE' undeclared (first use in this function) 
emb_perl.c: In function `init_perl': 
emb_perl.c:73: warning: implicit declaration of function `fprintf' 
emb_perl.c:73: `stderr' undeclared (first use in this function) 
emb_perl.c:77: warning: implicit declaration of function `perl_alloc' 
emb_perl.c:77: warning: assignment makes pointer from integer without a cast 
emb_perl.c:80: warning: implicit declaration of function `exit' 
emb_perl.c:88: warning: implicit declaration of function `perl_construct' 
emb_perl.c:89: warning: implicit declaration of function `perl_parse' 
emb_perl.c:97: warning: implicit declaration of function `perl_run' 
emb_perl.c:98: warning: implicit declaration of function `printf' 
emb_perl.c: In function `exit_perl': 
emb_perl.c:110: `PL_perl_destruct_level' undeclared (first use in this function) 
emb_perl.c:111: warning: implicit declaration of function `perl_destruct' 
emb_perl.c:112: warning: implicit declaration of function `perl_free' 
emb_perl.c: In function `send_evt_to_script': 
emb_perl.c:122: `HV' undeclared (first use in this function) 
emb_perl.c:122: `perl_tbl' undeclared (first use in this function) 
emb_perl.c:139: warning: implicit declaration of function `newHV' 
emb_perl.c:142: warning: implicit declaration of function `hv_store' 
emb_perl.c:144: warning: implicit declaration of function `newSViv' 
emb_perl.c:155: warning: implicit declaration of function `sprintf' 
emb_perl.c:157: warning: implicit declaration of function `strlen' 
emb_perl.c:161: `dSP' undeclared (first use in this function) 
emb_perl.c:162: `ENTER' undeclared (first use in this function) 
emb_perl.c:163: `SAVETMPS' undeclared (first use in this function) 
emb_perl.c:164: `SP' undeclared (first use in this function) 
emb_perl.c:165: warning: implicit declaration of function `newRV_noinc' 
emb_perl.c:165: `SV' undeclared (first use in this function) 
emb_perl.c:165: parse error before ' ' token
' token 
emb_perl.c:166: `PUTBACK' undeclared (first use in this function) 
emb_perl.c:167: `G_SCALAR' undeclared (first use in this function) 
emb_perl.c:167: `G_DISCARD' undeclared (first use in this function) 
emb_perl.c:168: `SPAGAIN' undeclared (first use in this function) 
emb_perl.c:170: `FREETMPS' undeclared (first use in this function) 
emb_perl.c:171: `LEAVE' undeclared (first use in this function) 
emb_perl.c:122: warning: statement with no effect 
make[2]: *** [emb_perl.o] Erreur 1 
make[2]: Quitte le répertoire `/home/user/Desktop/dchub-0.0.9/src' 
make[1]: *** [all-recursive] Erreur 1 
make[1]: Quitte le répertoire `/home/user/Desktop/dchub-0.0.9' 
make: *** [all-recursive-am] Erreur 2 
 
dsl pour la place mais bon 
Marsh Posté le 04-04-2002 à 15:01:16
les bien les erreurs : 
 
---- 
emb_perl.c:25:20: EXTERN.h: Aucun fichier ou répertoire de ce type 
emb_perl.c:26:18: perl.h: Aucun fichier ou répertoire de ce type  
---- 
 
apres (vu que tas une mdk c est encore plus rapire)  
 
tu fais urpmf EXTERN.h 
perl-devel usr/lib/perl5/5.6.1/i386-linux/CORE/EXTERN.h
usr/lib/perl5/5.6.1/i386-linux/CORE/EXTERN.h 
 
il te manque donc perl-devel 
 
tu fais perl.h , bon t en as un pquet  
mais c estprobablement perl-devel 
aussi 
 
donc --> urpmi perl-devel 
Marsh Posté le 04-04-2002 à 13:30:33
salut je suis en train de compiler
dchub pour linux et voila lerreur kil me fait
checking for glib-config... (cached) no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
mais kan je fai un rpm - glib il me donne
glib-1.3.15-1
et pour le fichier glib-config je fai un locate et
/usr/bin/glib-config
/usr/man/man1/glib-config.1.bz2
alors comment faire????? svp
[jfdsdjhfuetppo]--Message édité par tocx--[/jfdsdjhfuetppo]