Fix build issue for Dovecot.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19092 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2017-08-26 03:10:51 +00:00
parent 00f9a2a130
commit 6c1d07769a
3 changed files with 22 additions and 5 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "24"> <!-- Always 2 digits -->
<!ENTITY day "26"> <!-- Always 2 digits -->
<!ENTITY month "08"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "August 24th, &year;">
<!ENTITY releasedate "August 26th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->

View File

@ -42,6 +42,16 @@
</listitem>
-->
<listitem>
<para>August 26th, 2017</para>
<itemizedlist>
<listitem>
<para>[dj] - Fixed build issue for Dovecot by explictly
linking to libtirpc.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>August 25th, 2017</para>
<itemizedlist>

View File

@ -38,7 +38,7 @@
easily extensible with plugins.
</para>
&lfs80_checked;
&lfs81_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -120,14 +120,18 @@ useradd -c "Dovecot login user" -d /dev/null -u 43 \
commands:
</para>
<screen revision="sysv"><userinput>./configure --prefix=/usr \
<screen revision="sysv"><userinput>CFLAGS+="-I/usr/include/tirpc" \
LDFLAGS+="-ltirpc" \
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/share/doc/dovecot-&dovecot-version; \
--disable-static &amp;&amp;
make</userinput></screen>
<screen revision="systemd"><userinput>./configure --prefix=/usr \
<screen revision="systemd"><userinput>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</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>CFLAGS+=...LDFLAGS+=...</command>: build with libtirpc
instead of the recently removed RPC code provided by GlibC.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>