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 11-16-2002, 02:00 AM   #1
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
Gee, i got really bloody far!


I'm in Chapter 5, and at the part to check the bash_profile file, to make sure all the settings etc are correct, and when i issue the command:

cat > ~/.bash_profile << "EOF" i just get presented with this prompt:
>

and thats it...WTF?
ive created the lfs user etc all the way they told me to, and just then when i checked lfs's home dir, there is no .bash_profile
also, when i created the user, i dropped the && off the end as it gave me the same prompt (>), and im logged in under him right now, so

Last edited by Grim Reaper; 11-16-2002 at 02:01 AM.
 
Old 11-16-2002, 06:42 AM   #2
TippExed
LQ Newbie
 
Registered: Sep 2002
Location: Glasgow
Distribution: Debian (Knoppix)
Posts: 20

Rep: Reputation: 0
Type the stuff in after that ">", then type EOF and it will create the file! Atleast that's how it's supposed to work, maybe you're systems cat is messed up.
 
Old 11-16-2002, 04:54 PM   #3
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
ah,
LMFAO...i thought it was meant to DISPLAY that file, not for me to type in all those commands...now that makes sense

EDIT: whenever i type a command with && at the end, it goes to a new line with > as the prompt...do i enter the other commands that the book tells me to also, and these will run after the other is finished, without me having to type in each one after the other is finished?

Last edited by Grim Reaper; 11-16-2002 at 06:19 PM.
 
Old 11-16-2002, 07:28 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yes...

&& means "as soon as this command finishes, and if it does with no errors, then do the next step; but if this command finishes with errors, then do not do the next step" or something like that.

& means "regardless of this step finishing or erroring out, do the next step"

cat pretty much means to "show the contents of this file"
cat > and the other parts of that command mean "show the contents of that file, and place these changes there as well"

<<"EOF" means "add all of this until you see me type EOF again"

I hope that helps

Cool
 
Old 11-16-2002, 07:54 PM   #5
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
yeah, makes it crystal clear, tah

I've come to the part of installing bash. My host distro is Slackware 8.1 (MasterC, this isn't the same machine im trying to get WineX up on...thats trying to be done on my main machine ) and ive extracted bash, and done ./configure --enable-static-link --prefix=$LFS/static --with-curses && make && make install

then i get the following error:

h -lreadline -lhistory -lcurses -lglob -ltilde -lmalloc
collect2:ld terminated with signal 15 [Terminated], core dump
make: *** [bash] Error 1

ive tried doing a search on that to see if anybody else has had a simliar problem with no luck...
 
Old 11-19-2002, 05:22 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't know what caused this, but have you checked the mail archives?

I remember a thread a while back, but not which one right now, where a bash problem was presented, and I think someone said this problem has been addressed in the mail archives for LFS. Anyway, that's always a hot spot to check if you haven't, and maybe even a(nother) place to post such questions.

Cool
 
Old 11-19-2002, 06:37 PM   #7
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
don't suppose you have a symlink in /lib or /usr/lib linking libncurses as libcurses ???

its looking to link with -lcurses, you could either add the symlink

ln -sf /lib/libncurses.so /lib/libcurses.so

or edit the Makefile to supply -lncurses as opposed to -lcurses.
 
  


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
problems with the wish command Snerkel Linux - Software 3 08-19-2004 02:06 PM
Problems with the cp command... Killah Linux - Newbie 2 04-05-2004 05:13 PM
Problems with startx command jmillet Linux - Software 4 03-19-2004 02:30 AM
command problems with compiling/everything Zaius Linux - Newbie 5 01-09-2004 08:46 PM
Root Command Problems BittaBrotha Debian 11 07-31-2003 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration