[OT] Gentoo emerge --configure

Raf rafiq at dreamthought.com
Mon Jan 15 13:44:01 GMT 2007


On Mon, 15 Jan 2007, Dirk Koopman wrote:

> Chisel Wright wrote:
> > On Mon, Jan 15, 2007 at 10:18:00AM +0000, Raf wrote:
> >> Any ideas or suggestions would be welcome?
> >
> > I thought you set it with the CFLAGS in /etc/make.conf - it's been a
> > while since I tweaked mine though:
> >
> >   http://gentoo-wiki.com/CFLAGS
> Confused.
>
> Emerge works with whatever you have in your make.conf. In fact if you
> change your make.conf arch from say i386 to i686 and run emerge then,
> the chances are, it will attempt to recompile large portions of your
> system if you do (for example) emerge -u world. Adding a --pretend is
> always good plan, in any case, after altering make.conf.
I have march=pentium-m in my make.conf - will this get correctly
interpreted into i686 for the perl configure script?

> It is unlikely, in my experience, that you will have an installed DBI
> emerged as arch i686 and then get an emerge (of anything) using arch
> i386 - unless you have changed your make.conf.
The issue we had was that that DBI complained that it had missing
dependencies in the perl arch i686 tree6.  Looking at perl -V (emerged
from source) indicated that it had been built with arch=i386 and hence
modules lived under the i386 tree.

Resolved though.
Interestingly, re-emerging perl seems to have re-installed Perl correctly.

I'm still curious as to whether I can pass additional configure options
through emerge - I can imagine wanting to do so under other situations.
The one reference I've seen, seems to suggest editing the ebuild - which
seems like over kill.


Thanks for clarifying though.
Cheers,

Raf


More information about the london.pm mailing list