Re: Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread James Brown
> On 28 Nov 2018, at 11:20 pm, Herbert J. Skuhra wrote: > > On Wed, Nov 28, 2018 at 11:00:33PM +1100, James Brown wrote: >> >> On Wed, Nov 28, 2018 at 09:55:02PM +1100, James Brown wrote: >>> ... >>> My Make script is: >>> >>> $ make -f Makefile.init makefiles CCARGS='-DUSE_TLS -DUSE_SASL_AU

Re: Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread Viktor Dukhovni
> On Nov 28, 2018, at 5:55 AM, James Brown wrote: > > $ locate opensslv.h > /usr/local/Cellar/openssl/1.0.2p/include/openssl/opensslv.h > /usr/local/Cellar/openssl/1.0.2q/include/openssl/opensslv.h > /usr/local/Cellar/openssl@1.1/1.1.1/include/openssl/opensslv.h > /usr/local/Cellar/openssl@1.1

Re: Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread Robert Chalmers
@James, this is my Make directive set for 3.3.2, and it builds. I did have to make a couple of patches though first. Added this: Then had to add this define to dict_mysql.c #define MYSQL_OPT_SSL_VERIFY_SERVER_CERT 0 and this patch. This is the DB fix. Do it by prompt after all. sed "s:DB_VE

Re: Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread Herbert J. Skuhra
On Wed, Nov 28, 2018 at 11:00:33PM +1100, James Brown wrote: > > On 28 Nov 2018, at 10:38 pm, Herbert J. Skuhra wrote: > > > > On Wed, Nov 28, 2018 at 09:55:02PM +1100, James Brown wrote: > >> I have installed OpenSSL v1.1.1 via Homebrew. I’m trying to install > >> Postfix 3.3.2 but it always end

Re: Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread James Brown
> On 28 Nov 2018, at 10:38 pm, Herbert J. Skuhra > wrote: > > On Wed, Nov 28, 2018 at 09:55:02PM +1100, James Brown wrote: >> I have installed OpenSSL v1.1.1 via Homebrew. I’m trying to install Postfix >> 3.3.2 but it always ends with: >> >> cc -I. -I../../include -DUS

Re: Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread Herbert J. Skuhra
On Wed, Nov 28, 2018 at 09:55:02PM +1100, James Brown wrote: > I have installed OpenSSL v1.1.1 via Homebrew. I’m trying to install Postfix > 3.3.2 but it always ends with: > > cc -I. -I../../include -DUSE_TLS -DUSE_SASL_AUTH > -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DDEF_COMMAND_DIR=\"/usr/local/sbi

Compile error on Mojave (Postfix 3.3.2): 'openssl/opensslv.h' file not found

2018-11-28 Thread James Brown
I have installed OpenSSL v1.1.1 via Homebrew. I’m trying to install Postfix 3.3.2 but it always ends with: cc -I. -I../../include -DUSE_TLS -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/u

Re: postfix3.0.2 compile error on AIX61/71

2015-09-07 Thread Wietse Venema
Viktor Dukhovni: > The solution is a more modern C/resolver library and associated > header files. Postfix support for DNSSEC could be compiled out of > this system by adding override macros that disable attempts to > support DNSSEC even when RES_USE_DNSSEC is present. Apply the > patch below and

Re: postfix3.0.2 compile error on AIX61/71

2015-09-07 Thread Takae Harrington
SO Delivery Office: 720-342-6749 Email: thar...@us.ibm.com From: Viktor Dukhovni To: postfix-users@postfix.org Date: 09/04/2015 06:07 PM Subject:Re: postfix3.0.2 compile error on AIX61/71 Sent by:owner-postfix-us...@postfix.org On Fri, Sep 04, 2015 at 04:59:23PM -0700

Re: postfix3.0.2 compile error on AIX61/71

2015-09-04 Thread Viktor Dukhovni
On Fri, Sep 04, 2015 at 04:59:23PM -0700, Takae Harrington wrote: > I tried make CFLAGS='-DDISABLE_DNSSEC' makefiles (and different variants), > but it did not add CFLAGS in Makefile. (so the error persisted) > Only CFLAGS in the Makefile was "SHLIB_CFLAGS" and it looked like I can > pass the argu

Re: postfix3.0.2 compile error on AIX61/71

2015-09-04 Thread Takae Harrington
0-342-6749 Email: thar...@us.ibm.com From: Jim Reid To: Takae Harrington/Phoenix/IBM@IBMUS Cc: postfix-users@postfix.org Date: 09/04/2015 05:01 PM Subject:Re: postfix3.0.2 compile error on AIX61/71 Sent by:owner-postfix-us...@postfix.org On 4 Sep 2015, at 23:43,

Re: postfix3.0.2 compile error on AIX61/71

2015-09-04 Thread Jim Reid
On 4 Sep 2015, at 23:43, Takae Harrington wrote: > does u_short/u_int, and unassigned makes difference? Maybe, maybe not. Consult your C compiler documentation. BTW I assume you meant "unsigned" instead of "unassigned". Though I doubt compiler documentation will help you because the definition

Re: postfix3.0.2 compile error on AIX61/71

2015-09-04 Thread Jim Reid
On 4 Sep 2015, at 23:43, Takae Harrington wrote: > does u_short/u_int, and unassigned makes difference? Maybe, maybe not. Consult your C compiler documentation. BTW I assume you meant "unsigned" instead of "unassigned". Though I doubt compiler documentation will help you because the definition

Re: postfix3.0.2 compile error on AIX61/71

2015-09-04 Thread Takae Harrington
Office: 720-342-6749 Email: thar...@us.ibm.com From: Jim Reid To: Takae Harrington/Phoenix/IBM@IBMUS Cc: postfix-users@postfix.org Date: 09/03/2015 02:56 PM Subject:Re: postfix3.0.2 compile error on AIX61/71 Sent by:owner-postfix-us...@postfix.org On 3 Sep 2015, at 22

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 03:08:19PM -0700, Takae Harrington wrote: > and run as follows - but I still get the same error -- Am I missing > something or doing wrong here ? > [vq2ua613:/staging/Postfix-3.0.2]make -DDISABLE_DNSSEC No: make tidy make CFLAGS='-DDISABLE_DNSSEC ...' AUXL

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Takae Harrington
ror code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. Thank you in advance! Takae Harrington From: Viktor Dukhovni To: postfix-users@postfix.org Date: 09/03/2015 02:26 PM Subject: Re: postfix3.0.2 compile error on AIX61/71 Se

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Jim Reid
On 3 Sep 2015, at 22:11, Takae Harrington wrote: > When I compile postfix3.0.2 (the same issue has existed since 2.11.x) on > aix61 and aix71, I get this error: > > [vq2ua613:/staging/Postfix-3.0.2]make > dns_lookup.c: In function 'dns_query': > dns_lookup.c:339: error: 'HEADER' has no member

Re: postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Viktor Dukhovni
On Thu, Sep 03, 2015 at 02:11:55PM -0700, Takae Harrington wrote: > Hello, > > When I compile postfix3.0.2 (the same issue has existed since 2.11.x) on > aix61 and aix71, I get this error: > > [vq2ua613:/staging/Postfix-3.0.2]make > dns_lookup.c: In function 'dns_query': > dns_lookup.c:339: erro

postfix3.0.2 compile error on AIX61/71

2015-09-03 Thread Takae Harrington
Hello, When I compile postfix3.0.2 (the same issue has existed since 2.11.x) on aix61 and aix71, I get this error: [vq2ua613:/staging/Postfix-3.0.2]make dns_lookup.c: In function 'dns_query': dns_lookup.c:339: error: 'HEADER' has no member named 'ad' make: The error code from the last command is

Re: Compile error

2010-12-15 Thread Victor Duchovni
On Wed, Dec 15, 2010 at 03:41:18PM -0300, M. Rodrigo Monteiro wrote: > With the makefile below, Postfix compile without even warning errors. > > make -f Makefile.init makefiles \ > 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -DUSE_TLS > -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot

Re: Compile error

2010-12-15 Thread M. Rodrigo Monteiro
On Wed, Dec 15, 2010 at 15:30, Victor Duchovni wrote: > -- >        Viktor. > Thanks Viktor! With the makefile below, Postfix compile without even warning errors. make -f Makefile.init makefiles \ 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -DUSE_TLS -DUSE_SASL_AUTH -DDEF_SERVER_SASL

Re: Compile error

2010-12-15 Thread Victor Duchovni
On Wed, Dec 15, 2010 at 03:11:26PM -0300, M. Rodrigo Monteiro wrote: > The make command: > > make -f Makefile.init makefiles \ > 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -I/usr/include No need for -I/usr/include, this is always included. > -DHAS_DB -I/usr/include/db4 -DUSE_TLS -I

Re: Compile error

2010-12-15 Thread fakessh @
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 15.12.2010 19:22, Eero Volotinen a écrit : > 2010/12/15 M. Rodrigo Monteiro : >> Hi! >> >> I'm tryind to compile Postfix with Dovecot support. > > Why? Can't you just take precompiled binary? > > -- > Eero i try with succes compiled postfix with

Re: Compile error

2010-12-15 Thread Eero Volotinen
2010/12/15 M. Rodrigo Monteiro : > Hi! > > I'm tryind to compile Postfix with Dovecot support. Why? Can't you just take precompiled binary? -- Eero

Compile error

2010-12-15 Thread M. Rodrigo Monteiro
Hi! I'm tryind to compile Postfix with Dovecot support. CentOS 5.5 Kernel 2.6.18-194.26.1.el5 Dovecot 2.0.8 Postfix 2.7.2 The make command: make -f Makefile.init makefiles \ 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DHAS_PCRE -I/usr/include -DHAS_DB -I/usr/include/db4 -DUSE_TLS -I/usr/inclu

Re: Compile error Slackware 12.2 postfix 2.5.6 smtp_reuse.c

2009-01-04 Thread Wietse Venema
This is the result of a cut-and-paste error. I have re-issued the releases. Wietse

Compile error Slackware 12.2 postfix 2.5.6 smtp_reuse.c

2009-01-04 Thread memmas
Hi.. I'm using slackware 12.2 and I get the following error when trying to compile postfix-2.5.6 gcc -Wmissing-prototypes -Wformat -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_SSL -I/usr/include/openssl -DHAS_LDAP -I/usr/include -DHAS_MYSQL -I/usr/include/mysql -DHAS_P

Re: compile error postfix 2.5.5 suse8.2/gcc 3.3

2008-09-03 Thread Wietse Venema
Andre H?bner: > > > Sorry, "make tidy" is always successful. This proves nothing. > > not always, this is the reason for writing to this list ;) > errormessages sent in 1. mail are result of make tidy That is incorrect. This was your problem report: 1 make tidy 2 make -f Makefile.in MAKELE

Re: compile error postfix 2.5.5 suse8.2/gcc 3.3

2008-09-03 Thread Andre Hübner
Sorry, "make tidy" is always successful. This proves nothing. not always, this is the reason for writing to this list ;) errormessages sent in 1. mail are result of make tidy hmm, on this special maschine no sys-software is changed by me. i even cannot update any parts of system cause it is d

Re: compile error postfix 2.5.5 suse8.2/gcc 3.3

2008-09-03 Thread Wietse Venema
Andre H?bner: > > Note that uint32_t is used in /usr/include/sys/epoll.h. This means > > that you have a broken include file hierachy. > > /usr/include/sys/epoll.h is part of c-library and unchanged by me Sorry, /usr/include/sys/epoll.h is a SYSTEM INCLUDE FILE and such files must not have "undef

Re: compile error postfix 2.5.5 suse8.2/gcc 3.3

2008-09-03 Thread Andre Hübner
Note that uint32_t is used in /usr/include/sys/epoll.h. This means that you have a broken include file hierachy. /usr/include/sys/epoll.h is part of c-library and unchanged by me i tried "make tidy" on this machine with version 2.4.9 and it was successfull lines 56-68 of /usr/include/sys/epo

Re: compile error postfix 2.5.5 suse8.2/gcc 3.3

2008-09-03 Thread Wietse Venema
Andre H?bner: > Hi, > > i successfully compiled and packaged postfix 2.5.5 on suse 10.1 with > gcc 4.1.2 > > Now i try same with suse 8.2 and gcc 3.3 > > Testcompile with simple: make tidy results in > > make tidy > make -f Makefile.in MAKELEVEL= Makefiles > (echo "# Do not edit -- this file

compile error postfix 2.5.5 suse8.2/gcc 3.3

2008-09-03 Thread Andre Hübner
Hi, i successfully compiled and packaged postfix 2.5.5 on suse 10.1 with gcc 4.1.2 Now i try same with suse 8.2 and gcc 3.3 Testcompile with simple: make tidy results in make tidy make -f Makefile.in MAKELEVEL= Makefiles (echo "# Do not edit -- this file documents how Postfix was built for