|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Building postfix from src rpm
From: Adrian Mak (makkaichung
gmail.com)
Date: Tue Aug 16 2005 - 22:29:44 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I following the rpm build instruction of
http://postfix.wl0.org/en/building-rpms/
I enabled followings
POSTFIX_MYSQL_PATHS=/usr/local/mysql/include/mysql:/usr/local/mysql/lib/mysql
POSTFIX_LDAP=1
POSTFIX_PCRE=1
POSTFIX_TLS=1
POSTFIX_SASL=1
following rpm packages are installed during redhat installation
pcre-devel-3.9-10.1
pcre-3.9-10.1
openldap-2.0.27-17
openldap-devel-2.0.27-17
nss_ldap-207-11
cyrus-sasl-2.1.15-10
cyrus-sasl-md5-2.1.15-10
cyrus-sasl-gssapi-2.1.15-10
cyrus-sasl-plain-2.1.15-10
cyrus-sasl-devel-2.1.15-10
openssl096b-0.9.6b-16
openssl-0.9.7a-33.12
openssl-devel-0.9.7a-33.12
I used mysql 4.1.13 source tar ball to compile and install under
/usr/local/mysql
here is my mysql compile options
CC=gcc CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" CXX=gcc
CXXFLAGS="-O3 -march=i686 -pipe -felide-constructors -fno-exceptions
-fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler
--with-mysqld-ldflags=-all-static --disable-shared --without-debug
--with-client-ldflags=-all-static --without-innodb --without-bench
After all nececssary work has did
I performed rpmbuild -ba postfix.spec <<----- my new postfix.spec
no luck, build error
# rpmbuild -ba postfix.spec
error: Failed build dependencies:
/usr/local/mysql/include/mysql/mysql.h is needed by
postfix-2.2.5-1.pcre.mysql_path.sasl2.rhel3
Anybody can help ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]