Installation de Postfix
Dernière réponse : dans Le monde de Linux
Bonsoir tout le monde,
Voila, je voudrais installer postfix mais lors de la compilation a partir des sources, j'obtiens le message suivant :
Quelqu'un pourrait-il me dire quels packages je dois installer ?
Merci
Voila, je voudrais installer postfix mais lors de la compilation a partir des sources, j'obtiens le message suivant :
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat Makefile.in) >Makefile
No <db.h> include file found.
Install the appropriate db*-devel package first.
See the RELEASE_NOTES file for more information.
make: *** [Makefile] Erreur 1
make: *** [Makefiles] Erreur 1
make: *** [Makefiles] Erreur 2
Quelqu'un pourrait-il me dire quels packages je dois installer ?
Merci
Autres pages sur : installation postfix
Lassé par la pub ? Créez un compte
Il faut regarder si tu as /usr/include/db.h
un locate db.h pourrais te donner les informations sur son emplacement.
Si ça existe tu peux essayer d'editer ton MakeFile et ajouter a la section LDLIBS : -ldb
si rien est trouvé faut installer le package (ou fichier source) db?-devel ou le ? est a remplacé par 1 ou 2 selon ton systeme (db ça doit etre les librairies faites par l'université de Berkeley et presentent sur certaines distro, je confond peut etre)
a+
un locate db.h pourrais te donner les informations sur son emplacement.
Si ça existe tu peux essayer d'editer ton MakeFile et ajouter a la section LDLIBS : -ldb
si rien est trouvé faut installer le package (ou fichier source) db?-devel ou le ? est a remplacé par 1 ou 2 selon ton systeme (db ça doit etre les librairies faites par l'université de Berkeley et presentent sur certaines distro, je confond peut etre)
a+
Citation :
dict_pcre.c: In function `dict_pcre_lookup':dict_pcre.c:223: `if_rule' undeclared (first use in this function)
dict_pcre.c:224: `match_rule' undeclared (first use in this function)
dict_pcre.c:249: parse error before ')' token
dict_pcre.c:254: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
dict_pcre.c:287: parse error before ')' token
dict_pcre.c: In function `dict_pcre_close':
dict_pcre.c:322: `match_rule' undeclared (first use in this function)
dict_pcre.c:323: `if_rule' undeclared (first use in this function)
dict_pcre.c:329: parse error before ')' token
dict_pcre.c:338: parse error before ')' token
dict_pcre.c: In function `dict_pcre_get_pattern':
dict_pcre.c:388: `PCRE_CASELESS' undeclared (first use in this function)
dict_pcre.c:388: `PCRE_DOTALL' undeclared (first use in this function)
dict_pcre.c:395: `PCRE_MULTILINE' undeclared (first use in this function)
dict_pcre.c:401: `PCRE_EXTENDED' undeclared (first use in this function)
dict_pcre.c:404: `PCRE_ANCHORED' undeclared (first use in this function)
dict_pcre.c:407: `PCRE_DOLLAR_ENDONLY' undeclared (first use in this function)
dict_pcre.c:410: `PCRE_UNGREEDY' undeclared (first use in this function)
dict_pcre.c:413: `PCRE_EXTRA' undeclared (first use in this function)
dict_pcre.c: At top level:
dict_pcre.c:460: parse error before "DICT_PCRE_ENGINE"
dict_pcre.c: In function `dict_pcre_compile':
dict_pcre.c:465: `engine' undeclared (first use in this function)
dict_pcre.c:465: `pattern' undeclared (first use in this function)
dict_pcre.c:469: `mapname' undeclared (first use in this function)
dict_pcre.c:469: `lineno' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_parse_rule':
dict_pcre.c:514: parse error before "engine"
dict_pcre.c:516: `match_rule' undeclared (first use in this function)
dict_pcre.c:550: `engine' undeclared (first use in this function)
dict_pcre.c:556: parse error before ')' token
dict_pcre.c:570: parse error before "engine"
dict_pcre.c:571: `if_rule' undeclared (first use in this function)
dict_pcre.c:599: parse error before ')' token
dict_pcre.c: In function `dict_pcre_open':
dict_pcre.c:672: `pcre_malloc' undeclared (first use in this function)
dict_pcre.c:673: `pcre_free' undeclared (first use in this function)
make: *** [dict_pcre.o] Erreur 1
make: *** [update] Erreur 1
make: *** [update] Erreur 2
Daivil a écrit
dict_pcre.c:223: `if_rule' undeclared (first use in this function)
dict_pcre.c:224: `match_rule' undeclared (first use in this function)
dict_pcre.c:249: parse error before ')' token
dict_pcre.c:254: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
dict_pcre.c:287: parse error before ')' token
dict_pcre.c: In function `dict_pcre_close':
dict_pcre.c:322: `match_rule' undeclared (first use in this function)
dict_pcre.c:323: `if_rule' undeclared (first use in this function)
dict_pcre.c:329: parse error before ')' token
dict_pcre.c:338: parse error before ')' token
dict_pcre.c: In function `dict_pcre_get_pattern':
dict_pcre.c:388: `PCRE_CASELESS' undeclared (first use in this function)
dict_pcre.c:388: `PCRE_DOTALL' undeclared (first use in this function)
dict_pcre.c:395: `PCRE_MULTILINE' undeclared (first use in this function)
dict_pcre.c:401: `PCRE_EXTENDED' undeclared (first use in this function)
dict_pcre.c:404: `PCRE_ANCHORED' undeclared (first use in this function)
dict_pcre.c:407: `PCRE_DOLLAR_ENDONLY' undeclared (first use in this function)
dict_pcre.c:410: `PCRE_UNGREEDY' undeclared (first use in this function)
dict_pcre.c:413: `PCRE_EXTRA' undeclared (first use in this function)
dict_pcre.c: At top level:
dict_pcre.c:460: parse error before "DICT_PCRE_ENGINE"
dict_pcre.c: In function `dict_pcre_compile':
dict_pcre.c:465: `engine' undeclared (first use in this function)
dict_pcre.c:465: `pattern' undeclared (first use in this function)
dict_pcre.c:469: `mapname' undeclared (first use in this function)
dict_pcre.c:469: `lineno' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_parse_rule':
dict_pcre.c:514: parse error before "engine"
dict_pcre.c:516: `match_rule' undeclared (first use in this function)
dict_pcre.c:550: `engine' undeclared (first use in this function)
dict_pcre.c:556: parse error before ')' token
dict_pcre.c:570: parse error before "engine"
dict_pcre.c:571: `if_rule' undeclared (first use in this function)
dict_pcre.c:599: parse error before ')' token
dict_pcre.c: In function `dict_pcre_open':
dict_pcre.c:672: `pcre_malloc' undeclared (first use in this function)
dict_pcre.c:673: `pcre_free' undeclared (first use in this function)
make: *** [dict_pcre.o] Erreur 1
make: *** [update] Erreur 1
make: *** [update] Erreur 2
Citation :
dict_pcre.c: In function `dict_pcre_lookup':dict_pcre.c:223: `if_rule' undeclared (first use in this function)
dict_pcre.c:224: `match_rule' undeclared (first use in this function)
dict_pcre.c:249: parse error before ')' token
dict_pcre.c:254: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
dict_pcre.c:287: parse error before ')' token
dict_pcre.c: In function `dict_pcre_close':
dict_pcre.c:322: `match_rule' undeclared (first use in this function)
dict_pcre.c:323: `if_rule' undeclared (first use in this function)
dict_pcre.c:329: parse error before ')' token
dict_pcre.c:338: parse error before ')' token
dict_pcre.c: In function `dict_pcre_get_pattern':
dict_pcre.c:388: `PCRE_CASELESS' undeclared (first use in this function)
dict_pcre.c:388: `PCRE_DOTALL' undeclared (first use in this function)
dict_pcre.c:395: `PCRE_MULTILINE' undeclared (first use in this function)
dict_pcre.c:401: `PCRE_EXTENDED' undeclared (first use in this function)
dict_pcre.c:404: `PCRE_ANCHORED' undeclared (first use in this function)
dict_pcre.c:407: `PCRE_DOLLAR_ENDONLY' undeclared (first use in this function)
dict_pcre.c:410: `PCRE_UNGREEDY' undeclared (first use in this function)
dict_pcre.c:413: `PCRE_EXTRA' undeclared (first use in this function)
dict_pcre.c: At top level:
dict_pcre.c:460: parse error before "DICT_PCRE_ENGINE"
dict_pcre.c: In function `dict_pcre_compile':
dict_pcre.c:465: `engine' undeclared (first use in this function)
dict_pcre.c:465: `pattern' undeclared (first use in this function)
dict_pcre.c:469: `mapname' undeclared (first use in this function)
dict_pcre.c:469: `lineno' undeclared (first use in this function)
dict_pcre.c: In function `dict_pcre_parse_rule':
dict_pcre.c:514: parse error before "engine"
dict_pcre.c:516: `match_rule' undeclared (first use in this function)
dict_pcre.c:550: `engine' undeclared (first use in this function)
dict_pcre.c:556: parse error before ')' token
dict_pcre.c:570: parse error before "engine"
dict_pcre.c:571: `if_rule' undeclared (first use in this function)
dict_pcre.c:599: parse error before ')' token
dict_pcre.c: In function `dict_pcre_open':
dict_pcre.c:672: `pcre_malloc' undeclared (first use in this function)
dict_pcre.c:673: `pcre_free' undeclared (first use in this function)
make: *** [dict_pcre.o] Erreur 1
make: *** [update] Erreur 1
make: *** [update] Erreur 2
Ce que tu peux faire, c prendre la derniere version de db? en source, le compiler et l'installer. Le risque, c'est bien sur de créer des conflits entre logiciels installés via RPM et via sources.
Le mieux c de prendre la derniere version, faire un rpm -ta de la source pour en faire un src.rpm et apres un rpm --rebuild package.src.rpm
Lassé par la pub ? Créez un compte