* [gentoo-dev] postfix-2.0.3, mysql, and base system issues
@ 2003-02-10 17:01 99% Ken
0 siblings, 0 replies; 1+ results
From: Ken @ 2003-02-10 17:01 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey all,
I'm a bit stumped by this issue. I'm hoping one of you will have some insight.
Yesterday I upgraded from postfix-1.1.x to postfix-2.0.3. Everything seemed
fine, same use flags as before and all that. However, I cannot for the life o
me get it to build with mysql support. I've tried changing use flags, doing
it manually, using an older version, updating other things on my system and
then trying to build it and no luck with any of it.
I've updated gcc, gcc-config, glibc, texinfo, pam, cyrus-sasl, mysql, and
postfix. The only other thing I can think of is that this has something to do
with the gcc-2.95.3 -> gcc-3.2.1-r6 update I.
root@kickasskungfu.com > emerge info
Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r4,2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r7 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/mnt/win_c/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/win_c"
PORTDIR_OVERLAY="/usr/portage.local/"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mikmod
mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv
zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga java guile sdl
gpm tcpd libwww perl python esd imlib oggvorbis gtk qt motif opengl mozilla
snmp X tcltk ssl sasl pam mysql maildir imap -kerberos -ldap"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O2 -pipe"
CXXFLAGS="-march=k6-2 -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg"
Postfix is being compiled with mysql use flags. I see it compile the
dict_mysql.c code, as well as watch the mysql compiler flags scroll by during
the build. An when doing a strace, I see the program load the
libmysqlclient.so:
open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\201"..., 1024) =
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=244048, ...}) = 0
mmap2(NULL, 222752, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4011c000
mprotect(0x4013a000, 99872, PROT_NONE) = 0
mmap2(0x4013a000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x1d) = 0x4013a000
close(3) = 0
I also noticed that postfix was trying to contact nscd for some kind of
resolution. /var/run/.nscd_socket: no such file or directory. There seems to
be no mention of this in the postfix doc's or makefiles. nscd and nsswitch
appear to be part of baselayout. And thats the part which makes me think this
whole mess could be related to the gcc update. I never even knew those files
were there until this postfix problem happened.
No matter what I tried it all ends up the same, no mysql support.
root -> postconf -m
static
sdbm
nis
regexp
environ
proxy
btree
unix
hash
To sum up, I started with a working postfix-1.1.20020917-r1 install with mysql
support. I then upgraded to 2.0.3 which had no mysql support. I then updated
a whole bunch of stuff on my system to see if I could get it to compile
correctly and still had no luck. So then I tried going back to my old working
version, and it too has the same problem now. My whole email system is based
upon mysql backend. Anyone else have any ideas? Any help would be
appreciated.
btw - sorry if this email is a little scattered, this was all I did yesterday.
If I left anything out please let me know.
Thanks
- --
Ken - "I'm just re-do."
ken@kickasskungfu.com
- -----------------------------------------------------------------
pgp fingerprint 2D6D 67D1 1600 04E0 4AF7 BA7E 26A5 4189 9228 1585
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+R9r4JqVBiZIoFYURAgVzAJ9T0WuojPZ9koOIXyAp/cNy7FVIaACcCeMK
S1oiHnxH+W5rqXz+zBzlPdw=
=Uhuj
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-02-10 17:01 99% [gentoo-dev] postfix-2.0.3, mysql, and base system issues Ken
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox