Loading ...
Sorry, an error occurred while loading the content.

Re: compile and path

Expand Messages
  • /dev/rob0
    ... Merge all your CCARGS into a single expression. make makefiles CCARGS= -DHAS_MYSQL -I/usr/include/mysql/ -DUSE_SASL_AUTH
    Message 1 of 4 , Mar 24 4:21 AM
    • 0 Attachment
      On Sun, Mar 24, 2013 at 08:31:32AM +0430, Mohsen Pahlevanzadeh wrote:
      > i compiled postfix with :
      > make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL
      > -I/usr/include/mysql/' CCARGS='-DUSE_SASL_AUTH
      > -DDEF_SERVER_SASL_TYPE= \"dovecot\"' CCARGS='-DUSE_TLS
      > -I/usr/include/openssl/' 'AUXLIBS=-L/usr/lib64/mysql -L/usr/lib
      > -lmysqlclient -lz -lm -lssl -lcrypto '
      >
      >
      > i checked their path on my machine. they was correct.library and
      > include files.
      > Question: can i use many CCARGS when i use make command?

      Merge all your CCARGS into a single expression.

      make makefiles CCARGS="-DHAS_MYSQL -I/usr/include/mysql/ \
      -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS \
      -I/usr/include/openssl/" AUXLIBS="-L/usr/lib64/mysql -L/usr/lib \
      -lmysqlclient -lz -lm -lssl -lcrypto"

      http://www.postfix.org/INSTALL.html
      http://www.postfix.org/MYSQL_README.html
      http://www.postfix.org/SASL_README.html#postfix_build
      http://www.postfix.org/TLS_README.html#build_tls
      --
      http://rob0.nodns4.us/ -- system administration and consulting
      Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
    • Mohsen Pahlevanzadeh
      hi, sorry for late. i merged CCARGS as : ///////////////////////////// make -f Makefile.init makefiles CCARGS=-DHAS_MYSQL -I/usr/include/mysql/
      Message 2 of 4 , Mar 27 7:59 PM
      • 0 Attachment
        hi,
        sorry for late.
        i merged CCARGS as :
        /////////////////////////////
        make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL
        -I/usr/include/mysql/ -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\"
        -DUSE_TLS -I/usr/include/openssl/' 'AUXLIBS=-L/usr/lib64/mysql
        -L/usr/lib -lmysqlclient -lz -lm -lssl -lcrypto '
        /////////////////////////
        But when i use :
        ///////////////////
        telnet 0 25
        ////////////////////
        i get the
        //////////////////////////////////
        ehlo localhost
        250-mail.pahlevanzadeh.info
        250-PIPELINING
        250-SIZE 30720000
        250-VRFY
        250-ETRN
        250-ENHANCEDSTATUSCODES
        250-8BITMIME
        250 DSN
        ///////////////////////////////////

        I read to should get the
        //////////////////////////
        ehlo localhost
        250-plato.example.com
        250-PIPELINING
        250-SIZE 30720000
        250-VRFY
        250-ETRN
        250-STARTTLS
        250-AUTH PLAIN LOGIN
        250-AUTH=PLAIN LOGIN
        250-ENHANCEDSTATUSCODES
        250-8BITMIME
        250 DSN
        ///////////////////////////////

        What's happen?
        However dovecot isn't ran.

        --mohsen

        On Sun, 2013-03-24 at 06:21 -0500, /dev/rob0 wrote:
        > On Sun, Mar 24, 2013 at 08:31:32AM +0430, Mohsen Pahlevanzadeh wrote:
        > > i compiled postfix with :
        > > make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL
        > > -I/usr/include/mysql/' CCARGS='-DUSE_SASL_AUTH
        > > -DDEF_SERVER_SASL_TYPE= \"dovecot\"' CCARGS='-DUSE_TLS
        > > -I/usr/include/openssl/' 'AUXLIBS=-L/usr/lib64/mysql -L/usr/lib
        > > -lmysqlclient -lz -lm -lssl -lcrypto '
        > >
        > >
        > > i checked their path on my machine. they was correct.library and
        > > include files.
        > > Question: can i use many CCARGS when i use make command?
        >
        > Merge all your CCARGS into a single expression.
        >
        > make makefiles CCARGS="-DHAS_MYSQL -I/usr/include/mysql/ \
        > -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS \
        > -I/usr/include/openssl/" AUXLIBS="-L/usr/lib64/mysql -L/usr/lib \
        > -lmysqlclient -lz -lm -lssl -lcrypto"
        >
        > http://www.postfix.org/INSTALL.html
        > http://www.postfix.org/MYSQL_README.html
        > http://www.postfix.org/SASL_README.html#postfix_build
        > http://www.postfix.org/TLS_README.html#build_tls
      • Wietse Venema
        ... TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html Thank you for using Postfix.
        Message 3 of 4 , Mar 28 4:06 AM
        • 0 Attachment
          Mohsen Pahlevanzadeh:
          > //////////////////////////
          > ehlo localhost
          > 250-plato.example.com
          > 250-PIPELINING
          > 250-SIZE 30720000
          > 250-VRFY
          > 250-ETRN
          > 250-STARTTLS
          > 250-AUTH PLAIN LOGIN
          > 250-AUTH=PLAIN LOGIN
          > 250-ENHANCEDSTATUSCODES
          > 250-8BITMIME
          > 250 DSN
          > ///////////////////////////////
          >
          > What's happen?

          TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail

          TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

          Thank you for using Postfix.
        Your message has been successfully submitted and would be delivered to recipients shortly.