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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-26-2003, 09:43 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Rep:
|
Im am getting this weird problem when loggon on to my root
login as: shad
Sent username "shad"
shad@**.***.***.**'s password:
Last login: Sun Jul 27 10:42:13 2003 from FuX-U.N-Ur.Fam.tk
[: =: unary operator expected
[: too many arguments
[: =: unary operator expected
[: too many arguments
can anyone help me here ?
what must I do ?
|
|
|
07-26-2003, 11:36 PM
|
#2
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
There's something wrong in one of these files:
/etc/profile
/etc/bashrc
~/.bash_profile
~/.bashrc
The error is telling you that bash could not interpret the commands in one of those files because of a syntax error. So, if you've been adding commands to any of those files, double-check them. Make sure the test conditions in the if statements are good, make sure the shell variables have '$' in front of them when they're referenced, etc, etc.
If you're using the versions in the BLFS book, make sure you typed them up exactly the same, including spaces.
If you can't find the problem, then you can go ahead and post the contents of those files in a response, and we'll figure it out.
|
|
|
07-27-2003, 02:54 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Original Poster
Rep:
|
well
I have no idea what so ever to do, I think it is a great idea if you guys paste a tutorial on how to fix this, because I cannot ls or dir on my shell, it says Segment Failed
|
|
|
07-27-2003, 04:35 PM
|
#4
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
Ok, do you have a computer that has internet access and a CD burner?
If so, try to download a live-linux CD from www.linuxiso.org (knoppix prefferably). If you're on dialup, then it will take you a LONG time to get it; it might be easier for me to burn and mail you a copy...
The CD will boot and run a linux system without doing anything to your hard drive. That will give you the opportunity to open up files to correct possible problems. Besides, it's a good idea to have a rescue disk anyway. So go grab it if you can, and I am quite serious about mailing it to you if necessary (everybody should have a copy of Knoppix)
But while you're doing that, you didn't give me anymore clues. Was the computer working to start with? I mean, did it have these problems the very first time you booted after finishing the LFS install?
If yes: did you modify any of the files I mentioned earlier?
If no: did you follow the book exactly, or did you deviate & what packages did you deviate from?
|
|
|
07-28-2003, 04:20 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Original Poster
Rep:
|
thanks for advises, but, Im connecting remotely now, because I am currently foreign now.
Ummm, that I know of ? ... I did not modified any files, is there any way I can possibly correct this problem remotely?
I am connecting through putty
|
|
|
07-28-2003, 04:42 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Original Poster
Rep:
|
another question...
[shad@** psybnc]$ ./psybnc
Configuration File (null) not found, aborting
Run 'make menuconfig' for creating a configuration or create the file manually.
[shad@** psybnc]$
can this be due to the same problem ?
|
|
|
07-28-2003, 08:45 AM
|
#7
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
Is this a Linux From Scratch system? Did you go to www.linuxfromscratch.org and follow their book?
From what you say, I'd have to guess the answer to those questions is "no" because you're "connecting remotely." An LFS system does not support connecting remotely after you finish it.
I do not know anything about putty, so I can't help you there. From what you've told me, all I can say is that there is a problem in one of the four files I originally mentioned. There could be any number of problems within those files, and since you can't post their contents, my hands are tied. I can't help fix the problem if I don't know what it is.
|
|
|
07-28-2003, 02:53 PM
|
#8
|
LQ Newbie
Registered: Jul 2003
Posts: 5
Original Poster
Rep:
|
I thought Linux from scratch - Linux from strart ... or linux for newbies, I had no idea it was a distribution, well, thank you for ur support,and time !!!
|
|
|
07-28-2003, 03:02 PM
|
#9
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
Don't worry about it. I like to help people when I can, but sometimes that means I have to point you to another forum because there aren't a lot of people who browse this one (because of its specific focus). If you look at the number of posts in this forum versus those in others, you'll see what I mean.
I really wish I could help you out more, but all I can suggest is to post in the General or Newbie forum. A lot more people will see it and, undoubtedly, someone with more knowledge than me will respond to it...
Good Luck!
|
|
|
All times are GMT -5. The time now is 03:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|