Re: printf does not always display warning messages on write errors

2009-09-03 Thread Stefano Lattarini
At Thursday 03 September 2009, Chet Ramey chet.ra...@case.edu wrote:

 Thanks for the report.  This will be fixed in the next version.
Good! And thanks to you for your quick answers and your useful 
software.

 Chet
Regards,
   Stefano




Re: Who handles fails to build problems for bash?

2009-09-03 Thread Chet Ramey
Tovrea, George W (US SSA) wrote:
 Tried adding each of -lcurses and -lncurses with the following results:
 
 /home/users/tovrea/local/sgi6/bin/ld: non-dynamic relocations refer to 
 dynamic symbol PC
 /home/users/tovrea/local/sgi6/bin/ld: failed to set dynamic section sizes: 
 Bad value
 collect2: ld returned 1 exit status

I've not seen this before, nor do I have any SGI boxes to look at, so there
will be some amount of blind shooting here.

You could try adding -DNEED_EXTERN_PC to the value of the LOCAL_CFLAGS
variable in lib/readline/Makefile and remaking terminal.o.  This changes
how PC is declared.  Then relink and see if that fixes the problem.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/




RE: Who handles fails to build problems for bash?

2009-09-03 Thread Tovrea, George W (US SSA)
Thanks, that seemed to do the trick. I made the change you suggested, did make 
clean in .../lib/readline, then make, then ../../make and it linked 
correctly. make check seemed OK with a few odd messages like 

warning: ... If the tests of the
warning: process substitution mechanism fail, please do not consider
warning: this a test failure

Thanks for the help :-))

Bill T.

-Original Message-
From: Chet Ramey [mailto:chet.ra...@case.edu] 
Sent: Thursday, September 03, 2009 7:44 AM
To: Tovrea, George W (US SSA)
Cc: bug-bash@gnu.org; chet.ra...@case.edu
Subject: Re: Who handles fails to build problems for bash?

Tovrea, George W (US SSA) wrote:
 Tried adding each of -lcurses and -lncurses with the following results:
 
 /home/users/tovrea/local/sgi6/bin/ld: non-dynamic relocations refer to 
 dynamic symbol PC
 /home/users/tovrea/local/sgi6/bin/ld: failed to set dynamic section sizes: 
 Bad value
 collect2: ld returned 1 exit status

I've not seen this before, nor do I have any SGI boxes to look at, so there
will be some amount of blind shooting here.

You could try adding -DNEED_EXTERN_PC to the value of the LOCAL_CFLAGS
variable in lib/readline/Makefile and remaking terminal.o.  This changes
how PC is declared.  Then relink and see if that fixes the problem.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/