This is a discussion on Re: postfix -DHAS_MYSQL error within the mailing.postfix.users forums, part of the Mail Servers and Related category; > > OK - We are NOT having a good time here... > >=20 > > Situation as I see ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> > OK - We are NOT having a good time here...
> >=20 > > Situation as I see it > >=20 > > * SuSE 9.2 Professional > > * Postix installed from distro (v.2.1.5) - NO sql support > > so...we download 2.2.3 from postfix.org > > * Page 205 of Ralf's book...find command shows same directories as > his > > example. > > * No db-devel installed - so we install it... > > * do the "make tidy" followed by the "make makefiles..." > > * make spits out a ton of errirs complaing about > > missing prototypes -Wformat -DHAS_MYSQL > > * This error seems to be very popular with SuSE starting around > 8.1 > >=20 > > Does anyone have SuSE 9.2 running with postfix with SQL support ? > >=20 > > Any ideas ? Do I download old 2.1.5 ("matching") version from > > postfix.org - with SQL support ? Give up and look at another MTA ? >=20 > > Can I find out what the "secret handshake" is ? >=20 > As the rest of us are slightly less telepathic, mind posting the > errors?=20 > Especially the point where the errors start. And of course what > commands=20 > you used. >=20 > --=20 >=20 > Jussi >=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Thanks for replying Jussi: from pg 205 Ralf's "The Book of Postfix" find /usr -name 'mysql.h' returns: /usr/include/mysql/mysql.h find /usr -name 'libmysqlclient.*' returns: /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/mysql/libmysqlclient.so /usr/lib/mysql/libmysqlclient.a so ... continuing I type in "make tidy" and see the "usual" cleanup type things then it type (continuous line make makefiles CCARGS=3D'-DHAS_MYSQL -I/usr/include/mysql' AUXLIBS=3D'-L/usr/lib/mysql -lmysqlclient -lz -lm' (I then get what looks to be a reasonable list from makefiles...I can't mail from the box...or I'd include the exact output.) I then type in "make" I get several (probably 100+) lines of various modules that read: gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -g -O -I. -I../../include DLINUX2 -c master_flow.c the "master_flow.c" was toward the end...many, many, many more modules/lines are before that (they don't all say master_flow.c)... and finally ends with: make: *** [master] Error 1 make: *** [update] Error 1 there may be a typo in the above...but it follow's Ralf's example perfectly... Need anything else ? |