LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-30-2009, 10:03 AM   #1
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 364

Rep: Reputation: 28
Ubuntu damaged after dbus build


I rebuilt and installed dbus from source because I was trying to build the development release of Enlightenment. And that worked, I got Enlightenment working correctly inside of Gnome. Once. It worked great till I rebooted my computer. After that I could only boot in single user mode. I remounted my hard drive as read-write, recompiled dbus again and rebooted and that time it came up to a command line login screen, not single user mode. I pressed alt-f8 to see my boot messages and it was frozen after Timidity++. So I figured that the issue had to do with dbus, I configured it wrong or something. So I used apt-get to install my old dbus from the karmic repositories, I reinstalled dbus and dbus-x11. I rebooted my pc after that and now it only boots in single user mode again, and sometimes the kernel panics. So right now I'm compiling the dev version of dbus and installing it (via chroot). I do not have high hopes.
Anybody know what the problem is or how to fix it?
 
Old 10-30-2009, 11:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,680

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
No problem having more than one version of dbus.
But it is not allowed in a system path like /usr/ or /usr/local/ .
And the system version should not be changed.

cd dbus-1.2.16/ , ( or is it 1.3 ? )
./configure --prefix=/usr/local/dbus1216
.. is a way to install dbus ( or glib2, gtk2 ..
whatever is needed in more than one version.)

Say the application using this dbus, is a binary 'e17'.
Change the file name to e.g. 'e17.bin' ,
and make a start script , by name 'e17' :
line 1 : #!/bin/sh
line 2 : export LD_LIBRARY_PATH=/usr/local/dbus1216/lib
line 3 : exec e17.bin

... chmod +x e17 , sudo cp e17 /usr/local/bin/ .
.....

And the good news : dbus has an uninstall function.
You will need the source dbus-1.2.16/ again ...
and configure with the same prefix ...
and then : make && sudo make uninstall
.....
And you will of course have to reinstall the correct
system version again : sudo apt-get install dbus .
.....

Last edited by knudfl; 10-30-2009 at 12:13 PM.
 
1 members found this post helpful.
Old 11-03-2009, 08:22 AM   #3
prushik
Member
 
Registered: Mar 2009
Location: South Korea
Distribution: Lubuntu, BetterLinux
Posts: 364

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by knudfl View Post
No problem having more than one version of dbus.
But it is not allowed in a system path like /usr/ or /usr/local/ .
And the system version should not be changed.

cd dbus-1.2.16/ , ( or is it 1.3 ? )
./configure --prefix=/usr/local/dbus1216
.. is a way to install dbus ( or glib2, gtk2 ..
whatever is needed in more than one version.)

Say the application using this dbus, is a binary 'e17'.
Change the file name to e.g. 'e17.bin' ,
and make a start script , by name 'e17' :
line 1 : #!/bin/sh
line 2 : export LD_LIBRARY_PATH=/usr/local/dbus1216/lib
line 3 : exec e17.bin

... chmod +x e17 , sudo cp e17 /usr/local/bin/ .
.....

And the good news : dbus has an uninstall function.
You will need the source dbus-1.2.16/ again ...
and configure with the same prefix ...
and then : make && sudo make uninstall
.....
And you will of course have to reinstall the correct
system version again : sudo apt-get install dbus .
.....
Ok well I still don't have a working system. I messed it up more, but now I got it back to where it was, booting to the console. I'm running intrepid live CD now, chrooted into my old system. I used debootstrap to replace the base userspace, thats what messed it up more, because i didnt do it right, but then I did it again and it worked, but my system still isnt working. So I just took your advice and used the dbus uninstall function. I have one question though, do I have to make before I make uninstall? That seems really odd to me. I uninstalled both the one in /usr/ and /usr/local/ and reinstalled it in /usr/. I will try to boot in a little bit and see how it turns out.
 
Old 11-04-2009, 08:48 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,680

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
Quote:
I have one question though,
do I have to make before I make uninstall?
I do not remember why I wrote / used
"make && sudo make uninstall"

By just guessing , I'd says this :
./configure && sudo make uninstall
.. if the files are in /usr/local/
.....
But anyway : the 'make' run is quick with dbus, so why not do it ?
.....

Last edited by knudfl; 11-04-2009 at 08:51 AM.
 
  


Reply

Tags
dbus


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Big problem with dbus in ubuntu froff Linux - Software 1 04-25-2009 12:15 PM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-08-2008 11:23 PM
Dbus and Ubuntu wkhoo Linux - Software 1 04-23-2008 02:38 PM
Ubuntu issue with Dbus wkhoo Linux - Newbie 0 04-23-2008 02:12 PM
Xfce4.4RC1 fails to build missing dbus ? exvor Linux - Software 2 10-02-2006 04:34 PM


All times are GMT -5. The time now is 05:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration