Summary: | econf doesn't take --prefix as ./configure does | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arne Babenhauserheide <arne_bab> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | ebuild which shows the problem. |
Description
Arne Babenhauserheide
2007-02-20 15:53:08 UTC
Created attachment 110732 [details]
ebuild which shows the problem.
Are you sure that this is caused by econf and not kde-config --prefix returning the wrong result? Also please post the output of `emerge -v --info` (as an attachment) as if this is a problem in econf it's likely conditional on some other settings. econf is working just fine ... probably a bug in your ebuild that you're expecting it to do something other than what it actually is you should probably go seek help on the forums or one of the gentoo irc channels forums.gentoo.org or #gentoo-dev-help; this is not a support forum. (In reply to comment #3) > econf is working just fine ... probably a bug in your ebuild that you're > expecting it to do something other than what it actually is The reason why I expect it to work that way is the documentation which sates: "econf Issues ./configure with the necessary path-changes (prefix, host, mandir, infodir, datadir, sysconfdir, localstatedir). You can optionally pass extra arguments to ./configure by specifying them when you call econf, and users can set the environment variable EXTRA_ECONF if they need to. Options passed to configure take precedence in the reverse order that they were given. In other words, the first argument passed will always be overridden by the last." - http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 The output of the ebuild when using econf --prefix=$(kde-config --prefix) looks like this: ./configure --prefix=/usr ... <stuff> ... --prefix=/usr/kde/3.5 but different from the handbook, the prefix "/usr" gets used, where the handbook says that the last statement gets used, which would be "/usr/kde/3.5" ('the first argument passed will always be overridden by the last'). So there's either a bug in the handbook or in econf or in my english skills... |