I am trying to compile emacs as a prerequisite to attempting Linux From Scratch
I have a brand new Ubuntu VM.
So I unpackaged emacs and run
./configure
make
and get
make[1]: Entering directory
/home/george/dev/emacs-23.3/src' gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/home/george/dev/emacs-23.3/src -D_BSD_SOURCE -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign -MMD -MF deps/pre-crt0.d pre-crt0.c make[1]: *** No rule to make target/usr/lib/crt1.o', needed bytemacs'. Stop. make[1]: Leaving directory/home/george/dev/emacs-23.3/src' make: * [src] Error 2
On a suggestion from a friend I do
george@lfs-host:~/dev/emacs-23.3$ gcc -print-file-name=crt1.o
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/crt1.o
and then
make distclean;
./configure --without-x --with-crt-dir=/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/
make
and get the same error
Every variation of this that I can think of and still get the same errors. What is my next step?