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

error: [Errno 2] No such file or directory: 'pyvex_c' #24

Closed
patrafter1999 opened this issue Jan 4, 2016 · 4 comments
Closed

error: [Errno 2] No such file or directory: 'pyvex_c' #24

patrafter1999 opened this issue Jan 4, 2016 · 4 comments

Comments

@patrafter1999
Copy link

Hi People,

I have this pyvex_c issue for a whole day. I tried 'pip install angr' in Mac OS X Yosemite and Ubuntu 15.10 after upgrading pip to the latest version. I ran in virtualevn as instructed by the installation guide. I still have this pyvex error as shown below. I've been struggling with this all day. I hope someone can answer this question.

Much appreciated,
Sean

...

...
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -Wwrite-strings -Wformat -Wformat-security -std=gnu99 -fPIC -w -g -O2 -fstrict-aliasing -Ipub -Ipriv -o priv/guest_ppc_toIR.o
-c priv/guest_ppc_toIR.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -Wwrite-strings -Wformat -Wformat-security -std=gnu99 -fPIC -w -g -O2 -fstrict-aliasing -Ipub -Ipriv -o priv/guest_s390_toIR.o
-c priv/guest_s390_toIR.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -Wwrite-strings -Wformat -Wformat-security -std=gnu99 -fPIC -w -g -O2 -fstrict-aliasing -Ipub -Ipriv -o priv/guest_mips_toIR.o
-c priv/guest_mips_toIR.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -Wwrite-strings -Wformat -Wformat-security -std=gnu99 -fPIC -w -g -O2 -fstrict-aliasing -Ipub -Ipriv -o priv/e4c_lite.o
-c priv/e4c_lite.c
rm -f libvex.a
ar crus libvex.a priv/ir_defs.o priv/ir_match.o priv/ir_opt.o priv/ir_inject.o priv/main_main.o priv/main_globals.o priv/main_util.o priv/s390_disasm.o priv/host_x86_defs.o priv/host_amd64_defs.o priv/host_arm_defs.o priv/host_arm64_defs.o priv/host_ppc_defs.o priv/host_s390_defs.o priv/host_mips_defs.o priv/host_x86_isel.o priv/host_amd64_isel.o priv/host_arm_isel.o priv/host_arm64_isel.o priv/host_ppc_isel.o priv/host_s390_isel.o priv/host_mips_isel.o priv/host_generic_maddf.o priv/host_generic_regs.o priv/host_generic_simd64.o priv/host_generic_simd128.o priv/host_generic_simd256.o priv/host_generic_reg_alloc2.o priv/guest_generic_x87.o priv/guest_generic_bb_to_IR.o priv/guest_x86_helpers.o priv/guest_amd64_helpers.o priv/guest_arm_helpers.o priv/guest_arm64_helpers.o priv/guest_ppc_helpers.o priv/guest_s390_helpers.o priv/guest_mips_helpers.o priv/guest_x86_toIR.o priv/guest_amd64_toIR.o priv/guest_arm_toIR.o priv/guest_arm64_toIR.o priv/guest_ppc_toIR.o priv/guest_s390_toIR.o priv/guest_mips_toIR.o priv/e4c_lite.o
ar: u' modifier ignored sinceD' is the default (see `U')
make[1]: Leaving directory '/tmp/pip-build-Ttv72W/pyvex/vex-dev'
Building pyvex-static
error: [Errno 2] No such file or directory: 'pyvex_c'

----------------------------------------

Command "/home/server/.virtualenvs/angr/bin/python2 -c "import setuptools, tokenize;file='/tmp/pip-build-Ttv72W/pyvex/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-DGkElC-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/server/.virtualenvs/angr/include/site/python2.7/pyvex" failed with error code 1 in /tmp/pip-build-Ttv72W/pyvex

@patrafter1999
Copy link
Author

I'm adding the beginning of the log below.

(angr)server@ubuntu:~$ pip install angr
Requirement already satisfied (use --upgrade to upgrade): angr in ./.virtualenvs/angr/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): capstone in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): networkx in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): futures in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): progressbar in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): mulpyplexer in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): cooldict in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): ana in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Requirement already satisfied (use --upgrade to upgrade): archinfo in ./.virtualenvs/angr/lib/python2.7/site-packages (from angr)
Collecting pyvex (from angr)
Using cached pyvex-4.5.12.21.tar.gz
Collecting claripy (from angr)
Using cached claripy-4.5.12.21.tar.gz
Collecting simuvex (from angr)
Using cached simuvex-4.5.12.28.tar.gz
Collecting cle (from angr)
Using cached cle-4.5.12.28.tar.gz
Collecting decorator>=3.4.0 (from networkx->angr)
Using cached decorator-4.0.6-py2.py3-none-any.whl
Collecting pyelftools (from archinfo->angr)
Using cached pyelftools-0.23.tar.gz
Requirement already satisfied (use --upgrade to upgrade): pycparser in ./.virtualenvs/angr/lib/python2.7/site-packages (from pyvex->angr)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.0.3 in ./.virtualenvs/angr/lib/python2.7/site-packages (from pyvex->angr)
Collecting angr-z3 (from claripy->angr)
Using cached angr-z3-4.4.2.post3.tar.gz
Collecting bintrees (from simuvex->angr)
Using cached bintrees-2.0.2.tar.gz
Collecting dpkt-fix (from simuvex->angr)
Using cached dpkt-fix-1.7.tar.gz
Collecting pefile (from cle->angr)
Using cached pefile-1.2.10-114.tar.gz
Collecting idalink (from cle->angr)
Using cached idalink-0.11.tar.gz
Collecting rpyc (from idalink->cle->angr)
Using cached rpyc-3.3.0.tar.gz
Collecting plumbum (from rpyc->idalink->cle->angr)
Using cached plumbum-1.6.1.post0.tar.gz
Installing collected packages: pyvex, angr-z3, claripy, bintrees, dpkt-fix, simuvex, pyelftools, pefile, plumbum, rpyc, idalink, cle, decorator
Running setup.py install for pyvex
...

@vaioco
Copy link

vaioco commented Jan 4, 2016

try to install following the commands in "Development install" section. it worked for me

@patrafter1999
Copy link
Author

Thanks for your reply, vaioco.

DevInstall works in Ubuntu. pip install is broken.

Cheers,

@zardus
Copy link
Member

zardus commented Jan 5, 2016

We finally tracked this down! Version 4.6.1.4 should work straight from pypi :-)

(please reopen if you observe this not being the case)

@zardus zardus closed this as completed Jan 5, 2016
shaymargolis pushed a commit to shaymargolis/pyvex that referenced this issue Jul 16, 2024
ARM: Mark LDMFD SP, {xxx, SP, PC} as a return instruction.
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