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.
Hey! I just downloaded Konstruct (the KDE auto downloader, extractor, builder and installer) and tried to run it from my home dir. Everything extracted fine, but then I just get a Make Error 2 everytime it tries to compile, then it moves on to the next piece, and fails that etc until the end.
Then, I tried editing gar.conf.mk to my home dir, but running "make install" as root. Everything is working fine now. My user is in the root group (so user:root).
Any ideas why I can't compile as a user? This is annoying, because I'm going to have to do a "chown" when it's finished which will take forever...
generally, you always have to install as root. that way, the program can be install system-wide for all users. try compiling and then installing as root, then run the program normally
Well I do usually compile my stuff as root, and system wide, but in this case, I've had bad luck with getting new KDE version to work (I've botched my install twice in the last year trying to upgrade) so I want it just in my home to try it out, so it doesn't effect my system globaly forcing me to reinstall.
In the README of konstruct, it states that it will compile and install to you hom dir by default, and says nothing about being root. I son't understand why I can't run it as a user since it's not trying to write to any protected directories...
Originally posted by Boyer In the README of konstruct, it states that it will compile and install to you hom dir by default, and says nothing about being root. I son't understand why I can't run it as a user since it's not trying to write to any protected directories...
Yes, you should be able to build and install KDE as normal user using Konstruct. I just did that a few days ago, installing KDE 3.3.1 on my $HOME/kde3.3.1 directory (as defaulted in gar.conf.mk).
What kind of error messages do you get when you run Konstruct as yourself? Also, what does your gar.conf.mk say about your build directory? It should say:
Code:
prefix ?= $(HOME)/kde3.3.1
I added the following line to make sure the source code will be backed up within my home directory as well:
Further more, after I did do an install as root, I chmod'd it to my user, and copied it to my home dir. Then, I set the vars it says to set in the README. Then, when I restart X, and login as my user, the screen flashes, then X restarts. When I look at the console to find out what went wrong, it tells me it couldn't find libidin.so.11, even thouh it is in kde3.3.1/lib and that dir is in my LD_LIBRARY_PATH.
The first error is actually nothing special. It simply says that the source file for kdelibs is not found on your local system. What's strange is, konstruct should then go to your GARCHIVE directory to look for the source and, if that's unsuccessful too, then go out on the Internet and connect to an available mirror to download the source. Your errors seem to indicate that it just quits there. You do have an Internet connection, right?
Originally posted by Boyer Yes, I do have a connection. Konstruct worked fine once run as root...
Either way, any idea why it won't work? The install I did as root I mean?
That's strange... I don't have libidin.so anywhere on my system, let alone my KDE/Qt library directories. Anyway... if I were you, I would make sure your "startkde" script is not overwriting your own KDE path setups. I am saying this because the "startkde" script that comes with my distro wipes out any user-defined KDEDIR and QTDIR and replaces them with the system default.
Originally posted by Boyer Yup, basicly like that, except $HOME is actually ~/ but same difference. Just uncase, I tried ut as $HOME, same results...
Actually, this just occurred to me. Did you say you were trying to run the new KDE as root, or as yourself? If you are running it as root, ~/ and $HOME will translate into /root/, not /home/username/.
Other than that, I am running out of ideas. Your konstruct directory (and all the subdirectories) belong to you and have the appropriate permissions to read/write/execute, correct?
That's correct. After sucessful compilation as root, I did a recursive chmod on the entire kde3.3.1 dir, then copied it to /home/user. Then, set the variables. When I try to login as the user with the correct permissions, X just restarts itself, and presents me with the mdkkdm screen...
When I check the colsole for errors, it tells me that it can't find a lib (I think it's libidin.so.11), even though it's in my kde.3.3.1/lib, and that's in my LD_LIBRARY_PATH
I'm totally lost here.
Maybe it would help if I added the new KDE to my mdkkdm screen. What file do I edit to add another desktop?
I've set my path as typing " LD_LIBRARY_PATH=/home/user/kde3.3.1/lib:$LD_LIBRARY_PATH" and also, added this to my .bashrc: "LD_LIBRARY_PATH=/home/user/kde3.3.1/lib:$LD_LIBRARY_PATH".
The lib is infact there, I checked, but it still says it isn't... It's really weird.
Originally posted by Boyer I've set my path as typing " LD_LIBRARY_PATH=/home/user/kde3.3.1/lib:$LD_LIBRARY_PATH" and also, added this to my .bashrc: "LD_LIBRARY_PATH=/home/user/kde3.3.1/lib:$LD_LIBRARY_PATH".
The lib is infact there, I checked, but it still says it isn't... It's really weird.
Assuming that your ~/.bashrc is included in your ~/.bash_profile, I *think* the problem is that you set the LD_LIBRARY_PATH variable without "exporting" it. I'd suggest that you try the following in your ~/.bashrc:
The keyword here is "export," which means you let the variable take effect outside the shell. I have a feeling that this will fix your problem. If not, hey, we can take it from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.