Results 11 to 13 of 13
Yesterday I did try ./configure --with-crt-dir=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/ No dice......
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-15-2012 #11
Yesterday I did try ./configure --with-crt-dir=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/
- 04-15-2012 #12
So this is what I did to compile emacs from source. This is on Linux Mint 12.
After a successful download, I cd'd into the emacs directory and ranCode:
configure: error: crt*.o not found. Use --with-crt-dir to specify the location.Code:
sudo find / -name "crt*.o"Code:
/usr/lib/x86_64-linux-gnu/crt1.o /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/x86_64-linux-gnu/crtn.o /usr/lib/fpc/2.4.4/units/x86_64-linux/rtl/crt.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginT.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtfastmath.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtprec32.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtprec64.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbegin.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtprec80.oCode:
configure: error: The following required libraries were not found: libXpm libjpeg libgif/libungif libtiff Maybe some development libraries/packages are missing? If you don't want to link with them give --with-xpm=no --with-jpeg=no --with-gif=no --with-tiff=no as options to configureCode:
sudo apt-get install libtiff4-dev libjpeg-dev libgif-dev libxpm-devCode:
There appeared to be no errors so I ranCode:
sudo make install
The upshot is that the patch is only required when using the Debian source. Talking of patch, I'll put together a brief intro and post here.
Also, while deleting and re-extracting will work, you should also be able to useCode:
sudo make uninstall
- 05-04-2012 #13
Well, I finally got a chance to sit and play with this for a while. I never received any errors when I ran ./configure, but I followed some of of your following instructions to point it to the right directory for the crt file just to make sure. I also made sure I had headers installed but received the same error when I ran make and it bombed out with error 2. I don't want to let this thing beat me, but not sure what else to try.
Open for any suggestions. This is supposed to be the "warmup" to prepare for Linux From Scratch and I am concerned I can't master the warmup...