Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > Fedora / Red hat
Fedora / Red hat Vos questions sur les distributions Fedora / Red Hat
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 06/01/2010, 11h23   #1
Candidat au titre de Membre du Club
 
Étudiant
Inscription : mars 2005
Messages : 94
Détails du profil
Informations personnelles :
Âge : 23

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : mars 2005
Messages : 94
Points : 14
Points : 14
Envoyer un message via MSN à Onitsha
Par défaut [RHEL 5] Erreur compilation Samba 4

Bonjour,
Je suis donc sur une RedHat 5 et j'essaie de compiler Samba 4 pour une installation de contrôleur de domaine qui supporte Active directory .
Je sais que Samba 4 est encore en alpha.

Lorsque j'effectue le
Il me retourne l'erreur suivante :
Code :
1
2
3
4
 
The following command failed:
gcc   -Iheimdal/kdc -Iheimdal/lib/hdb -Iheimdal/../heimdal_build -Iheimdal/lib/hdb    -I/usr/include/python2.4 -I/usr/include/python2.4 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC   -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Iheimdal/../heimdal_build -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi/gssapi -Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi/krb5 -Iheimdal/lib/gssapi/mech -Iheimdal_build -Iheimdal/lib/roken -Iheimdal/lib/gssapi -Iheimdal/lib/gssapi     -Iheimdal/../heimdal_build -Iheimdal/lib/hdb -Iheimdal/lib/hdb     -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/ldb_tdb -I../lib/tdb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include      -I./../lib/talloc   -Iheimdal/../heimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1 -Iheimdal/lib/com_err   -Iheimdal/../heimdal_build -Iheimdal/lib/hx509 -Iheimdal/lib/hx509 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/hx509 -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto -Iheimdal/lib -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto/imath -Iheimdal/../heimdal_build -Iheimdal/lib/wind -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/roken -Iheimdal/include -I../lib/socket_wrapper   -Ilib/events -I../lib/tevent       -I../lib/talloc -Ilib/replace     -fPIC -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -c utils/net/net.c -o utils/net/net.o
gmake: *** [utils/net/net.o] Erreur 1

Cette ligne gmake: *** [utils/net/net.o] Erreur 1 et ce que mon programme essaye de compiler a savoir :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Compiling utils/net/net.c
utils/net/net.c: In function ‘py_tuple_from_argv’:
utils/net/net.c:58: erreur: ‘Py_ssize_t’ undeclared (first use in this function)
utils/net/net.c:58: erreur: (Each undeclared identifier is reported only once
utils/net/net.c:58: erreur: for each function it appears in.)
utils/net/net.c:58: erreur: expected ‘;’ before ‘i’
utils/net/net.c:65: erreur: ‘i’ undeclared (first use in this function)
utils/net/net.c: In function ‘py_call_with_string_args’:
utils/net/net.c:82: attention : passing argument 2 of ‘PyObject_GetAttrString’ discards qualifiers from pointer target type
utils/net/net.c: In function ‘net_help_python’:
utils/net/net.c:227: erreur: ‘Py_ssize_t’ undeclared (first use in this function)
utils/net/net.c:227: erreur: expected ‘;’ before ‘pos’
utils/net/net.c:234: erreur: ‘pos’ undeclared (first use in this function)
utils/net/net.c: In function ‘binary_net’:
utils/net/net.c:311: attention : passing argument 2 of ‘PySys_SetArgv’ from incompatible pointer type

Et ses fichiers se trouvant ici :
Citation:
[root@stid net]# locate utils/net/net.c
/etc/remy/samba-master/samba-master/source4/utils/net/net.c
/etc/remy/samba-master/source4/utils/net/net.c
/root/Desktop/Samba/samba-4.0.0alpha1/source/utils/net/net.c
Donc si vous avez une idée éclairez moi. En attendant je continue de chercher.
Oni'
Onitsha est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/01/2010, 00h26   #2
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 473
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 473
Points : 4 098
Points : 4 098
Salut,

Pourrais-tu suivre cette procédure décrite dans le howto.txt et voir ce que ça donne?

__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 31/01/2010, 23h06   #3
Membre confirmé
 
Avatar de SYL666
 
Cédric
Inscription : novembre 2003
Messages : 308
Détails du profil
Informations personnelles :
Nom : Cédric

Informations forums :
Inscription : novembre 2003
Messages : 308
Points : 296
Points : 296
Y a t il une fonction particulière de samba4 que tu cherches ?

Parce que le samba-3 de RHEL5 peut très bien s'intégrer à un Active Directory. Même en mode PDC, enfin il me semble
__________________
The Big Bang theory : In the beginning there was nothing, and it exploded. (Terry Pratchett)

IT Quote : "Unix is user-friendly. It's just very selective about who its friends are."
SYL666 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 23h50.


 
 
 
 
Partenaires

Hébergement Web