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

Make && Make Install Show Up An Error #11517

Closed
talnetd opened this issue Jan 13, 2014 · 10 comments
Closed

Make && Make Install Show Up An Error #11517

talnetd opened this issue Jan 13, 2014 · 10 comments

Comments

@talnetd
Copy link

talnetd commented Jan 13, 2014

screen shot 2014-01-14 at 3 27 01
Here is the sneak view of it.
I googled about this. But have no idea yet.

@alexcrichton
Copy link
Member

If you try to run cc at the command line, what happens?

@talnetd
Copy link
Author

talnetd commented Jan 13, 2014

screen shot 2014-01-14 at 3 33 59

wow
command not found

@alexcrichton
Copy link
Member

I would recommend just copy/pasting terminal output, it's much easier to download than a whole image!

Rust requires a local C linker to be available (which normally comes with the whole toolchain). I would recommend looking into your distribution's package manager to see how to download a toolchain for your local system.

@talnetd
Copy link
Author

talnetd commented Jan 13, 2014

I am using OSX Maverick. Most of the tools to build software were installed with brew. Do you have any suggestions more ? Thanks for the reply.

@alexcrichton
Copy link
Member

I'd recommend making sure you've got Xcode's tools installed (you should be able to run gcc and clang)

@talnetd
Copy link
Author

talnetd commented Jan 13, 2014

I can run gcc and clang well.
Here is the output.
☁ ~ gcc
i686-apple-darwin11-gcc-4.2.1: no input files
☁ ~ clang
clang: error: no input files
☁ ~

@talnetd
Copy link
Author

talnetd commented Jan 13, 2014

And my Xcode's Command Line Tools are pretty installed.

@alexcrichton
Copy link
Member

Do you have a cc program located at /usr/bin/cc? Also, where are gcc/clang located?

I would expect the command line tools to put these things in the right spot...

@pnkfelix
Copy link
Member

@thanyawzinmin This comment from stackoverflow may be relevant: http://stackoverflow.com/a/19699000/36585

(It claims that even if one installs Xcode and the command line utilities, your PATH may still need to be updated. I have not yet updated any of my machines to Mavericks so I cannot yet validate this hypothesis locally.)

@talnetd
Copy link
Author

talnetd commented Jan 13, 2014

Oh that was about my oh-my-zsh setting.
Been ok with bash

Thanks

flip1995 pushed a commit to flip1995/rust that referenced this issue Sep 25, 2023
fix ICE by `u64::try_from(<u128>)`

changelog: Fix the ICE in [`cast_possible_truncation`], when the `Shr` bits is larger than `u64::MAX`

fix rust-lang#11426
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