From 6c1d07769aacc601bd12bfb096c72c6bf7ed866a Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sat, 26 Aug 2017 03:10:51 +0000 Subject: [PATCH] Fix build issue for Dovecot. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19092 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 4 ++-- introduction/welcome/changelog.xml | 10 ++++++++++ server/mail/dovecot.xml | 13 ++++++++++--- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/general.ent b/general.ent index 1807777f64..60aa96fb8a 100644 --- a/general.ent +++ b/general.ent @@ -1,12 +1,12 @@ - + - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 902bb377d1..f27cacc93e 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -42,6 +42,16 @@ --> + + August 26th, 2017 + + + [dj] - Fixed build issue for Dovecot by explictly + linking to libtirpc. + + + + August 25th, 2017 diff --git a/server/mail/dovecot.xml b/server/mail/dovecot.xml index b85e0f1f55..6203ad99a8 100644 --- a/server/mail/dovecot.xml +++ b/server/mail/dovecot.xml @@ -38,7 +38,7 @@ easily extensible with plugins. - &lfs80_checked; + &lfs81_checked; Package Information @@ -120,14 +120,18 @@ useradd -c "Dovecot login user" -d /dev/null -u 43 \ commands: -./configure --prefix=/usr \ +CFLAGS+="-I/usr/include/tirpc" \ +LDFLAGS+="-ltirpc" \ +./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/share/doc/dovecot-&dovecot-version; \ --disable-static && make -./configure --prefix=/usr \ +CFLAGS+="-I/usr/include/tirpc" \ +LDFLAGS+="-ltirpc" \ +./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/share/doc/dovecot-&dovecot-version; \ @@ -155,6 +159,9 @@ make Command Explanations + CFLAGS+=...LDFLAGS+=...: build with libtirpc + instead of the recently removed RPC code provided by GlibC. +