Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372851 - net-mail/cyrus-imapd-2.4.9 fails to build with berkdb useflag
Summary: net-mail/cyrus-imapd-2.4.9 fails to build with berkdb useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 15:11 UTC by Torsten Kaiser
Modified: 2011-06-24 18:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kaiser 2011-06-24 15:11:45 UTC
Trying to upgrade from 2.4.8 to 2.4.9 fails with the following message:

checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
configure: error: MySQL was not found.  You may need to supply the
    --with-mysql-libdir or --with-mysql-incdir configure options.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-mail/cyrus-imapd-2.4.9/work/cyrus-imapd-2.4.9/config.log
 * ERROR: net-mail/cyrus-imapd-2.4.9 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 3165:  Called econf '--enable-murder' '--enable-netscapehack' '--enable-idled' '--with-service-path=/usr/lib64/cyrus' '--with-cyrus-user=cyrus' '--with-cyrus-group=mail' '--with-com_err=yes' '--with-sasl' '--without-perl' '--without-krb' '--without-krbdes' '--with-zlib' '--disable-afs' '--disable-krb5afspts' '--with-bdb' '--enable-nntp' '--disable-replication' '--disable-gssapi' '--enable-sieve' '--with-mysql' '--without-pgsql' '--with-sqlite' '--with-openssl' '--without-snmp' '--with-libwrap' '--with-mysql-incdir=/usr/include/mysql--with-bdb-incdir=/usr/include/db4.8'
 *     ebuild.sh, line  557:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of 'emerge --info =net-mail/cyrus-imapd-2.4.9',
 * the complete build log and the output of 'emerge -pqv =net-mail/cyrus-imapd-2.4.9'.
 * The complete build log is located at '/var/tmp/portage/net-mail/cyrus-imapd-2.4.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/cyrus-imapd-2.4.9/temp/environment'.
 * S: '/var/tmp/portage/net-mail/cyrus-imapd-2.4.9/work/cyrus-imapd-2.4.9'

The cause seems to be this botched part of configure command line:
'--with-mysql-incdir=/usr/include/mysql--with-bdb-incdir=/usr/include/db4.8'

It seems there is a space missing in line 88 of the ebuild to separate these two incdir parameters.