[Emacs]How to fix: "No rule to make target `/usr/lib/crt1.o', needed by `temacs'. Stop"

When you see this error while compiling Emacs 23.4 on Ubuntu ,
No rule to make target `/usr/lib/crt1.o', needed by `temacs'. Stop
Just try this.
$ gcc -print-file-name=crt1.o
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/crt1.o
$ ./configure --without-x --with-crt-dir=/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/
$ make
$ sudo make install
Enjoy! :)
カテゴリ: