LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-12-2005, 04:23 AM   #1
EPM_Students
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
gcc not found in chrooted user


when i try to use de "make" command to compile the man pages just after chrooting, it retrieves an error saying that it cannot find gcc, if i issue
Code:
ls /tools/bin
the gcc and cc symlink appear listed, but if i try to run /tools/bin/gcc it tells me gcc can not be found. In a not chrooted user everything works as it should. Does someone have any idea why this is happening, and how can i solve it?

thanks in advance
cristovao
 
Old 04-12-2005, 04:25 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what directories are in your $PATH?
 
Old 04-12-2005, 04:52 AM   #3
EPM_Students
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I don know what directories are in the $PATH because i'm not in the computer where i'm doing lfs, all i know is that i did stick to the book.
The only thing about gcc is that i used only one package which i downloaded from http://freshmeat.net/projects/gcc/, is it necessary to use the two packages (core and g++) as mentioned in the book?

Last edited by EPM_Students; 04-12-2005 at 06:23 AM.
 
Old 04-12-2005, 04:58 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
no if you got the "all-in-one" tarball you have it all. try to chroot again and make sure your commands coincide directly with the book, it should pick up /tools/bin
 
  


Reply


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
GCC not found? newuser455 Linux - Software 4 06-27-2005 02:55 AM
gcc vs. g++ -> iostream lib found vs. not found CooManChu Linux - General 1 12-11-2004 09:20 AM
ProFTPD for chrooted users (/home/hosting/user) ? Niels@debian Linux - Software 5 08-12-2004 07:38 PM
about vsftp chrooted user... raymond Linux - General 5 08-18-2003 09:20 PM
gcc, cc, cl Not Found ? sogtulakk Linux - General 5 06-26-2003 09:00 AM


All times are GMT -5. The time now is 09:23 PM.

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