hi all
i'm trying to rebuild the 1.0 beta 7 src rpm from atrpms.net to use mysql 5, instead of mysql 4
but i'm having issues when it gets to the mysql part of the make
i have mysql 5 installed (via mysql.com rpm's)
i changed the spec file where it says Buildrequires to say MySQL-devel (instead of mysql-devel)
but it always comes back with this error, and i don't know what it means, i also tried leaving it as mysql-devel, but still get the same error
when i run rpmbuild -ba dovecot.spec && rpm -Uvh --force ../RPMS/i386/dovecot*
am i doing this completely wrong, is there something else i need to do to be able to use mysql 5?
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function
sha1_result': : multiple definition of
sha1_result'
../lib/liblib.a(sha1.o)(.text+0x8e7):/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib/sha1.c:233:
first defined here
/usr/bin/ld: Warning: size of symbol sha1_result' changed from 191 in ../lib/liblib.a(sha1.o) to 126 in /usr/lib/mysql/libmysqlclient.a(sha1.o) collect2: ld returned 1 exit status make[3]: *** [dovecot-auth] Error 1 make[3]: Leaving directory
/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/src/redhat/BUILD/dovecot-1.0.beta7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/usr/src/redhat/BUILD/dovecot-1.0.beta7'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.84952 (%build)
thanks dave