LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-27-2011, 01:30 PM   #1
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware64 14.0, LFS 7.4
Posts: 51

Rep: Reputation: 4
Binutils - 6.13 again - check error


The expect -c "spawn ls" give me this:
Code:
spawn ls
The system has no more ptys.  Ask your system administrator to create more.
    while executing
spawn ls
The build goes fine, but the check...

Code:
WARNING: Couldn't find the global config file.
make[5]: *** [check-DEJAGNU] Error 1
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-binutils] Error 2
WARNING: Couldn't find the global config file.
send: spawn id exp0 not open
    while executing
"send_user "$message\n""
    ("default" arm line 2)
    invoked from within
"switch -glob "$firstword" {
	"PASS:" -
	"XFAIL:" -
	"KFAIL:" -
	"UNRESOLVED:" -
	"UNSUPPORTED:" -
	"UNTESTED:" {
	    if {$all_flag} {
		send_user "$m..."
    (procedure "clone_output" line 10)
    invoked from within
"clone_output "Running $test_file_name ...""
    (procedure "runtest" line 9)
    invoked from within
"runtest $test_name"
    ("foreach" body line 42)
    invoked from within
"foreach test_name [lsort [find ${dir} *.exp]] {
			if { ${test_name} == "" } {
			    continue
			}
			# Ignore this one if asked to.
			if { ${ignore..."
    ("foreach" body line 54)
    invoked from within
"foreach dir "${test_top_dirs}" {
		if { ${dir} != ${srcdir} } {
		    # Ignore this directory if is a directory to be
		    # ignored.
		    if {[info..."
    ("foreach" body line 121)
    invoked from within
"foreach pass $multipass {

	# multipass_name is set for `record_test' to use (see framework.exp).
	if { [lindex $pass 0] != "" } {
	    set multipass_..."
    ("foreach" body line 51)
    invoked from within
"foreach current_target $target_list {
    verbose "target is $current_target"
    set current_target_name $current_target
    set tlist [split $curren..."
    (file "/tools/share/dejagnu/runtest.exp" line 1624)

make[4]: *** [check-DEJAGNU] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[2]: Target `check' not remade because of errors.
make[1]: *** [check-gas] Error 2
WARNING: Couldn't find the global config file.
make[5]: *** [check-DEJAGNU] Error 1
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-ld] Error 2
make[1]: Target `check-host' not remade because of errors.
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.

Last edited by jimmy_page_89; 11-27-2011 at 01:38 PM.
 
Old 11-27-2011, 02:50 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

You need to resolve the The system has no more ptys. Ask your system administrator to create more. error before you can continue.

Have a look here: FAQ - No pty's

Remember to remove the soure and build directory before you restart with binutils.

Hope this helps.
 
Old 11-27-2011, 02:58 PM   #3
Bertical
Member
 
Registered: Oct 2008
Distribution: Slackware
Posts: 65

Rep: Reputation: 5
Modern kernels allocate ptys on demand. To find out the maximum number of pseudo terminals available :

Code:
lfs:~$ cat /proc/sys/kernel/pty/max
4096
To find out how many are being used :

Code:
lfs:~$ cat /proc/sys/kernel/pty/nr
242


If you are root you can change the maximum number of ptys ( e.g. 2048 )

Code:
root@qwerty:~# echo 2048 > /proc/sys/kernel/pty/max
root@qwerty:~# cat /proc/sys/kernel/pty/max
2048
 
Old 11-27-2011, 03:20 PM   #4
jimmy_page_89
Member
 
Registered: Sep 2010
Location: Turin (Italy)
Distribution: Slackware64 14.0, LFS 7.4
Posts: 51

Original Poster
Rep: Reputation: 4
Thanks a lot! It was the /dev/ptmx on faqs
 
Old 11-27-2011, 03:22 PM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
You're welcome
 
  


Reply

Tags
binutils, lfs, ptys


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
nvidia display drivers installation error with binutils, binutils allready installed mandrakeBren Linux - Newbie 9 01-06-2009 12:52 PM
Binutils make check failure c19h28O2 Linux From Scratch 1 05-28-2006 03:05 PM
binutils make check error suzuki_babu Linux - Software 0 05-02-2006 01:47 AM
Binutils Check Error LinuxLuvr Linux From Scratch 1 07-21-2005 04:07 PM
binutils make check fails atari24 Linux From Scratch 1 07-10-2004 03:08 PM


All times are GMT -5. The time now is 08:41 AM.

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