简体   繁体   中英

bad cpu type in executable osx

I'm trying to install the OS X command line tools, and I've tried the beta, and the most recent and nothing is working. Every time I try to use one of the tools something like this happens, my example is make and gnumake as those are what I need right now

-bash: /usr/bin/gnumake: Bad CPU type in executable

-bash: /usr/bin/make: Bad CPU type in executable

note, I am running Yosemite 10.10.4, and my processor is a 2.8 GHz Intel Core i5. If you need any more info be sure to let me know

Your /usr/bin/make ELF executable was compiled for a different CPU.

The outputs of below commands should return different processors:

  • file /usr/bin/make
  • uname -a or specifically uname -p

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM