building on FreeBSD 8.0?

2009-11-30 Thread ben
I know there are instructions in the INSTALL document how to port 
postfix to unsupported systems but I wonder if the list here has any 
help for getting postfix built on newly released FreeBSD 8.0. . .


I tried simply duping the makedefs line for FreeBSD 7:

  FreeBSD.7*)   SYSTYPE=FREEBSD7

 with

  FreeBSD.8*)   SYSTYPE=FREEBSD7

but that (of course) did not work:

. . .
[src/util]
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL 
-I/usr/local/mysql/include/mysql -DUSE_TLS -I/usr/local/ssl/include 
-DUSE_SASL_AUTH -g -O -I. -DFREEBSD7 -c attr_clnt.c

In file included from attr_clnt.c:77:
/usr/include/unistd.h:329: error: conflicting types for 'closefrom'
./sys_defs.h:1395: error: previous declaration of 'closefrom' was here
*** Error code 1

Stop in /usr/local/src/postfix-2.6.5/src/util.
*** Error code 1

Stop in /usr/local/src/postfix-2.6.5.



Re: building on FreeBSD 8.0?

2009-11-30 Thread Reko Turja


--
From: b...@electricembers.net
Sent: Tuesday, December 01, 2009 12:40 AM
To: postfix-users@postfix.org
Subject: building on FreeBSD 8.0?

I know there are instructions in the INSTALL document how to port 
postfix to unsupported systems but I wonder if the list here has 
any help for getting postfix built on newly released FreeBSD 8.0. . 
.


Uhh, good reason for not using the ports system? Been working a treat 
for me in 8.0 betas and RC's.


-Reko 



Re: building on FreeBSD 8.0?

2009-11-30 Thread Stan Hoeppner
b...@electricembers.net put forth on 11/30/2009 4:40 PM:
 I know there are instructions in the INSTALL document how to port
 postfix to unsupported systems but I wonder if the list here has any
 help for getting postfix built on newly released FreeBSD 8.0. . .

Why not try this, since Sahil has already put so much hard work into it:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/postfix-current/

Sahil is a very active member here, so he'll likely chime in before long.

--
Stan


Re: building on FreeBSD 8.0?

2009-11-30 Thread Sahil Tandon
On Mon, 30 Nov 2009, b...@electricembers.net wrote:

 I know there are instructions in the INSTALL document how to port
 postfix to unsupported systems but I wonder if the list here has
 any help for getting postfix built on newly released FreeBSD 8.0. .
 .
 
 I tried simply duping the makedefs line for FreeBSD 7:
 
   FreeBSD.7*)   SYSTYPE=FREEBSD7
 
  with
 
   FreeBSD.8*)   SYSTYPE=FREEBSD7

That should be:

FreeBSD.8*)   SYSTYPE=FREEBSD8

 [src/util]
 gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL
 -I/usr/local/mysql/include/mysql -DUSE_TLS -I/usr/local/ssl/include
 -DUSE_SASL_AUTH -g -O -I. -DFREEBSD7 -c attr_clnt.c
 In file included from attr_clnt.c:77:
 /usr/include/unistd.h:329: error: conflicting types for 'closefrom'
 ./sys_defs.h:1395: error: previous declaration of 'closefrom' was here
 *** Error code 1

You also need to modify src/util/sys_defs.h.  For guidance, see Postfix
2.7 Snapshot 20091115.

-- 
Sahil Tandon sa...@tandon.net


Re: building on FreeBSD 8.0?

2009-11-30 Thread LuKreme
On 30-Nov-2009, at 15:40, b...@electricembers.net wrote:
 I know there are instructions in the INSTALL document how to port postfix 
 to unsupported systems but I wonder if the list here has any help for 
 getting postfix built on newly released FreeBSD 8.0. . .


Did `portinstall postfix` not work?

…worked for me… 

-- 
'They're the cream!'
Rincewind sighed.
'Cohen, they're the cheese.' --Interesting Times