* [gentoo-user] lvm2 emerge problem
@ 2006-05-17 13:36 Leopold Gouverneur
2006-05-17 18:23 ` Richard Fish
0 siblings, 1 reply; 11+ messages in thread
From: Leopold Gouverneur @ 2006-05-17 13:36 UTC (permalink / raw
To: gentoo-user
emerge lvm2 abort during compilation with this message:
...
../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside
parameter list
...
wordir/.../lvm-string.h i see:
...
struct pool;
^^^^
....
char *build_dm_name(struct dm_pool *mem, ....
^^^^^^^
.....
It is not surprising then that the compiler complains about
dm_pool being declared inside parameter list!
Now what surprised me, was that if i untar LVM2.2.02.05.tgz
and look in lvm-string.h, i see:
...
struct dm_pool;
^^^^^^^
...
char *build_dm_name(struct dm_pool *mem, ....
...
which makes the compiler happy.
How and why was this file changed?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] lvm2 emerge problem
2006-05-17 13:36 [gentoo-user] lvm2 emerge problem Leopold Gouverneur
@ 2006-05-17 18:23 ` Richard Fish
2006-05-17 19:35 ` Leopold Gouverneur
0 siblings, 1 reply; 11+ messages in thread
From: Richard Fish @ 2006-05-17 18:23 UTC (permalink / raw
To: gentoo-user
On 5/17/06, Leopold Gouverneur <lgouv@tele2.be> wrote:
> emerge lvm2 abort during compilation with this message:
> ...
> ../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside
> parameter list
> ...
>
> wordir/.../lvm-string.h i see:
> ...
> struct pool;
> ^^^^
> ....
> char *build_dm_name(struct dm_pool *mem, ....
> ^^^^^^^
> .....
>
> It is not surprising then that the compiler complains about
> dm_pool being declared inside parameter list!
> Now what surprised me, was that if i untar LVM2.2.02.05.tgz
> and look in lvm-string.h, i see:
>
> ...
> struct dm_pool;
> ^^^^^^^
> ...
> char *build_dm_name(struct dm_pool *mem, ....
> ...
> which makes the compiler happy.
>
> How and why was this file changed?
I don't see any change in this file:
carcharias ~ # ebuild /usr/portage/sys-fs/lvm2/lvm2-2.02.05.ebuild unpack
...
>>> Unpacking source...
>>> Unpacking LVM2.2.02.05.tgz to /var/tmp/portage/lvm2-2.02.05/work
>>> Source unpacked.
carcharias ~ # grep struct /var/.../work/LVM2.2.02.05/lib/misc/lvm-string.h
struct pool;
char *build_dm_name(struct dm_pool *mem, const char *vg,
int split_dm_name(struct dm_pool *mem, const char *dmname,
carcharias ~ #
carcharias src # tar -xzf /usr/portage/distfiles/LVM2.2.02.05.tgz
carcharias src # grep struct LVM2.2.02.05/lib/misc/lvm-string.h
struct pool;
char *build_dm_name(struct dm_pool *mem, const char *vg,
int split_dm_name(struct dm_pool *mem, const char *dmname,
What use flags are you using? Because somehow I managed to merge
2.02.05 without hitting this problem.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] lvm2 emerge problem
2006-05-17 18:23 ` Richard Fish
@ 2006-05-17 19:35 ` Leopold Gouverneur
2006-05-17 21:29 ` Richard Fish
0 siblings, 1 reply; 11+ messages in thread
From: Leopold Gouverneur @ 2006-05-17 19:35 UTC (permalink / raw
To: gentoo-user
On Wed, May 17, 2006 at 11:23:00AM -0700, Richard Fish wrote:
> On 5/17/06, Leopold Gouverneur <lgouv@tele2.be> wrote:
> >emerge lvm2 abort during compilation with this message:
> >...
> >../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside
> >parameter list
> >...
> >
> >wordir/.../lvm-string.h i see:
> >...
> >struct pool;
> > ^^^^
> >....
> >char *build_dm_name(struct dm_pool *mem, ....
> > ^^^^^^^
> >.....
> >
> >It is not surprising then that the compiler complains about
> >dm_pool being declared inside parameter list!
> >Now what surprised me, was that if i untar LVM2.2.02.05.tgz
> >and look in lvm-string.h, i see:
> >
> >...
> >struct dm_pool;
> > ^^^^^^^
> >...
> >char *build_dm_name(struct dm_pool *mem, ....
> >...
> >which makes the compiler happy.
> >
> >How and why was this file changed?
>
> I don't see any change in this file:
>
> carcharias ~ # ebuild /usr/portage/sys-fs/lvm2/lvm2-2.02.05.ebuild unpack
> ...
> >>>Unpacking source...
> >>>Unpacking LVM2.2.02.05.tgz to /var/tmp/portage/lvm2-2.02.05/work
> >>>Source unpacked.
> carcharias ~ # grep struct /var/.../work/LVM2.2.02.05/lib/misc/lvm-string.h
> struct pool;
> char *build_dm_name(struct dm_pool *mem, const char *vg,
> int split_dm_name(struct dm_pool *mem, const char *dmname,
> carcharias ~ #
>
> carcharias src # tar -xzf /usr/portage/distfiles/LVM2.2.02.05.tgz
> carcharias src # grep struct LVM2.2.02.05/lib/misc/lvm-string.h
> struct pool;
> char *build_dm_name(struct dm_pool *mem, const char *vg,
> int split_dm_name(struct dm_pool *mem, const char *dmname,
>
> What use flags are you using? Because somehow I managed to merge
> 2.02.05 without hitting this problem.
>
> -Richard
[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???
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] lvm2 emerge problem
2006-05-17 19:35 ` Leopold Gouverneur
@ 2006-05-17 21:29 ` Richard Fish
2006-05-18 7:17 ` [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7 JC Denton
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Richard Fish @ 2006-05-17 21:29 UTC (permalink / raw
To: gentoo-user
On 5/17/06, Leopold Gouverneur <lgouv@tele2.be> 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)
=================================================================
System uname: 2.6.16-suspend2-r5 i686 Genuine Intel(R) CPU
T2500 @ 2.00GHz
Gentoo Base System version 1.12.0_pre19
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d
/etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/packages/sources"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer
sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa arts bzip2 crypt cups encode flac gtk hal jpeg kde
kdeenablefinal mmx mp3 pam pic png python qt readline samba sse ssl
tiff truetype unicode vorbis zlib elibc_glibc input_devices_evdev
input_devices_keyboard input_devices_mouse input_devices_synaptics
kernel_linux userland_GNU video_cards_fbdev video_cards_nv
video_cards_nvidia video_cards_vesa"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7
2006-05-17 21:29 ` Richard Fish
@ 2006-05-18 7:17 ` JC Denton
2006-05-18 8:05 ` Boyd Stephen Smith Jr.
2006-05-18 8:48 ` [gentoo-user] lvm2 emerge problem[SOLVED] Leopold Gouverneur
2006-05-19 9:04 ` [gentoo-user] lvm2 emerge problem[solved?] Leopold Gouverneur
2 siblings, 1 reply; 11+ messages in thread
From: JC Denton @ 2006-05-18 7:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2652 bytes --]
Hello!
I am building a kernel-2.6.16-gentoo-r7 but I have a problem. First I tried to use greempt for the cpu. Because this does not work I build the kernel without again. But I still get :
drm: version magic '2.6.16-gentoo-r7 PENTIUMM gcc-3.4' should be '2.6.16-gentoo-r7 preempt PENTIUMM gcc-3.4'
[drm] Initialized drm 1.0.1 20051102
radeon: version magic '2.6.16-gentoo-r7 PENTIUMM gcc-3.4' should be '2.6.16-gentoo-r7 preempt PENTIUMM gcc-3.4'
I am now using the preempt latency option that I was using under 2.6.14 without problems.
dmesg gives:
radeon: disagrees about version of symbol drm_open
radeon: Unknown symbol drm_open
radeon: disagrees about version of symbol drm_fasync
radeon: Unknown symbol drm_fasync
radeon: disagrees about version of symbol drm_poll
radeon: Unknown symbol drm_poll
radeon: disagrees about version of symbol drm_get_resource_len
radeon: Unknown symbol drm_get_resource_len
radeon: disagrees about version of symbol drm_core_get_reg_ofs
radeon: Unknown symbol drm_core_get_reg_ofs
radeon: disagrees about version of symbol drm_irq_uninstall
radeon: Unknown symbol drm_irq_uninstall
radeon: disagrees about version of symbol drm_get_dev
radeon: Unknown symbol drm_get_dev
radeon: disagrees about version of symbol drm_ioctl
radeon: Unknown symbol drm_ioctl
radeon: disagrees about version of symbol drm_exit
radeon: Unknown symbol drm_exit
radeon: disagrees about version of symbol drm_core_get_map_ofs
radeon: Unknown symbol drm_core_get_map_ofs
radeon: disagrees about version of symbol drm_init
radeon: Unknown symbol drm_init
radeon: disagrees about version of symbol drm_addmap
radeon: Unknown symbol drm_addmap
radeon: disagrees about version of symbol drm_get_resource_start
radeon: Unknown symbol drm_get_resource_start
radeon: disagrees about version of symbol drm_vbl_send_signals
radeon: Unknown symbol drm_vbl_send_signals
radeon: Unknown symbol drm_cleanup_pci
radeon: disagrees about version of symbol drm_ati_pcigart_init
radeon: Unknown symbol drm_ati_pcigart_init
radeon: disagrees about version of symbol drm_mmap
radeon: Unknown symbol drm_mmap
radeon: disagrees about version of symbol drm_ati_pcigart_cleanup
radeon: Unknown symbol drm_ati_pcigart_cleanup
radeon: disagrees about version of symbol drm_core_reclaim_buffers
radeon: Unknown symbol drm_core_reclaim_buffers
radeon: disagrees about version of symbol drm_release
radeon: Unknown symbol drm_release
Any ideas about this?
JC
---------------------------------
Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!
[-- Attachment #2: Type: text/html, Size: 2854 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7
2006-05-18 7:17 ` [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7 JC Denton
@ 2006-05-18 8:05 ` Boyd Stephen Smith Jr.
0 siblings, 0 replies; 11+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-05-18 8:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
On Thursday 18 May 2006 02:17, JC Denton <jcdentonmail@yahoo.de> wrote
about '[gentoo-user] Probems with radeon and drm after using
kernel-2.6.16-gentoo-r7':
> Hello!
>
> I am building a kernel-2.6.16-gentoo-r7 but I have a problem. First I
> tried to use greempt for the cpu. Because this does not work I build the
> kernel without again. But I still get :
>
> drm: version magic '2.6.16-gentoo-r7 PENTIUMM gcc-3.4' should be
> '2.6.16-gentoo-r7 preempt PENTIUMM gcc-3.4' [drm] Initialized drm 1.0.1
> 20051102
> radeon: version magic '2.6.16-gentoo-r7 PENTIUMM gcc-3.4' should be
> '2.6.16-gentoo-r7 preempt PENTIUMM gcc-3.4'
>
> Any ideas about this?
Your out-of-tree modules are still compiled against your old config. To
fix this:
1) Correct your /usr/src/linux symlink, if needed, so that it points to the
source tree of your running kernel.
2) Make sure the /usr/src/linux/.config file matches your running config.
If you have no qualms about trampling the existing file this is easy
enough to do with 'zcat /proc/config.gz > /usr/src/linux/.config'.
3) emerge module-rebuild
4) module-rebuild -X rebuild
That should make sure the modules installed are appropriate for your
running kernel.
It could also be that your in-tree modules got compiled, but never
installed over the old versions. If that's the case, follow steps 1 and 2
above, but then:
3) cd /usr/src/linux; make modules_install
That will compile the modules against the current config (if necessary) and
install them under /lib/modules/$(uname -r) where modprobe expects them to
be.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] lvm2 emerge problem[SOLVED]
2006-05-17 21:29 ` Richard Fish
2006-05-18 7:17 ` [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7 JC Denton
@ 2006-05-18 8:48 ` Leopold Gouverneur
2006-05-18 8:55 ` [gentoo-user] what to do to remove all kde dependencies and kdelibs JC Denton
2006-05-19 9:04 ` [gentoo-user] lvm2 emerge problem[solved?] Leopold Gouverneur
2 siblings, 1 reply; 11+ messages in thread
From: Leopold Gouverneur @ 2006-05-18 8:48 UTC (permalink / raw
To: gentoo-user
On Wed, May 17, 2006 at 02:29:26PM -0700, Richard Fish wrote:
> On 5/17/06, Leopold Gouverneur <lgouv@tele2.be> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] what to do to remove all kde dependencies and kdelibs
2006-05-18 8:48 ` [gentoo-user] lvm2 emerge problem[SOLVED] Leopold Gouverneur
@ 2006-05-18 8:55 ` JC Denton
2006-05-18 9:13 ` Raymond Lewis Rebbeck
2006-05-18 9:14 ` Neil Bothwick
0 siblings, 2 replies; 11+ messages in thread
From: JC Denton @ 2006-05-18 8:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 510 bytes --]
Hi!
What can I do to remove all kde dependencies from my system? In have "-kde" in my /etc/make.conf and already did a emerge --depclean and revdep-rebuild after I did an emerge --update --deep --newuse world. But there is still a lot of kde stuff on the system. how can I check if an application still uses this stuff? How to remove the stuff savely?
Thanks!
---------------------------------
Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!
[-- Attachment #2: Type: text/html, Size: 549 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] what to do to remove all kde dependencies and kdelibs
2006-05-18 8:55 ` [gentoo-user] what to do to remove all kde dependencies and kdelibs JC Denton
@ 2006-05-18 9:13 ` Raymond Lewis Rebbeck
2006-05-18 9:14 ` Neil Bothwick
1 sibling, 0 replies; 11+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-05-18 9:13 UTC (permalink / raw
To: gentoo-user
On Thursday, May 18 2006 18:25, JC Denton wrote:
> Hi!
>
> What can I do to remove all kde dependencies from my system? In have
> "-kde" in my /etc/make.conf and already did a emerge --depclean and
> revdep-rebuild after I did an emerge --update --deep --newuse world. But
> there is still a lot of kde stuff on the system. how can I check if an
> application still uses this stuff? How to remove the stuff savely?
>
> Thanks!
Many applications require kdelibs, the kde use flag merely determines whether
certain packages will have optional kde support.
Also, start a new message when posting to the mailing list, rather than
replying to an existing message.
--
Raymond Lewis Rebbeck
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] what to do to remove all kde dependencies and kdelibs
2006-05-18 8:55 ` [gentoo-user] what to do to remove all kde dependencies and kdelibs JC Denton
2006-05-18 9:13 ` Raymond Lewis Rebbeck
@ 2006-05-18 9:14 ` Neil Bothwick
1 sibling, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2006-05-18 9:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
On Thu, 18 May 2006 10:55:26 +0200 (CEST), JC Denton wrote:
> What can I do to remove all kde dependencies from my system? In have
> "-kde" in my /etc/make.conf and already did a emerge --depclean and
> revdep-rebuild after I did an emerge --update --deep --newuse world.
Put -qt and -arts in USE too.
> But there is still a lot of kde stuff on the system. how can I check if
> an application still uses this stuff? How to remove the stuff savely?
'equery depends kdelibs' will show you.
Also, do 'grep kde /var/lib/portage/world' to see whether you have
inadvertently added a KDE package to your world.
--
Neil Bothwick
Long computations which yield zero are probably all for naught.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] lvm2 emerge problem[solved?]
2006-05-17 21:29 ` Richard Fish
2006-05-18 7:17 ` [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7 JC Denton
2006-05-18 8:48 ` [gentoo-user] lvm2 emerge problem[SOLVED] Leopold Gouverneur
@ 2006-05-19 9:04 ` Leopold Gouverneur
2 siblings, 0 replies; 11+ messages in thread
From: Leopold Gouverneur @ 2006-05-19 9:04 UTC (permalink / raw
To: gentoo-user
On Wed, May 17, 2006 at 02:29:26PM -0700, Richard Fish wrote:
> On 5/17/06, Leopold Gouverneur <lgouv@tele2.be> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-05-19 9:16 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 13:36 [gentoo-user] lvm2 emerge problem Leopold Gouverneur
2006-05-17 18:23 ` Richard Fish
2006-05-17 19:35 ` Leopold Gouverneur
2006-05-17 21:29 ` Richard Fish
2006-05-18 7:17 ` [gentoo-user] Probems with radeon and drm after using kernel-2.6.16-gentoo-r7 JC Denton
2006-05-18 8:05 ` Boyd Stephen Smith Jr.
2006-05-18 8:48 ` [gentoo-user] lvm2 emerge problem[SOLVED] Leopold Gouverneur
2006-05-18 8:55 ` [gentoo-user] what to do to remove all kde dependencies and kdelibs JC Denton
2006-05-18 9:13 ` Raymond Lewis Rebbeck
2006-05-18 9:14 ` Neil Bothwick
2006-05-19 9:04 ` [gentoo-user] lvm2 emerge problem[solved?] Leopold Gouverneur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox