LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-17-2011, 02:36 PM   #1
slackware13
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
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
 
Old 12-17-2011, 03:35 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,434

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
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.

Last edited by ponce; 12-17-2011 at 03:50 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while compiling kernel 2.6.36 in slackware 13.1 -current el_jauzaa Slackware 8 08-29-2012 08:36 PM
[SOLVED] Update Error in Slackware-current rickphilwi Slackware 4 11-23-2011 01:32 PM
Try to install FlameRobin under Slackware -current & have a "wxWindows" error. Robert.Thompson Slackware 5 04-21-2011 03:19 PM
How can I install a slackware-current kernel to slackware 11? bijit1709 Slackware 11 06-13-2007 03:24 PM
slackware-current:gaim error skedit Slackware 3 11-05-2004 01:32 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration