pfalcon / ScratchABit

Easily retargetable and hackable interactive disassembler with IDAPython-compatible plugin API
GNU General Public License v3.0
393 stars 47 forks source link

Capstone installation issues on Debian #28

Open thesourcerer8 opened 6 years ago

thesourcerer8 commented 6 years ago

On Debian based systems, "apt-get install libcapstone-dev" is needed to install the capstone library before installing the python module with pip3 can work.

pfalcon commented 6 years ago

My Ubuntu 16.04 system:

pfalcon@x230:~$ dpkg -l | grep capstone
pfalcon@x230:~$ pip3 install --no-cache-dir --user capstone
Collecting capstone
  Downloading capstone-3.0.4.tar.gz (3.2MB)
    100% |████████████████████████████████| 3.2MB 955kB/s 
Installing collected packages: capstone
  Running setup.py install for capstone ... done
Successfully installed capstone-3.0.4
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pfalcon commented 6 years ago

As https://github.com/pfalcon/ScratchABit/issues/30#issuecomment-359879871 shows, it's very easy to mix up things. So to be able to understand and resolve issues, it's important to know:

  1. The exact commands you ran, copy-pasted verbatim.
  2. The exact output, again copied verbatim.

(And that's just for starters, because you or me may have finicky things in the environment).