Hello,

        using openpkg build postfix -Dpostfix::with_mysql=yes | sh,
postfix does not build with mysql support currently.

(simple check: postconf -m | grep mysql -q || echo "No mysql map support")

        reading the doc, it appears that you have to make makefiles
before the real make, so i made the following patch to the spec file,
it's working here on linux;


-bash-3.00# diff -Naur postfix.spec.orig  postfix.spec
--- postfix.spec.orig   2007-02-14 17:21:13.000000000 +0100
+++ postfix.spec   2007-02-14 17:24:35.000000000 +0100
@@ -176,6 +176,9 @@
  %if "%{with_mysql}" == "yes"
      CCARGS="$CCARGS -DHAS_MYSQL %{l_cppflags mysql .}"
      AUXLIBS="$AUXLIBS %{l_ldflags mysql .} -lmysqlclient -lz -lm"
+    %{l_make} -f Makefile.init makefiles \
+        'CCARGS=-DHAS_MYSQL %{l_cppflags mysql .}' \
+        'AUXLIBS=$AUXLIBS'
  %endif
  %if "%{with_pgsql}" == "yes"
      CCARGS="$CCARGS -DHAS_PGSQL %{l_cppflags postgresql .}"



Olivier Kaloudoff
Saint Raphael


PS: there are much errors with permissions settings wrong, too,
that still prevents postfix from running out of the openpkg box
currently. Will try to figure out how to fix this and post a
patch later on !
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to