Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,461
Rep:
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
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 .
.....
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
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.
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,461
Rep:
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 ?
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.