in reply to Re: Stop bootstrapping!
in thread Stop bootstrapping!

Hi Corion

Thanks for the quick response!

My apologies I've been looking at this for weeks and I've just realized the problem. The issue is because there's a *.c file in the same directory (used for an SUID). ExtUtils must see this and assume that it's meant to be compiling some C despite there being no mention of the file in the Makefile.PL or MANIFEST

I just deleted the C source and it remembered how to do perl.

byron@asmbox:~/asm-restapi$ rm asmctl.c byron@asmbox:~/asm-restapi$ make cp lib/asmapi.pm blib/lib/asmapi.pm cp bin/asmapi.pl blib/script/asmapi.pl ... byron@asmbox:~/asm-restapi$ make distclean byron@asmbox:~/asm-restapi$ touch somthing.c byron@asmbox:~/asm-restapi$ make distclean && perl Makefile.PL byron@asmbox:~/asm-restapi$ make cp lib/asmapi.pm blib/lib/asmapi.pm Running Mkbootstrap for asmapi () chmod 644 "asmapi.bs" rm -f blib/arch/auto/asmapi/asmapi.so cc -shared -L/usr/local/lib -fstack-protector asmapi.o -o blib/arch/ +auto/asmapi/asmapi.so \ \ cc: error: asmapi.o: No such file or directory

Doesn't mention this in the manual.

Thanks anyway!