From: anonymous c. <nas...@us...> - 2016-07-30 03:48:57
|
# git clone git://repo.or.cz/nasm.git nasm # ./autogen.sh # ./configure # make [...] In file included from asm/nasm.c:48: In file included from ./include/nasm.h:45: ./asm/preproc.h:42:10: fatal error: 'pptok.h' file not found #include "pptok.h" ^ 4 warnings and 1 error generated. make: *** [asm/nasm.o] Error 1 # ls asm/pptok.* asm/pptok.dat asm/pptok.pl # asm/pptok.pl Can't locate phash.ph in @INC (did you run h2ph?) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at asm/pptok.pl line 39. # h2ph Cannot open /Library/Perl/5.18/darwin-thread-multi-2level/_h2ph_pre.ph: Permission denied at /usr/bin/h2ph5.18 line 756. # make asm/pptok.h perl -I./perllib -I. ./asm/pptok.pl h \ ./asm/pptok.dat asm/pptok.h # ls asm/pptok.* asm/pptok.dat asm/pptok.h asm/pptok.pl # make [...] In file included from asm/nasm.c:48: ./include/nasm.h:46:10: fatal error: 'insnsi.h' file not found #include "insnsi.h" /* For enum opcode */ ^ 4 warnings and 1 error generated. make: *** [asm/nasm.o] Error 1 The problem then repeats itself for every script-generated file. I can manually invoke make for each of them, to get closer by each step. But clearly that's not what's supposed to happen... |