bom dia galera, gostaria de saber se vcs ja compilaram o postfix, com suporte ao mysql, se ja postem ae o resultado pois estou com dificuldades. Uso o CL10
Versão Imprimível
bom dia galera, gostaria de saber se vcs ja compilaram o postfix, com suporte ao mysql, se ja postem ae o resultado pois estou com dificuldades. Uso o CL10
Acho que a Conectiva disponibiliza pacotes pré-compilados com suporte à MySQL, mas de qualquer jeito, é só ler o Makefile...
Abraços!
Código :
make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl' 'AUXLIBS=/usr/lib/mysql/libmysqlclient.so -lm -L/usr/lib -lsasl2'
Para compliar com suporte a MySQL e SASL.
;)
bom colega ja tentei com este comamdo, e vejam o erro depois com o comando make.
dict_db.c:63:16: db.h: Arquivo ou diretório não encontrado
dict_db.c:111: error: parse error before "DB"
dict_db.c:111: warning: no semicolon at end of struct or union
dict_db.c:117: error: parse error before '}' token
dict_db.c:117: warning: data definition has no type or storage class
dict_db.c: In function `dict_db_lookup':
dict_db.c:170: error: `dict_db' undeclared (first use in this function)
dict_db.c:170: error: (Each undeclared identifier is reported only once
dict_db.c:170: error: for each function it appears in.)
dict_db.c:170: error: parse error before ')' token
dict_db.c:171: error: `DB' undeclared (first use in this function)
dict_db.c:171: error: `db' undeclared (first use in this function)
dict_db.c:172: error: `DBT' undeclared (first use in this function)
dict_db.c:172: error: parse error before "db_key"
dict_db.c:184: error: `db_key' undeclared (first use in this function)
dict_db.c:185: error: `db_value' undeclared (first use in this function)
dict_db.c: In function `dict_db_update':
dict_db.c:238: error: `dict_db' undeclared (first use in this function)
dict_db.c:238: error: parse error before ')' token
dict_db.c:239: error: `DB' undeclared (first use in this function)
dict_db.c:239: error: `db' undeclared (first use in this function)
dict_db.c:240: error: `DBT' undeclared (first use in this function)
dict_db.c:240: error: parse error before "db_key"
dict_db.c:250: error: `db_key' undeclared (first use in this function)
dict_db.c:251: error: `db_value' undeclared (first use in this function)
dict_db.c:288: error: `R_NOOVERWRITE' undeclared (first use in this function)
dict_db.c: In function `dict_db_delete':
dict_db.c:315: error: `dict_db' undeclared (first use in this function)
dict_db.c:315: error: parse error before ')' token
dict_db.c:316: error: `DB' undeclared (first use in this function)
dict_db.c:316: error: `db' undeclared (first use in this function)
dict_db.c:317: error: `DBT' undeclared (first use in this function)
dict_db.c:317: error: parse error before "db_key"
dict_db.c:327: error: `db_key' undeclared (first use in this function)
dict_db.c: In function `dict_db_sequence':
dict_db.c:381: error: `dict_db' undeclared (first use in this function)
dict_db.c:381: error: parse error before ')' token
dict_db.c:382: error: `DB' undeclared (first use in this function)
dict_db.c:382: error: `db' undeclared (first use in this function)
dict_db.c:383: error: `DBT' undeclared (first use in this function)
dict_db.c:383: error: parse error before "db_key"
dict_db.c:453: error: `R_FIRST' undeclared (first use in this function)
dict_db.c:456: error: `R_NEXT' undeclared (first use in this function)
dict_db.c:469: error: `db_key' undeclared (first use in this function)
dict_db.c:469: error: `db_value' undeclared (first use in this function)
dict_db.c: In function `dict_db_close':
dict_db.c:495: error: `dict_db' undeclared (first use in this function)
dict_db.c:495: error: parse error before ')' token
dict_db.c: In function `dict_db_open':
dict_db.c:517: error: `dict_db' undeclared (first use in this function)
dict_db.c:519: error: `DB' undeclared (first use in this function)
dict_db.c:519: error: `db' undeclared (first use in this function)
dict_db.c:639: error: parse error before ')' token
dict_db.c: In function `dict_hash_open':
dict_db.c:682: error: `HASHINFO' undeclared (first use in this function)
dict_db.c:682: error: parse error before "tweak"
dict_db.c:684: error: `tweak' undeclared (first use in this function)
dict_db.c:700: error: `DB_HASH' undeclared (first use in this function)
dict_db.c: In function `dict_btree_open':
dict_db.c:709: error: `BTREEINFO' undeclared (first use in this function)
dict_db.c:709: error: parse error before "tweak"
dict_db.c:711: error: `tweak' undeclared (first use in this function)
dict_db.c:726: error: `DB_BTREE' undeclared (first use in this function)
make: ** [dict_db.o] Erro 1
make: ** [update] Erro 1
Procure o tuto do marco maximo ele e otimo, coloquei aqui o postfix+mysql no conectiva 10 e infelizmente nao tem pacotes compilados no cl 10. a proposito este erro ocorre por dependencia na lib do db que nao foram resolvidas, coloquei os pacotes para resolver as dependencia no post que vc colocou no grupo serv. email. Faca o procedimento e coloque o resultado que obteve.