vendredi 6 mars 2015

FreeBSD Reinstall postfix with mysql support


I have installed postfix using the ports tree without making modifications to anything. In my main.cf file i can't specify any 'Mysql:/' arguments because postfix does not have mysql support. Now i want to reinstall postfix with mysql support.


i have tried the following:



make -f Makefile.init makefiles \
'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
'AUXLIBS_MYSQL=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'


This command outputs 'make: cannot open Makefile.init.'


And when i try to make in custom 'Make' file with this code:



make makefiles \
CCARGS="-DHAS_MYSQL -I/usr/include/mysql \
AUXLIBS="-L/usr/lib/mysql/ -lmysqlclient \


Freebsd outputs: 'don't know how to make makefiles. Stop'


Thanks in advance



Aucun commentaire:

Enregistrer un commentaire