|
From: <pl...@pi...> - 2008-01-21 15:26:02
|
Hi, I am trying to build a minimum sized installation for use on an arm SBC = = using crosstools on debian 3.1 Mostly it seems to be going perfectly but I have a couple of hitches. Firstly gnuplot.gih is about half a meg that I could do without. It's = addind about 25% to the foot print and will be totally useless on the = headless target. Is there (or should there be) a means to take this out = of = the build options? I could of course just delete it but that's a hack and I dont know if it= = will cause a failure at runtime. Also it appears not to get built by `make` but during `make install` it = = seems to be detected as missing and an attempt is made to build it. This= = suggests an error in the make files. prof@debbox:~/tmp/gnuplot$ ./configure --without-x --without-tutorial = --without-pdf --without-cairo --disable-wxwidgets --without-gd --with-readline=3Dbuiltin --prefix=3D/debsTS/usr --host=3Darm-linux su make install .... make[3]: Leaving directory `/home/prof/tmp/gnuplot/src/wxterminal' make[2]: Leaving directory `/home/prof/tmp/gnuplot/src/wxterminal' make[2]: Entering directory `/home/prof/tmp/gnuplot/src' arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=3D\"/debsTS/usr/bin\" -DX11_DRIVER_DIR=3D\"/debsTS/usr/libexec/gnuplot/4.3\" -DGNUPLOT_PS_DIR=3D\"/debsTS/usr/share/gnuplot/4.3/PostScript\" -DCONTACT=3D\"gnu...@li...\" -DHELPFILE=3D\"/debsTS/usr/share/gnuplot/4.3/gnuplot.gih\" -DGNUPLOT_X11=3D\"`echo gnuplot_x11 | sed 's,x,x,'`\" -g -O2 -MT alloc= .o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c /bin/sh: line 1: arm-linux-gcc: command not found make[2]: *** [alloc.o] Error 127 make[2]: Leaving directory `/home/prof/tmp/gnuplot/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/prof/tmp/gnuplot/src' make: *** [install-recursive] Error 1 This error is coming to light since root does not have the cross compile= r = in its path. If I try install as user (which it does not have write perm= s = for) it creates the gih and then root can install it. Again it seems wro= ng = that it only gets build by make install rather than make. Root should no= t = need to build anything to run install and finally, as I said I do not wa= nt = the gih file anyway. ./configure tells me that help is always build . This seems to be half = correct. I would be best for this installation if I could be opted out. What is the best way to clean this up? Thanks in advance, Peter. |