Hi Brad:
I suspect you cannot live without the "encrypt"
function of MySQL. I haven't
noticed anything irregular building DBMail on FBSD6 and
6.1beta which is
roughly where your OSX10.4.4 Server is at I suspect.
Just a couple of thoughts here...
You said you were having some headaches with Postfix with
MySQL as well as
some DBMail --with-mysql issues so I thus wonder about the
MySQL
installation. Are the MySQL libs not in
"/usr/local/lib/mysql/" or are they
really in "/usr/local/mysql/lib" ?
Is it possible you have a mixed up installation with a
mysql_config from a
tarball and an actual installation from a port or something
like that?
Is MySQL running OK with a my.cnf to configure your InnoDB
etc. and you are
able to connect to the dbmail database with something ? (
http:
//library.mobrien.com/dbmailadministrator/ or
http://www.phpmyadmin.net/
)
Also...
Do I see a quirk in your auth/Makefile? The third line below
is what you
should see, I think.
libauthdbmail_la_SOURCES = authsql.c
#libauthdbmail_la_SOURCES = authldap.c
libauthdbmail_la_LIBADD
= -lcrypt -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt
-lm
and this below in config.status
s, SQLLIB ,-L/usr/local/lib/mysql -lmysqlclient -lz
-lcrypt -lm,;t t
and...
Brad, did you check your config.log for a line like this:
"checking crypt.h
usability" and then below that, what it learned?
Perhaps you could try changing the header reference from
crypt.h to unistd.h
in "configure" after a make clean and retry the
whole installation.
Do you have a full set of Development tools installed? If
not it might be a
good idea.
One troubleshooting option for your DBMail build might be to
do a "mv
configure configure.ORIG" (if dbmail2.0.x) and then
try "autoreconf -f -i " and see if a fresh
custom 'configure' would aid in
the build. BTW you would create your 'configure' and
buildtools and such for
SVN HEAD this way.
Let me know how you make out. Good luck.
best... Mike
From: "Bradley Giesbrecht" <brad pixilla.com>
To: "DBMail mailinglist" <dbmail dbmail.org>
Sent: Sunday, February 12, 2006 5:02 PM
Subject: [Dbmail] Build on OSX 10.4.4
Hello,
dbmail_latest_2.0_branch
After running ./configure --with-mysql
gmake fails with:
/bin/sh ../libtool --tag=CC --mode=link gcc
-fomit-frame-pointer -g -
O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -o
libauthdbmail.la
-rpath /usr/local/lib/dbmail authsql.lo -lcrypt
-L/usr/local/mysql/
lib -lmysqlclient -lz -lm
gcc -dynamiclib $-flat_namespace $-undefined
$suppress -
o .libs/libauthdbmail.0.0.0.dylib .libs/authsql.o -lcrypt
-L/usr/
local/mysql/lib -lmysqlclient -lz -lm -install_name
/usr/local/lib/
dbmail/libauthdbmail.0.dylib -Wl,-compatibility_version
-Wl,1 -Wl,-
current_version -Wl,1.0
/usr/bin/libtool: can't locate file for: -lcrypt
/usr/bin/libtool: file: -lcrypt is not an object file (not
allowed in
a library)
Changing auth/MakeFile to the following allows gmake to
complete:
#libauthdbmail_la_LIBADD = -lcrypt -L/usr/local/mysql/lib -
lmysqlclient -lz -lm
libauthdbmail_la_LIBADD = -L/usr/local/mysql/lib
-lmysqlclient -lz -lm
after which "gmake install" renders what appears
to be a working
dbmail, meaning I can start dbmail-pop3d and dbmail-imapd
and login
and check mail. I don't yet have postfix working with
dbmail but I
can copy emails to my imap folders. I have been struggling
with the
OSX postfix install but I think that's a matter of Apple
not
compiling postfix with mysql support but was wondering if my
alterations could be contributing to my lack of postfix
integration.
I'm thinking not. I'm thinking if dbmail can communicate
with mysql
auth is good.
Also, is there a way to pass something to configure to make
it aware
that the crypt functions are in unistd.h? I'm kinda over my
head here
so I'm basically repeating what others who were trying to
help
(apple) have said.
One more thing, dbmail 2.1 doesn't seem to have the
configure script
nor the buildtools dir. Am I missing something?
Thanks for any clues.
/brad
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
Dbmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|