fredericgermain / valgrind

svn2git clone of SVN repo svn://svn.valgrind.org/valgrind, with patches for macOS
GNU General Public License v2.0
17 stars 17 forks source link

homebrew branch: make fails #1

Closed calvinchengx closed 10 years ago

calvinchengx commented 10 years ago

I was attempting to compile this on Mac OS 10.9.

./autogen.sh works fine. ./configure works fine as well.

But I ran into this error when I attempted make.

(git)-[homebrew] 34 s005 Sun 4 May 16:59 | ~/work/valgrind |
calvin % make
make  all-recursive
make[1]: Entering directory '/Users/calvin/work/valgrind'
Making all in include
make[2]: Entering directory '/Users/calvin/work/valgrind/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/Users/calvin/work/valgrind/include'
Making all in VEX
make[2]: Entering directory '/Users/calvin/work/valgrind/VEX'
make[2]: *** No rule to make target 'auxprogs/genoffsets.c', needed by 'pub/libvex_guest_offsets.h'.  Stop.
make[2]: Leaving directory '/Users/calvin/work/valgrind/VEX'
Makefile:740: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/Users/calvin/work/valgrind'
Makefile:608: recipe for target 'all' failed
make: *** [all] Error 2
fredericgermain commented 10 years ago

Hi Calvin, I separated VEX/ as a submodule (you can see a link icon in https://github.com/fredericgermain/valgrind/tree/homebrew) you probably need to do that :

git submodule init git submodule update

calvinchengx commented 10 years ago

Ah, right. That make sense now. Thank you!

Btw, noted here - http://calvinx.com/2014/05/04/valgrind-on-mac-os-x-10-9-mavericks/