Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384817 - net-dns/pdns-3.0 fails to configure due to wrong EXTRA_ECONF variable assignment
Summary: net-dns/pdns-3.0 fails to configure due to wrong EXTRA_ECONF variable assignment
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-28 17:14 UTC by Nilesh Govindrajan
Modified: 2012-11-04 22:51 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,12.49 KB, text/plain)
2011-09-29 01:26 UTC, Nilesh Govindrajan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nilesh Govindrajan 2011-09-28 17:14:10 UTC
The ebuild net-dns/pdns/pdns-3.0.ebuild has an error on the econf part.
It needs --with-mysql-include=/usr/include which is absent causing compile failure.

Reproducible: Always

Steps to Reproduce:
1. emerge pdns
2. Compilation fails
3. Run EXTRA_ECONF="--with-mysql-include=/usr/include" emerge pdns
4. Package installed.
Comment 1 Agostino Sarubbo gentoo-dev 2011-09-28 18:27:58 UTC
Please add build.log
Comment 2 Nilesh Govindrajan 2011-09-29 01:26:49 UTC
Created attachment 288159 [details]
Build log

There you go, I've attached the build log. As you can see, --with-mysql-include isn't passed to ./configure and the build fails.

With EXTRA_ECONF="--with-mysql-include=/usr/include" it successfully compiles, because I installed the package on my server by setting EXTRA_ECONF before the command runs.
Comment 3 Nilesh Govindrajan 2011-09-29 01:55:01 UTC
There's a slight error, it's EXTRA_ECONF="--with-mysql-includes=/usr/include" instead of `include'. Just stumbled around it while updating on another Gentoo amd64.
Comment 4 Sven Wegener gentoo-dev 2012-11-04 22:51:57 UTC
Compile fine here, without the option.

checking for ldap_set_option in -lldap_r... yes
checking for ldap_initialize in -lldap_r... yes
checking for ldap_sasl_bind in -lldap_r... yes
checking for MySQL library directory... /usr/lib64/mysql
checking for MySQL include directory... /usr/include/mysql
checking for PgSQL library directory... /usr/lib64
checking for PgSQL include directory... /usr/include