From owner-freebsd-ports Sat Feb 10 20:19:30 2001 Delivered-To: freebsd-ports@freebsd.org Received: from leviathan.inethouston.net (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id 5A3F037B401 for ; Sat, 10 Feb 2001 20:19:10 -0800 (PST) Received: from dwcjr (216-118-21-147.pdq.net [216.118.21.147]) by leviathan.inethouston.net (Postfix) with ESMTP id B9E4B177E9E; Sat, 10 Feb 2001 22:19:15 -0600 (CST) Message-ID: <00e201c093e1$ccebbd20$931576d8@inethouston.net> From: "David W. Chapman Jr." To: "Troy Settle" , "Blaz Zupan" Cc: References: Subject: Re: Postfix + MySQL (ports updated 2/8) Date: Sat, 10 Feb 2001 22:19:17 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I don't think Blaz is a committer so it might take some time. Is this something that might apply to postfix-current? ----- Original Message ----- From: "Troy Settle" To: "Blaz Zupan" Cc: ; Sent: Saturday, February 10, 2001 7:16 PM Subject: RE: Postfix + MySQL (ports updated 2/8) > > Beautiful! Thanks Blaz. I trust you'll be commiting this soon? Though I > don't suppose I'll have problems remembering this when/if I take postfix > into production. > > > -- > Troy Settle > Pulaski Networks > 540.994.4254 > > They told me to think out of the box, but I > tripped over it, now I own my own company. > > > > ** -----Original Message----- > ** From: Blaz Zupan [mailto:blaz@amis.net] > ** Sent: Saturday, February 10, 2001 3:56 PM > ** To: Troy Settle > ** Cc: freebsd-questions@freebsd.org; freebsd-ports@freebsd.org > ** Subject: Re: Postfix + MySQL (ports updated 2/8) > ** > ** > ** > cc -DHAS_MYSQL -I/usr/local/include/mysql -O -pipe -I. > ** -I../include -DFREEB > ** > SD4 -o error error.o ../lib/libmaster.a ../lib/libglobal.a > ** ../lib/libutil.a > ** > /usr/local/lib/mysql/libmysqlclient.a -lm > ** > /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function > ** > `my_compress_alloc': > ** > my_compress.o(.text+0xb0): undefined reference to `compress' > ** > /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function > ** > `my_uncompress': > ** > my_compress.o(.text+0x121): undefined reference to `uncompress' > ** > *** Error code 1 > ** > ** Try the patch below. It appears that the 3.23 mysql libraries need libz. > ** > ** --- postfix/Makefile.orig Tue Feb 6 03:56:33 2001 > ** +++ postfix/Makefile Sat Feb 10 21:53:38 2001 > ** @@ -60,7 +60,7 @@ > ** .if defined(WITH_MYSQL) > ** BUILD_DEPENDS+= > ** ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mys > ** ql323-client > ** POSTFIX_CCARGS+= -DHAS_MYSQL -I${LOCALBASE}/include/mysql > ** -POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm > ** +POSTFIX_AUXLIBS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz > ** .endif > ** > ** .if defined(WITH_LDAP) > ** > ** > ** > ** Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia > ** E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 > ** > ** > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message