Summary: | kdebase-3.2.2 fails to configure. sandbox access violation. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | anders pearson <anders> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | mike, richard |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
anders pearson
2004-05-14 09:06:43 UTC
have you upgraded/downgraded qt since going to kdelibs-3.2.2? i've re-emerged both qt and kdelibs a few times in attempts to get kdebase to compile, but nothing has seemed to affect it. currently, qt is qt-3.3.0-r1. The fact that it's looking for qt in /usr/local/qt is a bit disconcerning - do you have another version installed there that you self compiled? nope. i don't even have a /usr/local/qt directory. i haven't installed anything on this machine that wasn't through emerge. another thought: have you not rebooted or rerun env-update since installing Qt? perhaps the proper environment variables (QTDIR, etc) aren't set..? i haven't rebooted, but i have run env-update a number of times. to verify things, i just did an 'emerge qt kdelibs kdebase' and got the same error. then i did an env-update and tried to to emerge kdebase again, still with no success. Can you attach the config.log from your /var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/ directory? Created attachment 31439 [details]
config.log
configure: 29536: /usr/kde/3.2/include/ksharedptr.h taking that configure: 29566: /usr/kde/3.2/lib/libkio.la taking that configure: 29584: /usr/kde/3.2/lib/kde3/plugins/designer/kdewidgets.la taking that configure:29654: result: libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include configure:29693: checking if UIC has KDE plugins available configure:29720: /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui > actest.cpp [31;01mACCESS DENIED [0m mkdir: /usr/local/qt/etc/settings Conflict in /usr/kde/3.2/lib/kde3/plugins/designer/kdewidgets.so: Plugin uses incompatible Qt library (3.3.0)! configure:29723: $? = 0 configure:29737: result: no configure:29740: error: you need to install kdelibs first. Is the interesting part here I have the same issue. No sandbox access violation here, but configure fails at the same line, complaining for the already installed kdelibs-3.2.2. Here's an excerpt from my config.log right after the first "emerge -uv qt kdebase": configure:29654: result: libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include configure:29693: checking if UIC has KDE plugins available configure:29720: /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui > actest.cpp Conflict in /usr/kde/3.2/lib/kde3/plugins/designer/kdewidgets.so: Plugin uses incompatible Qt library! expected build key "i686 Linux g++-3.* full-config", got "i686 Linux g++-3.* full-config no-ipv6". configure:29723: $? = 0 configure:29737: result: no configure:29740: error: you need to install kdelibs first After rebooting and trying kdebase again, the log only says: configure:29654: result: libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include configure:29693: checking if UIC has KDE plugins available configure:29720: /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui > actest.cpp configure:29723: $? = 0 configure:29737: result: no configure:29740: error: you need to install kdelibs first. same problem here. i had +opengl in my use flags. in config.log i found Conflict in /usr/kde/3.2/lib/kde3/plugins/designer/kdewidgets.so: Plugin uses incompatible Qt library! expected build key "i686 Linux g++-3.* full-config", got "i686 Linux g++-3.* full-config opengl". so i recompiled kdelibs without the opengl use flag and kdebase just started to compile. i'm still pretty new to gentoo, but as of today i only had trouble with use flags ... what was their purpose again? (except making life harder, due to incompatible settings) i tried adding -opengl to my USE flags and recompiling qt and kdelibs, but it doesn't seem to have helped.. I resolved my issue my re-emerging qt and then kdelibs (it has to be in that order). In my case kdelibs got upgraded before qt. I just fixed this problem by removing the qt libraries from /usr/local/lib and running ldconfig. The problem was that the qt tools, which referenced the qt libraries, were getting linked to the ones in /usr/local, because it comes before /usr/qt/3/lib in the library paths; maybe this should be changed while running an ebuild to give system libraries precedence over /usr/local. If you have Qt libraries in /usr/local/qt, they weren't installed by portage, and as such you're liable to run into problems like this. yeah. for some reason i had a version of qt installed in /usr/local/. don't know how it got there, but clearing it out took care of things. If someone still has this problem, could you try LD_LIBRARY_PATH="/usr/qt/3/lib" emerge <kde package>? If that works, it could be placed in the kde eclasses to provide a workaround that would allow people to do things outside of portage (with Gentoo, of all distributions, this should be expected). I realize this bug is closed but I would just like to confirm the suggestion by Richard Garand works. I haven't been able to upgrade KDE in about 2 months so it's great to finally try something that works. Like anders pearson, I had a full QT install in /usr/local and also like anders, I did not put it there. However, I think I know how I got a copy of QT there: The emerge for kdebase kept giving me the "Access Violation" error referring to the command "mkdir /usr/local/qt". The directory did not exist so I tried to fix the problem by manually running "mkdir /usr/local/qt". Then I re-emerged qt and kdelibs. For some reason, a full QT install is now in /usr/local/qt. |