-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup KDE4 build environment, build and run KDE4. #11
Comments
I have successfuly built kde-baseapps, kde-workspace and kdelibs. But it turned out that scripts |
Try to install and run your built version under Xnest. kde-run-env will show you what env vars are required to setup. Pay special attention to these variables: HOME, KDEHOME, PATH, LD_LIBRARY_PATH. Also, please take into account, that to debug successfully you need optimization turned off. So, if it was compiled with optimization (-O3 f.ex.), you will have to rebuild with flags -g -O0 (last flags override previous ones). Please, message me when you start successfully under Xnest (or Xephyr). |
Hi! |
Hmm... I guess, that not specifying LD_LIBRARY_PATH, KDEHOME, PATH can interfere with your system KDE. Are you sure that libraries (LD_LIBRARY_PATH), plugins (KDEHOME) and executables (PATH) was loaded from your custom KDE? Regarding kde-run-env and kde-build-env isn't it enough to just read them? kde-run-env will show which envvars are required (or maybe required) to run. kde-build-env is meant to setup shell environment for build. Both must be sourced into your shell from which you run or build. kde-build-env defines a command to build (cmakekde). But since you have already built without it, that's fine -- you can be on your own. About your errors, they may be custom to your specific setup. So, let's just don't think about them for now. |
No, I am not sure (I suspect variables from system KDE were used)... |
Let's just ensure that all is well. The most reliable way is to look at backtrace of some KDE process. Please, examine following stack backtrace:
Here we see, that paths go from custom build directory (for What you will need to do, to achieve it:
You may wish to get predefined .gdbinit with human-usable settings. Also, if you are new to GDB, you may read some quickstart guides. Also, would be good, to reproduce some stack with .so libraries from KDE (the stack above doesn't contain any). Meanwhile I will prepare instructions for KDE3 setup. |
Btw, some executables paths are visible in |
Hi! KDEHOME=/home/mechanician/.kde4 Output of
is
So, I think, the previous problem is solved. But now when I run startkde under Xnest, ugly black desktop appears on the screen https://www.dropbox.com/s/zt757kb75rikd6k/my_kde4_desktop.png It seems to me that something is wrong... |
I guess, that it's because we installing not all KDE4 components something must be missing. Like:
or
It's Ok for us for now. Errors which begin with
because Xnest doesn't support all contemporary features. Though, if you want, you can try Xephyr which is more modern and presumably will look better. I don't know about other errors. In particular DBus errors. Maybe it conflicts with your parent session (by trying to connect to same socket). You can investigate and if it is true -- organize separate DBus session for it. |
mechanician But just in case, I'm posting here output of backtrace (from gdb):
It seems all right... |
Yes, it's fine! So, here is the next task... |
Please, follow the instructions to build KDE4. Feel free to correct or supplement them if needed. When you will have successfully built KDE4, ask for the further instructions. Don't hesitate to ask for help if any problems occur.
The text was updated successfully, but these errors were encountered: