keystone-engine / keypatch

Multi-architecture assembler for IDA Pro. Powered by Keystone Engine.
http://www.keystone-engine.org/keypatch
GNU General Public License v2.0
1.49k stars 355 forks source link

Problem with installing keystone-engine on MacOS #48

Open pharazone opened 6 years ago

pharazone commented 6 years ago

Open the Term

and typed "sudo pip install keystone-engine", but it can not be compiled on my Mac.

here are the problems: image image

So how do I fix it? Thank you.

P.S. I use MacOS 10.14 Mojave beta 5.

aquynh commented 6 years ago

Your C compiler does not work. You should try to figure out why, perhaps because you havent setup it yet?

pharazone commented 6 years ago

so…forgive me…but I still want to know how to setup it?thanks.

fjh658 commented 6 years ago

https://github.com/fjh658/keystone-engine, see the README.md @pharazone

You are using the xcode10 compiler

pharazone commented 6 years ago

谢谢楼上的哥们儿。Thx bro.

ranshon commented 5 years ago

@fjh658 do https://github.com/fjh658/keystone-engine , next steps do "sudo pip install keystone-engine" ??

fjh658 commented 5 years ago

@fjh658 do https://github.com/fjh658/keystone-engine , next steps do "sudo pip install keystone-engine" ??

git clone https://github.com/fjh658/keystone-engine.git
cd keystone-engine
git submodule update --init --recursive
sudo python setup.py install --verbose
ranshon commented 5 years ago

@fjh658 我按照https://github.com/fjh658/keystone-engine readme 做了,然后又执行了,sudo pip install keystone-engine 还是报错。

fjh658 commented 5 years ago

@fjh658 我按照https://github.com/fjh658/keystone-engine readme 做了,然后又执行了,sudo pip install keystone-engine 还是报错。

rm -rf src/build
sudo python setup.py install --verbose

If there is still a problem, please upload the log.

sudo pip install keystone-engine

This does not need to be executed

ranshon commented 5 years ago

@fjh658 可行 谢谢