On Wed, May 17, 2006 at 02:29:26PM -0700, Richard Fish wrote:
> On 5/17/06, Leopold Gouverneur <[EMAIL PROTECTED]> wrote:
> >[ebuild  N    ] sys-fs/lvm2-2.02.05  USE="nolvm1 nolvmstatic nosnapshots
> >readline -clvm -cman -gulm -nomirrors"
> >
> >Anyway i think that without a previous declaration of dm_pool the
> >compilation should abort.But since i seem to be the only one
> >encountering that error the problem is surely with me but where???
> 
> Well it is definitely a bug in the code...the declaration *should* be
> dm_pool.  But for some reason I don't get a fatal error from this.
> Even using the same USE flags, I don't seem to have an issue with
> this...
> 
> Maybe it is CFLAGS or gcc version?  I am using:
> 
> carcharias rjf # emerge --info
> Portage 2.1_rc1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r3,
> 2.6.16-suspend2-r5 i686)
> =================================================================
...
emerge --info
Portage 2.1_rc1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r3,
2.6.17-rc4-mm1 i686)                          ^^^^^^^^^ 
=================================================================

when i compile lvm2 myself it succeed as root but fails as ordinary
user, because as user i use gcc-4.0.2 that i dowloaded and installed
under /usr/local.
I thought that was safe because emerge run as root and /usr/local/bin is
not in root PATH.But although emerge --info says  gcc-3.4.6, it seems to
use 4.0.2.Now why this fails is perhaps related to the presence in the
4.0.2 tree of a libdevmapper.h file quite different from
/usr/include/libdevmapper.h.
Anyway, the lesson for me is: Be carefull before installing things
outside emerge control!

Thanks for your help.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to