Re: [CentOS] build postfix rpm with mysql

2012-03-25 Thread Johnny Hughes
On 03/25/2012 12:06 AM, Cliff Pratt wrote: > On Sun, Mar 25, 2012 at 3:32 PM, Tim Dunphy wrote: >> hello list, >> >> I'm trying to build a postfix rpm that has mysql support included. >> I've found the line where I need to define mysql support but it seems >> that I am being tripped up by some bu

Re: [CentOS] build postfix rpm with mysql

2012-03-24 Thread Cliff Pratt
On Sun, Mar 25, 2012 at 3:32 PM, Tim Dunphy wrote: > hello list, > >  I'm trying to build a postfix rpm that has mysql support included. > I've found the line where I need to define mysql support but it seems > that I am being tripped up by some build dependencies: > >  [root@beta SPECS]# rpmbuild

Re: [CentOS] build postfix rpm with mysql

2012-03-24 Thread Tim Dunphy
Well guys, I gave it a whirl by commenting out the following lines in the spec: %if %{with_mysql} Requires: MySQL-shared BuildRequires: MySQL-shared, MySQL-devel %endif And I was able to build the rpm and it looks good! [root@beta x86_64]# ldd $(which postfix) | grep -i mysql libmysq

[CentOS] build postfix rpm with mysql

2012-03-24 Thread Tim Dunphy
hello list, I'm trying to build a postfix rpm that has mysql support included. I've found the line where I need to define mysql support but it seems that I am being tripped up by some build dependencies: [root@beta SPECS]# rpmbuild -ba postfix.spec error: Failed build dependencies: MySQ