Stuffed up GNOME I think...
* Ubuntu 10.04 LTS *
So I got board and wanted to compile Audacious. On ./configure I was advised I needed to obtain the library 'GLib 2.26', then when I tried to compile that I was advised I needed to get 'zlib'... so, I ./configure, make, make install zlib (awesome my first ever compile and install)... then I do the same with GLib 2.26... that installs... so, I continue on to ./configure Audacious... oow, now it wants another library... so just out of curiosity I launch synaptic package manager so see if they are listed there... synaptic fails to launch... WTF? Oh well, I'll restart that usually fixes issues. So... I restart, the default Ubuntu background loads so I am guessing this is X server, but then the system hangs (could not even control+alt+F1 to Linux command line). OK, so its hung... so I restart... Cool, the default Ubuntu background loads again, this time the mouse appears and the computer is running (I can move the mouse and the screen fades to black after idle and I can reach Linux command line if I want via control+alt+F1) but nothing loads - the GNOME login fails to display. I am guessing one of those libraries I installed has broken something. Is there a log that I look at to see what was last installed and what files were modified? If I could find this, I guess I can replace those files with the original files off the Ubuntu CD? Then once I can normally login I'll just use update manager to get the latest version again.. would this do? I suspect it is Glib 2.26 that has stuffed it up since it looks like a GNOME related library: http://ftp.gnome.org/pub/gnome/sourc...-2.26.0.tar.gz My further research makes me suspect I have broken GTK+. http://www.gtk.org/download-linux.html Does anyone have a suggestion? |
I just followed the same steps now from the live session of Ubuntu 10.04 LTS (the live session I am using now) and the exact same issue has occured. Could someone reproduce it also maybe in a virtual machine or something and trying and find out what the hells going on. I have little clue, though I do suspect a library that something is depending on (I suspect the GTK+ version that shipped with Ubuntu 10.04 LTS uses) brakes when using this version of Glib.
http://zlib.net/zlib-1.2.5.tar.bz2 Extract the above and from the directory, run the following (as root): ./configure make make install http://ftp.gnome.org/pub/gnome/sourc...-2.26.0.tar.gz Extract the above and from the directory, run the following (as root): ./configure make make install Now it should have stuffed GNOME. Try launching Synaptic Package Manager and you will see what I mean. Now reboot and watch GNOME not display. FFS. What is going on?! As much as I hate Windows, some times I do miss it! |
Hmmm... The best way I can think for you to do is to first take a snapshot of the files installed on your system and then do a comparison before/after install. Though this only covers whole files that have been added/removed.
I wrote a wiki article on doing this. Additionally it would be prudent to md5sum your whole filesystem before and after install to see what files have been changed. Code:
cd / Code:
cd / Code:
cd / So if you put both commands together you can figure out which files have been added, removed, or changed in your file system. Please let us know how you fix this problem because others may experience it and need a solution. Please ask if you get stuck and I'll try to help you more along the way. It may also be helpful to search your logs for any keywords you can think of. |
Hi sag47,
Thanks for your assistance with this issue. I see what your doing here.. I think your on a winner mate smart! When running: Quote:
md5sum: ./proc/sysrq-trigger: Input/output error Is there a switch to make errors ignored and continue with the checksuming? |
OK, so I did was
Load Ubuntu live; Configure network settings Install 'zlib' (a glib dependency) Install 'gettext' (a glib dependency) ran (as root) Code:
cd / Code:
./media/New Volume/glib-2.26.0/glib/tests/bookmarks/fail-08.xbel: OK I should mention again, the error 'md5sum: ./proc/sysrq-trigger: Input/output error' occured again when checksumming the directory './proc/dri/0/. As can be seen above (at the bottem of the output from failed.txt) all files in that directory FAILED. Whilst it may just be nothing.. out of curiosity I opened the first failed file (.xsession-errors) and searched for the term 'glib' and these were found: Code:
(polkit-gnome-authentication-agent-1:4174): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed What do you make of this? |
Quote:
Code:
cd / You can run the md5sum -c command just like in my last post to check for failed md5 checksums. Hopefully this clarifies things for you. Quote:
Quote:
Code:
cat /dev/null > ./.xsession-errors --------------------------------------------------------- edit: please note: if you typed the following correctly... Code:
md5sum -c md5sum.txt 2> /dev/null | grep -i 'FAIL' > failed.txt SAM |
Thanks for your help. It was greatly appreciate it and whilst it did not solve the problem (because glib wasn't the problem), I learn't about md5sum which will one day come handy in life.
The problem was being caused by zlib, not glib.. All I did was remove the zlib files that were installed to fix it. Its pretty pathetic that GNOME fails due to some files simply being placed in a few directories. The problem can be reproduced on Ubuntu 10.04 LTS with the following file and commands: http://zlib.net/zlib125.zip ./configure make 'make install' will show the files that were installed (and that need to be removed for fixing the issue). I've only been using Linux (Ubuntu) primarily for my operating system for a couple of months now, so I am not sure exactly why this causes a problem, but perhaps the files are being installed into a sort of boot autorun directory and GNOME is shitting itself when trying to run them, which is why the login screen does not appear. |
All times are GMT -5. The time now is 09:30 AM. |