Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 07-25-2007, 12:51 PM   #1
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
[CLFS] Can't run "make menuconfig"

I've been working on CLFS -- version 1.0.0-x86_64-Multilib -- for a couple of days and it's been going well.

Today I got to the point of installing the kernel (sec. 12.3.1 of CLFS book), and I'm coming up with this error when I run "make menuconfig":

root:/sources/linux- make menuconfig
  HOSTCC  scripts/basic/fixdep
gcc: error trying to exec 'as': execvp: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Any advice, anyone? Let me know if other info is needed.

This is the stock kernel, of course.

Thank you.
Old 07-25-2007, 01:39 PM   #2
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 37
error trying to exec 'as'
I'm guessing here. as is part of binutils and exec cannot find it. So, where is it?

What does "which as" produce. Maybe something went wrong when you compiled binutils and it failed to install. (Maybe you forgot to run make install ...). It's possible that throughout chapter 6 you have been using the toolchain "as", and usually at this point the toolchain has been removed, which is why you are only getting the error now.

If this is the case I am not sure how one would recover from this... but this is only wild speculation anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
does "make menuconfig" affect whether kernel is 32 or 64 bit? humbletech99 Linux - General 3 05-19-2006 05:27 PM
Is it possible to use "make menuconfig" ONLY for new options after a Kernel upgrade ? nasty_daemon Linux - General 9 09-08-2005 11:21 AM
Slack 9.1 & "make menuconfig" options bawbag Slackware 3 10-08-2003 02:49 AM
debian woody: error at "make menuconfig" Lingo Linux - Newbie 3 11-29-2002 05:10 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration