|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: mysql support won't work--but no errors
From: lmh (l
hdex.com)
Date: Wed Oct 01 2003 - 12:35:55 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi. I have the same problem as Anne. I am playing with a new install of
Mandrake 9.2 RC2, but that does not seem to have anything to do with the
issues re: compiling Postfix with MySql support. I am trying to get the
following configuration going on this new box
Postfix 2.0.16
Cyrus 2.1.15-2mdk
mysql client and server as distributed with Mandrake 9.2 RC2, that is,
4.0.14-1mdk
web-cyradm 0.5.4.RC2
I followed (I thought I followed) Luc DeLouw's instructions posted here:
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/install.html
but in response to this step:
make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql
-I/usr/local/bdb/include -DUSE_SASL_AUTH -I/usr/local/include/sasl'
'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm
-L/usr/local/lib -lsasl2 -L/usr/local/bdb/lib'
I get
make -f Makefile.in MAKELEVEL= Makefiles
set -e; for i in src/util src/global src/dns src/master src/postfix
src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd
src/local src/lmtp src/trivial-rewrite src/qmgr src/smtp src/bounce
src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop
src/postkick src/postlock src/postlog src/postmap src/postqueue
src/postsuper src/nqmgr src/qmqpd src/spawn src/flush src/virtual
src/proxymap; do \
(set -e; echo "[$i]"; cd $i; rm -f Makefile; \
make -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
done;
[src/util]
(set -e; echo "# DO NOT EDIT"; /bin/sh ../../makedefs && cat
Makefile.in) >Makefile
No <db.h> include file found.
Install the appropriate db*-devel package first.
See the RELEASE_NOTES file for more information.
make: *** [Makefile] Error 1
make: *** [Makefiles] Error 1
make: *** [makefiles] Error 2
I previously installed sleepycat's Berkeley DB ( db-4.1.25 )(using Luc
DeLouw's instructions; it seemed to compile and install just fine.
One note; his set of instructions do not ever use the 'make tidy' command.
I have figured out that I have a db.h file in .usr/local/bdb/include ;
the file size is 75839 bytes and it appears to be the correct file, as
it is the same file which appears in the /dist directory of the
sleepycat dbd tree.
I have also read the DB_README file as per Wietse Venema's comment in
this thread with attention to this paragraph:
To build Postfix after you installed the Berkeley DB from Sleepycat,
use something like:
% make tidy
% make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB.3.1/include" \
AUXLIBS="-L/usr/local/BerkeleyDB.3.1/lib -ldb"
% make
The exact pathnames depend on the DB version that you installed.
For example, Berkeley DB version 2 installs in /usr/local/BerkeleyDB.
It appears that the make command Luc DeLouw issues should work, since
the db.h file is where it is supposed to be, no?
What am I missing? Any suggestions most welcome. Thanks in advance, and
at this point I've got about 25 hours into figuring this out; not bad
for a willing newbie.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]