gentoo.LinuxHowtos.orgedit this article

Adding extra options to the configure call during emerge

You have a package that is listed in the portage tree but during the configure call somethings complains about missing header/libraries.
You can see, that the needed files are installed, but in a different path.
Or if you just want to enable/disable something, that the ebuild doesn't do for you.

You should file a bug report to have it fixed/improved.
Sadly, you have to wait a few hours/days till it becomes available in the tree.

Until then you can pass the additional configure options via the environment variable EXTRA_ECONF.

Example:

EXTRA_ECONF="--with-something" emerge foo/bar
will result in a configure call like this:
./configure  [normal configure options generated by the ebuild] --with-something

Happy compiling


rate this article:
current rating: average rating: 1.1 (80 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back