-
Notifications
You must be signed in to change notification settings - Fork 33
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
Qt fails to install on 10.9 #2
Comments
Many patches were needed for Qt4 on Mavericks (see qt.diff for a diff against the current HEAD (as of 20131207)). However, since homebrew/qt has dbus and qt3support as options ( |
I've fixed the Mac OS X Mavericks build. Just used the current Qt 4.8 branch - it has all the fixes applied now. |
Sorry, but I still getting the same issue here: [,,,] If this is an upgrade and you already have the org.freedesktop.dbus-session.plist loaded: To have launchd start d-bus at login: Possible conflicting files are: Is there anything I can do about that? |
@threadstone, same issue here. I just settled with |
@tlvince thanks, that made qt compile for me. Now if I'm trying to install Kate, it fails to install soprano which seams to be a kate dependency. Any ideas for that? ==> Installing kate dependency: soprano |
@threadstone, sorry, I didn't run into that one. Can you post the full |
Here's the error:
Seems to suggest QT wasn't built with dbus support(?). What does |
@threadstone @tlvince could you please pull my latest change and try to rebuild Qt from my formula once again. Run brew with --verbose --debug and make sure it really downloads the right tarball - https://github.com/qtproject/qt/archive/4.8.tar.gz |
@tlvince last time I did |
@tlvince @adymo you were pointing in the right direction. Something was messed up with my d-bus installation. I think it was because of wrong write permissions in /usr/local/something. I took care of that, reinstalled d-bus, recompiled qt and sure enough it worked. Now I have Kate running fine, thank you so much for your work and your help! |
I've just finished recompiling homebrew-kde from scratch, with a new libc++ and with Qt from homebrew. It now compiles and runs fine for me. So closing this issue. |
Good stuff! 👍 |
trace of my attempt to install qt on OS X 10.9:
$ brew install adymo/kde/qt
Warning: No developer tools installed.
You should install the Command Line Tools.
Run
xcode-select --install
to install them.==> Installing qt dependency: d-bus
==> Downloading http://dbus.freedesktop.org/releases/dbus/dbus-1.6.18.tar.gz
################################################################## 100,0%
==> ./configure --prefix=/usr/local/Cellar/d-bus/1.6.18 --localstatedir=/usr/local/var --sysc
==> make
==> make install
==> /usr/local/Cellar/d-bus/1.6.18/bin/dbus-uuidgen --ensure=/usr/local/var/lib/dbus/machine-
==> Caveats
If this is your first install, automatically load on login with:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/d-bus/1.6.18/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
If this is an upgrade and you already have the org.freedesktop.dbus-session.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
cp /usr/local/Cellar/d-bus/1.6.18/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
To have launchd start d-bus at login:
ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
Then to load d-bus now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.d-bus.plist
Warning: Could not link d-bus. Unlinking...
Error: The
brew link
step did not complete successfullyThe formula built, but is not symlinked into /usr/local
You can try again using `brew link d-bus'
Possible conflicting files are:
==> Summary
/usr/local/Cellar/d-bus/1.6.18: 48 files, 2,3M, built in 2.7 minutes
==> Installing qt
==> Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-o
Already downloaded: /Library/Caches/Homebrew/qt-4.8.5.tar.gz
==> ./configure -prefix /usr/local/Cellar/qt/4.8.5 -system-zlib -confirm-license -opensource
==> make
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1
make[2]: *** [release] Error 2
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
The text was updated successfully, but these errors were encountered: