Vpopmail make Problem

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
Anonymous

Vpopmail make Problem

Post by Anonymous » 2007-07-24 13:25

Moin habe folgendes Problem bei der ausführung von make...


maildirquota.c: In function 'domain_over_maildirquota':
maildirquota.c:108: warning: pointer targets in passing argument 2 of 'readdomainquota' differ in signedness
maildirquota.c: In function 'wrapreaduserquota':
maildirquota.c:183: warning: pointer targets in passing argument 4 of 'countcurnew' differ in signedness
maildirquota.c:191: warning: pointer targets in passing argument 5 of 'countsubdir' differ in signedness
rm -f libvpopmail.a
ar cru libvpopmail.a libvpopmail_a-vpopmail.o libvpopmail_a-md5.o libvpopmail_a-bigdir.o libvpopmail_a-vauth.o libvpopmail_a-file_lock.o libvpopmail_a-vpalias.o libvpopmail_a-seek.o libvpopmail_a-vlimits.o libvpopmail_a-maildirquota.o cdb/*.o
ranlib libvpopmail.a
gcc -I. -I/usr/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'vchkpw.c' || echo './'`vchkpw.c
vchkpw.c: In function 'login_virtual_user':
vchkpw.c:444: warning: pointer targets in passing argument 1 of 'authcram' differ in signedness
vchkpw.c:444: warning: pointer targets in passing argument 2 of 'authcram' differ in signedness
vchkpw.c:444: warning: pointer targets in passing argument 3 of 'authcram' differ in signedness
vchkpw.c:450: warning: pointer targets in passing argument 1 of 'authapop' differ in signedness
vchkpw.c:450: warning: pointer targets in passing argument 2 of 'authapop' differ in signedness
vchkpw.c:450: warning: pointer targets in passing argument 3 of 'authapop' differ in signedness
vchkpw.c: In function 'authcram':
vchkpw.c:747: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:747: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:759: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
vchkpw.c: In function 'authapop':
vchkpw.c:774: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:775: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:784: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:784: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:784: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
vchkpw.c:784: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:784: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
vchkpw.c:784: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
gcc -I. -I/usr/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c
gcc -I. -I/usr/include/mysql -I. -I. -I. -g -O2 -Wall -c `test -f 'hmac_md5.c' || echo './'`hmac_md5.c
gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when searching for -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.4.17'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.4.17'
make: *** [all] Error 2




Sammle meine ersten Erfarhungen und bin sehr auf eure Hilfe angewiesen. Besten Dank schonmal für eure mühen.

Einen schönen gruß,
mattes

User avatar
Joe User
Project Manager
Project Manager
Posts: 11578
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Vpopmail make Problem

Post by Joe User » 2007-07-24 13:50

Es fehlt mysql-devel...

Anonymous

Re: Vpopmail make Problem

Post by Anonymous » 2007-07-24 20:04

Danke für die schnelle Antwort, jedoch ist mysql-devel installiert.

und es befindet sich auch in dem verzeichniss /usr/lib/mysql/

[root@v31069 mysql]# ls
libmysqlclient.so.15 libmysqlclient_r.so.15.0.0 mysqlclient.so
libmysqlclient.so.15.0.0 mysql_config
libmysqlclient_r.so.15 mysqlbug


eventuell stimm ja was nicht mit unserer makefile?

....

SHELL = /bin/sh

srcdir = .
top_srcdir = .

prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = /usr/lib/mysql
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
pkgdatadir = $(datadir)/vpopmail
pkglibdir = $(libdir)/vpopmail
pkgincludedir = $(includedir)/vpopmail
top_builddir = .

ACLOCAL = ${SHELL} /usr/local/src/vpopmail-5.4.17/missing --run aclocal
AUTOCONF = ${SHELL} /usr/local/src/vpopmail-5.4.17/missing --run autoconf
AUTOMAKE = ${SHELL} /usr/local/src/vpopmail-5.4.17/missing --run automake
AUTOHEADER = ${SHELL} /usr/local/src/vpopmail-5.4.17/missing --run autoheader

am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
....

besten dank ...