LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS SVN-20091020 Adjusting the Toolchain (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-svn-20091020-adjusting-the-toolchain-765224/)

Halloween_Devil 10-29-2009 02:05 AM

LFS SVN-20091020 Adjusting the Toolchain
 
Hello,
I have a desktop I'm building from the LFS SVN-20091020, the host operating system is Kubuntu 9.04.
The part I am having problems with is 5.8 Adjusting the Toolchain.
When executing:
Code:

$LFS_TGT-gcc -dumpspecs | sed \
  -e 's@/lib\(64\)\?/ld@/tools&@g' \
  -e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS

I receive:
Code:

bash: /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.2/specs: Permission denied
Using the sudo command only tells me that "i686-lfs-linux-gnu-gcc: command not found"

Thanks for your time.

Halloween_Devil 10-31-2009 02:26 PM

The location that SPECS pointed to had the owner as root, a simple chown command solved the problem for me.


All times are GMT -5. The time now is 01:07 PM.