-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Unable to install Qt 4.8.5 on 10.9 DP5 with Xcode 5 DP5 #21608
Comments
We need full troubleshooting information as requested in https://github.com/mxcl/homebrew/wiki/Troubleshooting |
These were the errors I got: |
I did the steps as the instructions, however,
How can I finish the full troubleshooting? |
Use the name of the formula you are trying to install, not "foo". |
Can't find any Homebrew folder under ~/Library/Logs
Error: qt did not build |
@1900forever your xcode-select is pointing to /Applications/Xcode-DP.app right now, but the issue title says you're trying to build with xcode5-DP4? |
I'm having this issue too, but I'm using Xcode 4.6.3 $ xcode-select -p |
@toroidal-code it's 10.9 DP5 now, and Xcode 5 DP5 as well.
|
Found a similar issue on qt's website: http://qt-project.org/forums/viewthread/19117 Hrm. This is for Mountain Lion. We might have to see about patching for Mavericks: It looks like we're going to need a version of libWebkitSystemInterface.a for Mavericks. This is a request that should be put in to the Webkit team, though I don't know if they'll be able to do it until Mavericks is actually out. |
@toroidal-code Hoping it may bring good news |
For what its worth this still seems to be an issue with Xcode5 DP-6 |
Still cannot build qt with Xcode 5 GM. |
If you actually want to get this fixed I suggest posting on the issue tracker for Qt itself rather than here. |
Has anyone gotten this to work? I'm still seeing this error. I see the bug filed here (https://bugreports.qt-project.org/browse/QTBUG-32237) but is there anything temporary that can be done? I've had QT running fine on older releases of Mavericks just fine. |
A temporary solution would be fantastic. Unfortunately I have absolutely no idea what I'm doing, so I've resorted to working on my Mountain Lion laptop for the moment.. |
Closing as an upstream issue. |
@adamv Let's leave this open, we want to track that there's an issue here as we are apparently packaging something that won't build, whether it's our fault or not. It's unfortunate to see that there's been no upstream action. This is confirmed not working with Xcode 5.0.1 GM, then? |
Correct, it's not working with Xcode 5.0.1 GM |
For those looking for a temporary solution, if you change the brew code to return mountain_lion for your OS, it will install qt from the bottle, which has been working for me. |
@aaronchi. I've been struggling with this. Could please detail how to set the brew code? Thanks. |
@ollyjshaw I believe what @aaronchi means, is editing see https://github.com/mxcl/homebrew/blob/master/Library/Homebrew/os/mac/version.rb#L26 At least for me this did the trick! Thanks a lot, @aaronchi |
You can also try Cliff Rowley's proposal : https://bugreports.qt-project.org/browse/QTBUG-32237?focusedCommentId=219126&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-219126
|
Just wanted to vouch for the solution provided by @iMichka above (as originally posted by Cliff Rowley). |
If this needs libtiff on 10.9, please open a pull request to add a dependency. |
@adamv this isn't intended to be submitted as a PR at all, it's merely a stop gap while Qt fix the issue their side. If it looks like it may take them some time then perhaps it's worth cleaning up this patch and submitting it, but at the moment it exists purely to attempt to get Qt built and running correctly. There are still outstanding issues. Edit: also, it's not meant to depend on system libtiff at all, however the bundled version currently throws errors during compilation. I suspect Qt will also fix that, so the eventual formula won't have this dependency. |
Ok, things seem a lot more stable using HEAD than they do using stable. I'd recommend that anyone who has been following and using my patched formula try the following:
Using this, wkhtmltopdf no longer crashes for me. |
Oh cool, I see. I just wasn't sure what your expectations were :-) I've contributed to Homebrew before, but nothing as involved as this. Wasn't sure what the protocol was. |
Just to update this, I've tried to install HEAD but it didn't work on 10.9 with XC 5 from the app store (all up to date). |
Strange, it works here with 10.9 and XC 5.0.1. What error(s) are you getting? |
Getting this, one of the other guys here is getting it as well (both on just-bought-last-weekend rMBP's, so pretty fresh installs).
|
Interesting, however I'm not convinced these issues are related to these patches as they don't touch qdrawhelper* - only qcorewlanengine* and QTWebKit.pro (as you can see from the log). It could be these are new issues as yours is a new MBP, and someone else earlier had a brand new Air. Seems to be on the new machines it's happening. My 2012 iMac is fine, as is my 2011 MBP. |
I get this error while compiling qt with
Any solution or workaround? |
Just ran |
Here the output of my |
@pioz you need to install using my patched formula: |
THANK YOU cliffrowley! works for me! |
@dwsturgeon hey no worries :-) FWIW some people have been reporting issues compiling this, with errors related to SSSE3 extensions. Those people should try compiling with this one: |
@cliffrowley is the issue that it needs to be compiled from the head? some issues that I have are specifically with libstdc++ vs. libc++ which apparently didn't change when I did a fresh install. I'm going to recompile my dependency formulas and see if that fixes it. Thank you again.. |
I tried that recipe and it failed https://gist.github.com/m5rk/7232391 |
Can you add a |
@dwsturgeon with regards to things that depend on Qt (specifically with regards to libstdc++ vs libc++) on another thread it was noted that That is, to compile the software that is complaining about the libstdc++ vs libc++ incompatibility - not Qt ;-) |
This my |
Do N.B. I'm currently tidying up the formula since these things seem to be causing more issues than I bargained for ;-) |
@pioz Do you have wget installed?
If not:
and try again. |
Hi guys, please see this Gist for a fixed Formula (inc. all dependencies) and a |
Also, can I direct people to this issue so that we can all talk in 1 place? Thanks ;-) |
@cliffrowley i cant build qt with your patched formula... I get the following error:
|
@pioz yeah, I've just removed qt and libtiff from my machine to test and make sure it's all working still and came across this error myself. I'm currently in the process of fixing it, however in the meantime you should be able to fix it by installing libtiff manually (e.g. |
@pioz please join us at the issue in my previous post so that we can talk in 1 place and I can reduce my own confusion - thanks ;-) |
With verbose: https://gist.github.com/m5rk/7236686 Trying again without-ssse3... |
Closing in favor of #23793. |
errors shows as below:
The text was updated successfully, but these errors were encountered: