-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Phantomjs 2.0 fails to install on 10.11 #42249
Comments
Could you post |
Output from |
This will be the internal Qt failing to compile. |
So it's just an unfortunate error message? I'll try installing Qt with this patch - |
@enilsen16 So, it's failing to find OpenSSL because we ask for it to be linked in but the actual fix will require upstream PhantomJS changes (and likely a new release). |
As a workaround, this seems to work: |
@evadne your advice worked for me thanks |
@MikeMcQuaid is there anything we (I) can do to help out here? Sounds like this potentially requires moving parts from other projects, in which case I'll be patient :) |
@nikz If you can get it building locally and submit a PR once it's working that'd be ✨ |
@MikeMcQuaid at risk of being a bit cheeky (ok, a lot cheeky) could you point me to where you'd start? I'm a total newb, tend to just bash at this stuff until it seems to work. But I'm keen to help! |
If you add the patch suggested by @enilsen16, then qt builds, but not the included qt for Phantom JS (I'm guessing). I'll take a closer look at the recipe and see if I can't add that patch to the included qt. |
@vitallium Any chance we'll see a new PhantomJS 2 release any time soon? Thanks! |
@MikeMcQuaid hi, yes. We're working on 2.0.1 release. Coming release will work on OS X smoothly. Unfortunately, we don't have any ETA on it (there are 2 blocking issues for this release). |
@vitallium np, thanks, good to know! |
I'm getting the same error on osx 10.10.5
|
@jcoyne I presume you've upgraded to Xcode 7? |
@DomT4 yes
|
That's the issue. Phantom (Or rather the internal Qt) glues itself to You could try installing the Command Line Tools package, but I'm not sure it'll do the job in this situation given the |
Can we do anything about it? |
The tracking issue upstream is ariya/phantomjs#12902 Not sure when it will be released though. |
@evadne your advice works! |
@evadne +1 for npm workaround |
@zykadelic @lasg125 and @evadne that doesn't solve the problem of compiling version 2.0 on El Capitan, since it reverts back to 1.9.8. I've to say -1 for that tip here (but very useful if you just want something) |
@maxnordlund It is indeed not a proper fix, but it helped me proceed |
I got a similar problem at installing
I cannot even install older |
@SimonChong That's not a Homebrew issue. |
@evadne +1 |
How do I install the 2.0.1 version? I tried using NPM syntax, i.e. brew install phantomjs@2.0.1, but that was no go. |
2.0.1 will never be released, the target for 10.11 support is PhantomJS 2.1: ariya/phantomjs#12970 Please don't spam that issue, they'd like real help here: ariya/phantomjs#13861 |
@kfix I think I may just ship 2.0.1 as-is. |
I tried, failed: #47835. Anyone else: feel free to pick that up and we'll consider merging 2.0.1. |
Install fails: brew install phantomjs phantomjs: This formula either does not compile or function as expected on OS X C'mon guys - this is pretty basic stuff |
@geoffwalmsley that's rude and not helpful |
@jcoyne is there an expectation that brew will not keep pace with major os releases as the error I posted seems to suggest? |
@geoffwalmsley Sorry, I'm not a maintainer, I don't know the answer to that. I was just here to report the error I saw. |
May be a good time to remind everyone of our code of conduct: https://github.com/Homebrew/homebrew/blob/master/CODEOFCONDUCT.md
As the error message says, PhantomJS 2.0 doesn't build on El Capitan due to an upstream incompatibility. It's not because we're dragging our feet on supporting 10.11, and it's why we're looking for ways to package 2.0.1 as soon as possible: #42249 (comment) |
I can't write that error message to be any more obvious; It's an upstream issue, not a Homebrew one. We can't magically wave a wand here and "make it work". As we've said, someone can feel free to pick up on where Mike's PR was left and we'll review it. Can we please keep this Issue on point. If you have solutions we more than welcome them. |
@geoffwalmsley Could you try and open a pull request? This should help and I'm happy to walk you through anything else: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md#how-to-open-a-homebrew-pull-request-and-get-it-merged Thanks! |
2.0.1 is now available through Homebrew, thank you all for your patience! |
Yay! Thanks everyone! 😄 |
👍 |
👍 working great, thanks team |
I'm seeing
after installing 2.0.1. Thanks everyone for your work on this. |
@erictheise that's just the version-strings not being updated in the fork we're temporarily using: https://github.com/Vitallium/phantomjs/blob/master/src/consts.h#L35-L38 |
when i do: OS version 10.11.2 |
@zvilich I suspect you need to |
👍 working great, thanks DomT4 |
YES well done on this one guys ! |
Just letting everyone know that phantomjs 2.1 was officially released last night! So just doing a normal update/upgrade will fix this problem officially. |
brew install phantomjs works flawlessly now. No problems on El Capitan 10.11.4 |
The text was updated successfully, but these errors were encountered: