LinuxQuestions.org
Review your favorite Linux distribution.
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 05-07-2007, 08:45 AM   #1
ravi.xolve
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
expect -c "spawn ls" Problem


I am making an LFS system for the first time. I get a small problem while compiling GCC, Pass-2.
(http://www.linuxfromscratch.org/lfs/...gcc-pass2.html)

It instructs us to issue the command

expect -c "spawn ls"

and see if we get the output like

The system has no more ptys.
Ask your system administrator to create more.

While logged in as lfs user I get this message, but when I am as my normal user of the host distro I don't get such message. I've /dev/ptmx and /dev/pts with correct entries.

Please help!
 
Old 05-07-2007, 11:10 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

There's not enough information to point you to a specific solution.

Most important: Which distro are you using as host/base?
Did you check everything that's in the FAQ mentioned on the gcc-4.0.3 pass 2 page (this LFS FAQ)?

BTW: If you use the LFS liveCD as base, you will not encounter this problem.

Hope this helps.
 
  


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
expect -c "spawn ls" The system has no more ptys status1 Linux From Scratch 12 03-29-2008 08:51 PM
vpnc spawned from "expect" killed upon exit saravkrish Linux - General 1 01-29-2007 08:17 PM
My KPPP says "Expect: CONNECT" and then restart dialing again!!! A.Elkaysh Linux - Networking 1 08-17-2006 05:25 AM
error in 6.13 binutils~ expect -c"spawn ls" sharmashikha Linux From Scratch 1 06-21-2005 11:53 AM
Expect script throws "open(slave pty): bad file number" error KNut Linux - Newbie 0 02-24-2004 12:24 PM

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

All times are GMT -5. The time now is 12:28 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