panda-re / panda

Platform for Architecture-Neutral Dynamic Analysis
https://panda.re
Other
2.48k stars 479 forks source link

panda_datatypes.h missing and can't be generated #916

Closed username7778 closed 3 years ago

username7778 commented 3 years ago

how fix this? here is log: https://pastebin.com/8eVjUBTh

thx

AndrewFasano commented 3 years ago

It looks like you're trying to install the python bindings but you haven't installed the python dependencies. In particular, the error

    from cffi import FFI
ModuleNotFoundError: No module named 'cffi'

shows that you haven't installed cffi.

What script are you running? The install_ubuntu.sh script installs these dependencies here with:

python3 -m pip install pycparser "protobuf==3.0.0" "cffi>=1.14.3" colorama
username7778 commented 3 years ago

its fixed had to install pypanda first than run install_ubuntu.sh. ok but now i have new error. i ran make install and it says: install -d -m 0755 "/usr/local/share/panda" Makefile:687: *** new RPATH too long - cannot adjust .so files for installation. Stop. root@andre-VirtualBox:/home/andre/panda#

i hope my questions are not to annoying since its my first hours on linux

username7778 commented 3 years ago

hello i open a new issue for the RPATH too long problem. i forgot to say that i used the install_ubuntu.sh script when i got this error with the python dependencies. install pypanda first than build panda with install_ubuntu.sh fixed it.