Skip to content
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

Can't upgrade dart with brew #39

Closed
kelegorm opened this issue Oct 5, 2015 · 9 comments
Closed

Can't upgrade dart with brew #39

kelegorm opened this issue Oct 5, 2015 · 9 comments
Assignees

Comments

@kelegorm
Copy link

kelegorm commented Oct 5, 2015

$ brew upgrade
==> Upgrading 3 outdated packages, with result:
dart-lang/dart/dart 1.13.0-dev.5.0, git 2.6.0, libusb 1.0.20
==> Upgrading dart-lang/dart/dart
Error: The following formula:
dart
cannot be installed as a a binary package and must be built from source.
To continue, you must install Xcode from the App Store,
or the CLT by running:
xcode-select --install

@whesse
Copy link
Contributor

whesse commented Oct 5, 2015

I don't see anything that changed in the 1.13.0-dev.5.0 release from earlier releases. Did you change anything on your system, like upgrading the OS? It may be that you need to install xcode, even though there is no compilation needed for the Dart tools. I don't know if anyone has installed it without having xcode installed. Though if that is the issue, we should fix it.

Can you upgrade to an earlier version, by specifying it? Could you try uninstalling it and instaling it again, and clearing your Homebrew cache?

@kelegorm
Copy link
Author

kelegorm commented Oct 5, 2015

Hm. Yes, I have updated OS X. But I suppose I had not XCode before.

@kelegorm
Copy link
Author

I have removed dart package, called $brew cleanup, and '$brew install dart --devel'. It shows same message about XCode. So, may be there is real problem?

@sethladd
Copy link
Contributor

I was in a hackathon yesterday, and most of us used homebrew and were able to download the latest dev channel.

Maybe, you could paste in the set of commands you're using and all their output, and we can see if we spot anything odd.

Paste in what version of Mac that you are using.

The workaround is to download a zip of the Dart SDK.

Sorry for the trouble!

@sethladd
Copy link
Contributor

Going to close, but if this is still an issue, please let us know!

@kelegorm
Copy link
Author

I can't wait, I must work :) I have installed xcode weeks ago and now I don't know if there is bug.

@sethladd
Copy link
Contributor

Do this:

  • brew update
  • brew uninstall dart
  • brew install dart

What happens?

@kelegorm
Copy link
Author

It's updating and doesn't illuminate problem I had before as i have already xcode installed.

@sethladd
Copy link
Contributor

OK, thanks for checking. Glad it's updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants