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)
=
-Richard
~# 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)
There is my problem.I installed gcc-4-02 whithout emerge thinking that
under /usr/local it was in a safe place (not in root PATH).
Now when i untar and compile LVM2.2.02.05.tgz as root it uses gcc-3.4.6
and everything is OK but as user it uses gcc-4.0.2 and it fails!
Although emerge --info says gcc-3.4.6 , it fails because it uses
gcc-4.0.2 ( the error messages are exactly the same ).
Now, why it says one thing and does another and why 4.0.2 fails where
3.4.6 succeeds is another question.I noticed the presence of a file
libdevmapper.h under /usr/local/lib/gcc that was quite different from
/usr/include/libdevmapper.h. I replacing it with a symlink and the
emerge succeeded. But is that safe? Anyway,for me the lesson is clear:be
carefull before installing something outside portage control!
Thankx!
--
gentoo-user@gentoo.org mailing list