LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   ERROR: During Make of GCC-4.5.1 - Pass 1 (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-during-make-of-gcc-4-5-1-pass-1-a-853741/)

gau190188 01-02-2011 12:56 PM

ERROR: During Make of GCC-4.5.1 - Pass 1
 
lfs@mini:/media/LFS/gcc-build$ make
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory `/media/LFS/gcc-build'
make[2]: Entering directory `/media/LFS/gcc-build'
make[3]: Entering directory `/media/LFS/gcc-build'
mv: cannot move `gcc' to `stage1-gcc/gcc': Directory not empty
make[3]: *** [stage1-end] Error 1
make[3]: Leaving directory `/media/LFS/gcc-build'
make[2]: *** [stage1-start] Error 1
make[2]: Leaving directory `/media/LFS/gcc-build'
make[2]: Entering directory `/media/LFS/gcc-build'
make[3]: Entering directory `/media/LFS/gcc-build/libiberty'
make[4]: Entering directory `/media/LFS/gcc-build/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/media/LFS/gcc-build/libiberty/testsuite'
make[3]: Leaving directory `/media/LFS/gcc-build/libiberty'
Configuring stage 1 in ./gmp
/media/LFS/sources/gcc-4.5.1/gmp/configure: line 2786: config.log: Permission denied
/media/LFS/sources/gcc-4.5.1/gmp/configure: line 2796: config.log: Permission denied
make[2]: *** [configure-stage1-gmp] Error 1
make[2]: Leaving directory `/media/LFS/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/media/LFS/gcc-build'
make: *** [all] Error 2

druuna 01-02-2011 02:31 PM

Hi,

This: /media/LFS/gcc-build looks wrong.

Assuming $LFS is set to /media/LFS (you're a bit limited with the info you provide) this should read: /media/LFS/sources/gcc-build

You probably did the following step from within the wrong directory:
Quote:

mkdir -v ../gcc-build
cd ../gcc-build
It should be done from the gcc directory (/media/LFS/sources/gcc-4.5.1) and not from the sources directory (/media/LFS/sources).

Hope this helps.


All times are GMT -5. The time now is 10:26 AM.