Error on install dovecot(2.0.16 ; 1.2.16 ;1.2.17) on slackware 13.37 current
hi
I tried to install several versions of Dovecot and all I have this error: Dovecot version : dovecot-2.0.16.tar.gz dovecot-1.2.16.tar.gz dovecot-1.2.17.tar.gz tar xzpf dovecot-2.0.16.tar.gz ./configure \ --with-vpopmail \ --with-docs \ --with-ssl \ Install prefix . : /usr/local File offsets ... : 64bit I/O polling .... : epoll I/O notifys .... : inotify SSL ............ : yes (OpenSSL) GSSAPI ......... : no passdbs ........ : static passwd passwd-file shadow checkpassword vpopmail : -pam -bsdauth -sia -ldap -sql userdbs ........ : static prefetch passwd passwd-file checkpassword vpopmail nss : -ldap -sql SQL drivers .... : : -pgsql -mysql -sqlite root@mail:/downloads/qmailrocks/dovecot-2.0.16#make ........................................................... s -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c -fPIC -DPIC -o .libs/quota-fs.o In file included from quota-fs.c:29:0: rquota.h:9:21: fatal error: rpc/rpc.h: No such file or directory compilation terminated. make[4]: *** [quota-fs.lo] Error 1 make[4]: Leaving directory `/downloads/qmailrocks/dovecot-2.0.16/src/plugins/quota' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/downloads/qmailrocks/dovecot-2.0.16/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/downloads/qmailrocks/dovecot-2.0.16/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/qmailrocks/dovecot-2.0.16' make: *** [all] Error 2 root@mail:/downloads/qmailrocks/dovecot-2.0.16# install dovecot-1.2.16 root@mail:/downloads/qmailrocks#tar xzpf dovecot-1.2.16.tar.gz root@mail:/downloads/qmailrocks#cd dovecot-1.2.16 ./configure \ --with-vpopmail \ --with-docs \ --with-ssl \ Install prefix . : /usr/local File offsets ... : 64bit I/O polling .... : epoll I/O notifys .... : inotify SSL ............ : yes (OpenSSL) GSSAPI ......... : no passdbs ........ : static passwd passwd-file shadow checkpassword vpopmail : -pam -bsdauth -sia -ldap -sql userdbs ........ : static prefetch passwd passwd-file checkpassword vpopmail nss : -ldap -sql SQL drivers .... : : -pgsql -mysql -sqlite root@mail:/downloads/qmailrocks/dovecot-1.2.16# make ............................................................. /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c -o quota-fs.lo quota-fs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -DPKG_RUNDIR=\"/usr/local/var/run/dovecot\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c -fPIC -DPIC -o .libs/quota-fs.o In file included from quota-fs.c:28:0: rquota.h:9:21: fatal error: rpc/rpc.h: No such file or directory compilation terminated. make[4]: *** [quota-fs.lo] Error 1 make[4]: Leaving directory `/downloads/qmailrocks/dovecot-1.2.16/src/plugins/quota' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/downloads/qmailrocks/dovecot-1.2.16/src/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/downloads/qmailrocks/dovecot-1.2.16/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/qmailrocks/dovecot-1.2.16' make: *** [all] Error 2 root@mail:/downloads/qmailrocks/dovecot-1.2.16# sorry for my English thank you |
you are using slackware current: in the updated glibc in -current some rpc headers are deprecated in favour of libtirpc ones.
if you want to build it, I personally think your best options for now, until things on -current stabilize, are either: - to reinstall the missing headers: you can find a (unofficial) testing slackbuild I wrote for them here from which you can make a package. Install it and dovecot should build fine. You can uninstall the rpcnis-headers package after building dovecot, but keep it at hand as other software might still need those headers for building. - to build it against libtirpc (these are my testing build scripts for this library not yet in slackware), but you will have to modify the official build script a little (here I also updated it for 2.0.16). This seems to work too (tested). I suggest you also to use slackbuilds.org's slackbuild for building dovecot, a lot of the dirty work is done already for you simply running it, courtesy of Alan Hicks. |
All times are GMT -5. The time now is 03:48 PM. |