VEX error while executing autogen.sh on MAC OS X Yosemite
saifthe1 opened this issue · comments
Hi,
I am trying to build valgrind from source on MAC OS X Yosemite, I followed the instructions on readme file by running autogen however on running automaker -a it generates and error, it complains about ./VEX directory not found. Please could you suggest something.
Thanks,
Saif
I am having the same issue. And, svn co svn://svn.valgrind.org/valgrind/trunk
gives Connection refused
. I haven't found another alternative for getting the latest sources.
Just replicated this issue on Ubuntu and Centos. The guilty commit is
running: aclocal
running: autoheader
running: automake -a
Makefile.am:21: error: required directory ./VEX does not exist
error: while running 'automake -a'
valgrind$ git bisect bad
127950a8d6f5784e382701a20523dccd41d576fd is the first bad commit
commit 127950a8d6f5784e382701a20523dccd41d576fd
Author: sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date: Mon Sep 2 12:44:52 2013 +0000
Rename configure.in to configure.ac to make more recent auto*s happy,
and also add the automake option "subdir-objects". As advisde by
Tromey and Mjw.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13521 a5019735-40e9-0310-863c-91ae7b9d1cf9
:000000 100644 0000000000000000000000000000000000000000 d32d03b63c404e21ef5c48c19b6c641aa2a16df0 A configure.ac
:100644 000000 9b1c7020315977143b47b31eb3fa0eae90f09a9b 0000000000000000000000000000000000000000 D configure.in
However, before this, the error message was
coregrind/Makefile.am:442: warning: source file 'm_replacemalloc/vg_replace_malloc.c' is in a subdirectory,
coregrind/Makefile.am:442: but option 'subdir-objects' is disabled
error: while running 'automake -a'
so ostensibly this fixed some problem. . .
Found a workaround by just mkdir VEX
, but this only gets me past the ./configure
step; the make
step fails with
valgrind$ make
make all-recursive
make[1]: Entering directory `/home/nthompson/valgrind'
Making all in include
make[2]: Entering directory `/home/nthompson/valgrind/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nthompson/valgrind/include'
Making all in VEX
make[2]: Entering directory `/home/nthompson/valgrind/VEX'
make[2]: *** No rule to make target `auxprogs/genoffsets.c', needed by `pub/libvex_guest_offsets.h'. Stop.
make[2]: Leaving directory `/home/nthompson/valgrind/VEX'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nthompson/valgrind'
make: *** [all] Error 2