Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] New Install of Gnome Flakes Out--$PATH command
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Wed Nov 21, 2007 6:13 pm    Post subject: [SOLVED] New Install of Gnome Flakes Out--$PATH command Reply with quote

Hi folks: I compiled the gnome meta-installation yesterday. Near the end of the install process, I noticed a lot of lines saying that a given expected file 'must have been moved.' Unfortunately, I didn't save the output and the lines flew by. So, I expected gnome to be a complete mess because apparently the compiler wasn't able to find a lot of files. To my surprise, everything seemed to work fine yesterday. But, today, after saving my session and restarting, gnome is a mess: all windows are stuck to the upper left corner and can't be moved, it's hard to switch between windows, I can't get at my left panel because it's covered over w/ the windows, and my desktop selector has been reduced to a vertical line and is unusable. I do get messages that gdm is not found when I shut down gnome.

I'm really not sure why things would work one day and not the next. But if it was a compile problem in which files weren't found, perhaps my path variable had something to do with it. Below, you can see the full path variable contents from my root. This seems to be rather too short (relative to vague expectations) and I'm completely puzzled at why 'No such file...' appears. Any idea where I can find the file in which path is set?

mycomputer slowtrain # $PATH
bash: /sbin:/bin:/usr/sbin:/usr/bin: No such file or directory

Thanks in advance,
slowtrain


Last edited by slowtrain on Thu Nov 22, 2007 5:08 am; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Nov 21, 2007 6:43 pm    Post subject: Reply with quote

Because you're trying to run a command called $PATH, which expands to your path. If you want to see your PATH, you should be doing
Code:
echo $PATH
Show us the output of that and we'll go from there. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Wed Nov 21, 2007 10:55 pm    Post subject: Reply with quote

Hi John: Silly me. It's been a while since I've had to use linux command lines. Anyhow, the correct path info for me as a user and for root can be found below. A little odd that gcc installs under /usr and root doesn't have access to it.

Quote:

user ~ $ echo "$PATH"
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/usr/qt/3/bin

user ~ $ su root
root # echo "$PATH"
/sbin:/bin:/usr/sbin:/usr/bin


I guess there are a few questions to be asked here. Are these PATH's what would be expected for a new install of Gentoo?

If so, then my gnome problem isn't due to the PATH. I'm under the strong impression that my windows manager isn't functioning, which would explain why I can't move windows and why the workspace icon isn't operating. I think the meta install includes Nautilus. Any thoughts on how I can get that going again?

Also, is it normal in compiling w/ portage to see messages saying that "file must have been moved"? Any thoughts on what might have caused that?

Thanks!

Peter
Back to top
View user's profile Send private message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Wed Nov 21, 2007 11:21 pm    Post subject: Reply with quote

Hi again: I was able to write down a few lines of messages after shutting down gnome (wish I knew how to see them all). What I get is this:

(II) Module already built-in
(EE) AIGLX: Screen 0 is not DRI capable
SESSION_MANAGER=local/ghostwheel:/temp/.ICE-unix/6391
**Message: failed to load session from /home/peterm/.nautilus/saved-session-HXCG2T

** (nautilus:6485): WARNING **: Can not caclulate _NET_NUMBER OF DESKTOPS
** (nautilus:6485): WARNING **: Can not get _NET_WORKAREA
** (gnome-panel:6486): WARNING **: Failed to establish a connection with GDM: No such file or directory

So, yes, nautilus seems to be in trouble. This all started when I tried to save a session.

Slowtrain
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu Nov 22, 2007 12:49 am    Post subject: Reply with quote

Try running `etc-update && env-update && source /etc/profile`, and see if that makes any difference.

For reference, my PATH for root is;
Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/qt/3/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/opt/bin


What do /etc/env.d/00basic and /etc/env.d/05gcc-* contain, and how about /etc/profile.env?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Thu Nov 22, 2007 1:47 am    Post subject: Reply with quote

Hi folks: Well, I can kind-of fix the problem. If I erase all the dot files in my home directory, gnome goes back to normal, albeit I lose my settings. If I then turn on session saving, the problems reoccur again, until I erase all my settings. Saving sessions seems to cause nautilus to stop working.

This is only a kind-of fix because I'd hate to get deep into setting preferences and my work environment and then hit something else that confuses nautilus and forces me to erase all my configuration files.

One thing I'm wondering is whether this is just me or whether others have had this problem? If it's just me, then maybe it is some kind of compile problem.

And hello again Hopeless: It's interesting that your PATH is so much bigger than mine :-) . I am supposed to emerge software as root, right?

Anyhow, I ran the update commands you suggested and they worked like a charm! I now have this for my PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/usr/qt/3/bin

Do you think my partial path on my emerge run of gnome could have caused problems? Didn't install much but some utilities beforehand.

Many thanks! :D
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu Nov 22, 2007 3:38 am    Post subject: Reply with quote

When did you install, and did you follow the handbook carefully?

I haven't looked at the handbook in a while, but I'm fairly sure it tells you to run the same commands more than once.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Thu Nov 22, 2007 5:07 am    Post subject: Reply with quote

Hi Hopeless: well, it's certainly possible I missed something. was up quite late trying to get this installed. Hopefully a recompile w/ the fixed up PATH will help. I'm also thinking of going w/ Gnome lite this time. There seem to be a number of things in Gnome heavy I don't want / need anyway: evolution, the 64bit version of firefox that won't play flash, etc. Will have to figure out how to get rid of all the software I compiled and may have messed up.

Thanks for all the helpful advice!

Peter
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu Nov 22, 2007 6:29 am    Post subject: Reply with quote

You can simply `emerge -C gnome`, then run `emerge -p --depclean`.

That should get rid of everything pulled in by gnome, so if you are happy with it (ie make sure it wont remove any required system stuff) run it without he '-p'.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Thu Nov 22, 2007 3:03 pm    Post subject: Reply with quote

Hi Hopeless: I thought that portage couldn't uninstall meta packages like gnome. I'll have to check this out. Would be a big time saver.

Thanks! Slowtrain
Back to top
View user's profile Send private message
slowtrain
n00b
n00b


Joined: 17 Nov 2007
Posts: 15

PostPosted: Thu Nov 22, 2007 3:44 pm    Post subject: Reply with quote

According to the documentation, in order to get rid of a meta package and all its dependencies, I need to run three additional commands after emerge -C (see below). The explanation for why it's necessary to run --update --deep makes no sense to me. If someone could clue me in....

Quote:

Portage has the functionality to remove orphaned dependencies as well, but since the availability of software is dynamically dependent you first need to update your entire system fully, including the new changes you applied when changing USE flags. After this you can run emerge --depclean to remove the orphaned dependencies. When this is done, you need to rebuild the applications that were dynamically linked to the now-removed software titles but don't require them anymore.

All this is handled with the following three commands:

# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild


Cheers, Slowtrain
Back to top
View user's profile Send private message
herdentier
n00b
n00b


Joined: 28 Nov 2006
Posts: 9

PostPosted: Thu Nov 22, 2007 3:56 pm    Post subject: Reply with quote

today i've switched to gnome 2.20.
after starting the new gnome-desktop ALL fonts went damn small.
desktop, panels, applets, applicaitons, ....
in ktorrent, event the chunk-graphics are smaller.

what the hell is going on with my machine, waaaahahaaa :D


any advice?

here is, what happened between "everythings nice" and "WTF?":
Code:

1195725940:  >>> emerge (1 of 74) dev-libs/libpcre-7.4 to /
1195726084:  >>> unmerge success: dev-libs/libpcre-7.3-r1
1195726084:  >>> emerge (2 of 74) gnome-base/gnome-common-2.20.0 to /
1195726119:  >>> unmerge success: gnome-base/gnome-common-2.12.0
1195726119:  >>> emerge (3 of 74) app-text/xpdf-3.02-r1 to /
1195726145:  >>> unmerge success: app-text/xpdf-3.02
1195726145:  >>> emerge (4 of 74) gnome-base/libbonobo-2.20.1 to /
1195726341:  >>> unmerge success: gnome-base/libbonobo-2.18.0
1195726341:  >>> emerge (5 of 74) gnome-base/libgtop-2.20.0 to /
1195726452:  >>> unmerge success: gnome-base/libgtop-2.14.9
1195726452:  >>> emerge (6 of 74) x11-themes/gnome-backgrounds-2.20.0 to /
1195726478:  >>> unmerge success: x11-themes/gnome-backgrounds-2.18.3
1195726478:  >>> emerge (7 of 74) dev-perl/XML-Simple-2.18 to /
1195726490:  >>> unmerge success: dev-perl/XML-Simple-2.16
1195726490:  >>> emerge (8 of 74) x11-misc/icon-naming-utils-0.8.6 to /
1195726500:  >>> unmerge success: x11-misc/icon-naming-utils-0.8.2-r1
1195726500:  >>> emerge (9 of 74) x11-themes/gnome-icon-theme-2.20.0 to /
1195726663:  >>> unmerge success: x11-themes/gnome-icon-theme-2.18.0
1195726664:  >>> emerge (10 of 74) app-text/iso-codes-1.5 to /
1195726755:  >>> unmerge success: app-text/iso-codes-0.58
1195726755:  >>> emerge (11 of 74) app-text/gnome-doc-utils-0.12.0 to /
1195726812:  >>> unmerge success: app-text/gnome-doc-utils-0.10.3
1195726812:  >>> emerge (12 of 74) x11-libs/fox-1.6.30 to /
1195727830:  >>> unmerge success: x11-libs/fox-1.6.27
1195727830:  >>> emerge (13 of 74) x11-libs/gtk+-2.12.1-r2 to /
1195728752:  >>> unmerge success: x11-libs/gtk+-2.12.1-r1
1195728752:  >>> emerge (14 of 74) gnome-base/gconf-2.20.1 to /
1195728882:  >>> unmerge success: gnome-base/gconf-2.18.0.1
1195728882:  >>> emerge (15 of 74) gnome-base/gnome-keyring-2.20.1 to /
1195728961:  >>> unmerge success: gnome-base/gnome-keyring-0.8.1
1195728961:  >>> emerge (16 of 74) x11-libs/libwnck-2.20.1 to /
1195729060:  >>> unmerge success: x11-libs/libwnck-2.18.3
1195729060:  >>> emerge (17 of 74) gnome-base/gail-1.20.1 to /
1195729206:  >>> unmerge success: gnome-base/gail-1.18.0
1195729206:  >>> emerge (18 of 74) x11-libs/gtksourceview-2.0.1-r1 to /
1195729263:  >>> emerge (19 of 74) x11-themes/gtk-engines-2.12.2 to /
1195729386:  >>> unmerge success: x11-themes/gtk-engines-2.10.2
1195729386:  >>> emerge (20 of 74) gnome-base/libgnomecanvas-2.20.1.1 to /
1195729478:  >>> unmerge success: gnome-base/libgnomecanvas-2.14.0
1195729478:  >>> emerge (21 of 74) x11-wm/metacity-2.20.1 to /
1195729636:  >>> unmerge success: x11-wm/metacity-2.18.5
1195729637:  >>> emerge (22 of 74) dev-libs/elfutils-0.127 to /
1195731735:  >>> emerge (1 of 53) x11-themes/gnome-themes-2.20.1 to /
1195731900:  >>> unmerge success: x11-themes/gnome-themes-2.18.1
1195731900:  >>> emerge (2 of 53) gnome-base/gnome-vfs-2.20.1 to /
1195732392:  >>> unmerge success: gnome-base/gnome-vfs-2.18.1
1195732392:  >>> emerge (3 of 53) gnome-base/libgnome-2.20.1.1 to /
1195732578:  >>> unmerge success: gnome-base/libgnome-2.18.0
1195732578:  >>> emerge (4 of 53) gnome-base/libbonoboui-2.20.0 to /
1195732801:  >>> unmerge success: gnome-base/libbonoboui-2.18.0
1195732801:  >>> emerge (5 of 53) gnome-base/gnome-menus-2.20.1 to /
1195732866:  >>> unmerge success: gnome-base/gnome-menus-2.18.3-r1
1195732867:  >>> emerge (6 of 53) dev-libs/elfutils-0.127 to /
1195733007:  >>> emerge (7 of 53) dev-python/pygtksourceview-2.0.0-r1 to /
1195733031:  >>> emerge (8 of 53) gnome-base/libgnomeui-2.20.1.1 to /
1195733272:  >>> unmerge success: gnome-base/libgnomeui-2.18.1
1195733272:  >>> emerge (9 of 53) gnome-base/librsvg-2.18.2 to /
1195733410:  >>> unmerge success: gnome-base/librsvg-2.16.1-r2
1195733410:  >>> emerge (10 of 53) dev-python/gnome-python-2.20.0 to /
1195733535:  >>> unmerge success: dev-python/gnome-python-2.18.2
1195733535:  >>> emerge (11 of 53) gnome-extra/evolution-data-server-1.12.1 to /
1195734588:  >>> unmerge success: gnome-extra/evolution-data-server-1.10.3.1
1195734588:  >>> emerge (12 of 53) gnome-base/libgnomekbd-2.20.0 to /
1195734714:  >>> unmerge success: gnome-base/libgnomekbd-2.18.2
1195734714:  >>> emerge (13 of 53) gnome-extra/gtkhtml-3.16.1 to /
1195735033:  >>> unmerge success: gnome-extra/gtkhtml-3.14.3-r1
1195735033:  >>> emerge (14 of 53) net-misc/vino-2.20.1 to /
1195735141:  >>> unmerge success: net-misc/vino-2.18.1
1195735141:  >>> emerge (15 of 53) gnome-extra/evolution-webcal-2.12.0 to /
1195735176:  >>> unmerge success: gnome-extra/evolution-webcal-2.10.0
1195735176:  >>> emerge (16 of 53) gnome-extra/gnome-screensaver-2.20.0 to /
1195735300:  >>> unmerge success: gnome-extra/gnome-screensaver-2.18.2-r1
1195735300:  >>> emerge (17 of 53) app-admin/sabayon-2.20.1 to /
1195735357:  >>> unmerge success: app-admin/sabayon-2.18.1
1195735357:  >>> emerge (18 of 53) net-analyzer/gnome-nettool-2.20.0 to /
1195735418:  >>> unmerge success: net-analyzer/gnome-nettool-2.18.0
1195735419:  >>> emerge (19 of 53) net-p2p/mldonkey-2.9.2 to /
1195735646:  >>> unmerge success: net-p2p/mldonkey-2.9.1
1195735646:  >>> emerge (20 of 53) gnome-base/gnome-desktop-2.20.1 to /
1195735800:  >>> unmerge success: gnome-base/gnome-desktop-2.18.3
1195735800:  >>> emerge (21 of 53) gnome-base/eel-2.20.0 to /
1195735979:  >>> unmerge success: gnome-base/eel-2.18.3
1195735979:  >>> emerge (22 of 53) gnome-base/nautilus-2.20.0-r1 to /
1195736406:  >>> unmerge success: gnome-base/nautilus-2.18.3-r1
1195736406:  >>> emerge (23 of 53) gnome-extra/nautilus-cd-burner-2.20.0 to /
1195736515:  >>> unmerge success: gnome-extra/nautilus-cd-burner-2.18.2
1195736515:  >>> emerge (24 of 53) gnome-base/gnome-panel-2.20.1 to /
1195736972:  >>> unmerge success: gnome-base/gnome-panel-2.18.3
1195736972:  >>> emerge (25 of 53) gnome-extra/gnome-power-manager-2.20.0-r1 to /
1195737161:  >>> unmerge success: gnome-extra/gnome-power-manager-2.18.3-r1
1195737162:  >>> emerge (26 of 53) gnome-base/control-center-2.20.1 to /
1195738672:  >>> emerge (1 of 28) gnome-base/control-center-2.20.1 to /
1195739032:  >>> unmerge success: gnome-base/control-center-2.18.1
1195739032:  >>> emerge (2 of 28) gnome-base/gnome-session-2.20.1 to /
1195739128:  >>> unmerge success: gnome-base/gnome-session-2.18.3
1195739129:  >>> emerge (3 of 28) gnome-extra/gnome-media-2.20.1 to /
1195739456:  >>> unmerge success: gnome-extra/gnome-media-2.18.0-r1
1195739456:  >>> emerge (4 of 28) gnome-base/gdm-2.20.1 to /
1195739654:  >>> unmerge success: gnome-base/gdm-2.18.4-r1
1195739654:  >>> emerge (5 of 28) dev-python/gnome-python-desktop-2.20.0 to /
1195739746:  >>> unmerge success: dev-python/gnome-python-desktop-2.18.0
1195739746:  >>> emerge (6 of 28) media-video/totem-2.20.1 to /
1195739979:  >>> unmerge success: media-video/totem-2.18.3
1195739979:  >>> emerge (7 of 28) gnome-extra/gnome-utils-2.20.0.1 to /
1195740126:  >>> unmerge success: gnome-extra/gnome-utils-2.18.1
1195740126:  >>> emerge (8 of 28) gnome-extra/deskbar-applet-2.20.1 to /
1195740235:  >>> unmerge success: gnome-extra/deskbar-applet-2.18.1
1195740235:  >>> emerge (9 of 28) mail-client/evolution-2.12.1 to /
1195741902:  >>> unmerge success: mail-client/evolution-2.10.3
1195741903:  >>> emerge (10 of 28) gnome-extra/gnome-system-monitor-2.20.1 to /
1195742112:  >>> unmerge success: gnome-extra/gnome-system-monitor-2.18.2
1195742112:  >>> emerge (11 of 28) gnome-base/gnome-applets-2.20.0 to /
1195742502:  >>> unmerge success: gnome-base/gnome-applets-2.18.0-r3
1195742502:  >>> emerge (12 of 28) gnome-extra/gconf-editor-2.20.0 to /
1195742574:  >>> unmerge success: gnome-extra/gconf-editor-2.18.2
1195742575:  >>> emerge (13 of 28) gnome-extra/fast-user-switch-applet-2.20.0 to /
1195742625:  >>> unmerge success: gnome-extra/fast-user-switch-applet-2.18.0
1195742625:  >>> emerge (14 of 28) gnome-extra/zenity-2.20.0 to /
1195742655:  >>> unmerge success: gnome-extra/zenity-2.18.2
1195742655:  >>> emerge (15 of 28) gnome-extra/gnome2-user-docs-2.20.1 to /
1195742721:  >>> unmerge success: gnome-extra/gnome2-user-docs-2.18.2
1195742722:  >>> emerge (16 of 28) gnome-extra/bug-buddy-2.20.1 to /
1195742887:  >>> unmerge success: gnome-extra/bug-buddy-2.18.1
1195742887:  >>> emerge (17 of 28) www-client/epiphany-2.20.1 to /
1195743163:  >>> unmerge success: www-client/epiphany-2.18.3
1195743164:  >>> emerge (18 of 28) media-sound/sound-juicer-2.20.1 to /
1195743250:  >>> unmerge success: media-sound/sound-juicer-2.16.4
1195743251:  >>> emerge (19 of 28) app-editors/gedit-2.20.3 to /
1195743487:  >>> unmerge success: app-editors/gedit-2.18.2-r1
1195743487:  >>> emerge (20 of 28) gnome-extra/gnome-games-2.20.1 to /
1195743915:  >>> unmerge success: gnome-extra/gnome-games-2.18.2.1
1195743915:  >>> emerge (21 of 28) media-gfx/eog-2.20.2 to /
1195744067:  >>> unmerge success: media-gfx/eog-2.18.2
1195744067:  >>> emerge (22 of 28) gnome-extra/gnome-keyring-manager-2.20.0 to /
1195744184:  >>> unmerge success: gnome-extra/gnome-keyring-manager-2.18.0
1195744184:  >>> emerge (23 of 28) app-arch/file-roller-2.20.1 to /
1195744327:  >>> unmerge success: app-arch/file-roller-2.18.4
1195744327:  >>> emerge (24 of 28) gnome-extra/gcalctool-5.20.2 to /
1195744460:  >>> unmerge success: gnome-extra/gcalctool-5.9.14-r1
1195744460:  >>> emerge (25 of 28) app-text/scrollkeeper-9999 to /
1195744508:  >>> unmerge success: app-text/scrollkeeper-0.3.14-r2
1195744508:  >>> emerge (26 of 28) app-text/rarian-0.6.0-r1 to /
1195744637:  >>> emerge (27 of 28) gnome-extra/yelp-2.20.0 to /
1195744794:  >>> unmerge success: gnome-extra/yelp-2.18.1
1195744795:  >>> emerge (28 of 28) gnome-base/gnome-2.20.1 to /
1195744802:  >>> unmerge success: gnome-base/gnome-2.18.3
1195749390:  >>> emerge (1 of 2) x11-misc/notification-daemon-0.3.7 to /
1195749457:  >>> emerge (2 of 2) dev-python/gnome-python-desktop-2.20.0 to /
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum