bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

after patch configure fails


From: Robert Lopez
Subject: after patch configure fails
Date: Tue, 24 Sep 2002 13:59:30 -0600 (MDT)

I found this info when searching the web which
describes the exact problem I had just experienced ....

## FROM: Thomas E. Dickey
## DATE: 09/20/2002 17:30:13
## SUBJECT: RE:  An error message when compiling ncurses 5.2
## 
## On Fri, 20 Sep 2002, Paulin Bekambo wrote:
## 
## > Dear Sir,
## >  I have the following message when compiling ncurses 5.2 in an i386 
platform
## > running a redhat 7.3. Would you help me to fix it?
## 
## That's fixed in the updates under
## ftp://invisible-island.net/ncurses/5.2
## 
## >
## > Thanks,
## > Paulin Bekambo.
## >
## >
## > cd ../objects;
## >
## > c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. -I../include 
-O2
## >  -c ../c++/cursesw.cc
## > In file included from /usr/local/include/c++/3.2/backward/strstream:51,
## >                  from /usr/local/include/c++/3.2/backward/strstream.h:33,
## >                  from ../c++/cursesw.h:17,
## >                  from ../c++/cursesw.cc:25:
## > /usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning:
## > #warning This file includes at least one deprecated or antiquated header.
## > Please consider using one of the 32 headers found in section 17.4.1.2 of 
the
## > C++ standard. Examples include substituting the <X> header for the <X.h>
## > header for C++ includes, or <sstream> instead of the deprecated header
## > <strstream.h>. To disable this warning use -Wno-deprecated.
## > ../c++/cursesw.cc: In member function `int NCursesWindow::scanw(const 
char*,
## >    ...)':
## > ../c++/cursesw.cc:55: no matching function for call to `std::strstreambuf::
## >    vscan(const char*&, char*&)'
## > ../c++/cursesw.cc: In member function `int NCursesWindow::scanw(int, int,
## > const
## >    char*, ...)':
## > ../c++/cursesw.cc:77: no matching function for call to `std::strstreambuf::
## >    vscan(const char*&, char*&)'
## > make[1]: *** [../objects/cursesw.o] Error 1
## > make[1]: Leaving directory `/home/paulin/ncurses-5.2/c++'
## > make: *** [all] Error 2
## >
## >
## >
## > _______________________________________________
## > Bug-ncurses mailing list
## > <EMAIL: PROTECTED>
## > http://mail.gnu.org/mailman/listinfo/bug-ncurses
## >
## 
## -- 
## T.E.Dickey <<EMAIL: PROTECTED>>
## http://invisible-island.net
## ftp://invisible-island.net
## 
## 
## 
## _______________________________________________
## Bug-ncurses mailing list
## <EMAIL: PROTECTED>
## http://mail.gnu.org/mailman/listinfo/bug-ncurses


but after downloading  ncurses-5.2-20020907.tar.gz
and (unsuccessfully) patching with 
ncurses-5.2-20020914.patch
and
ncurses-5.2-20020921.patch

the attempt to ./configure no longer works correctly.

[103]% patch <ncurses-5.2-20020914.patch
patching file NEWS
patching file configure
patching file configure.in
patching file dist.mk
can't find file to patch at input line 261
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/base/lib_box.c
|Prereq:  1.18 
|--- ncurses-5.2-20020907+/ncurses/base/lib_box.c       Sat Feb 23 15:40:06 2002
|+++ ncurses-5.2-20020914/ncurses/base/lib_box.c        Sat Sep 14 21:04:27 2002
--------------------------
File to patch: 
Skip this patch? [y] y
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 335
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/base/lib_screen.c
|Prereq:  1.26 
|--- ncurses-5.2-20020907+/ncurses/base/lib_screen.c    Sat Sep  7 16:21:54 2002
|+++ ncurses-5.2-20020914/ncurses/base/lib_screen.c     Sat Sep 14 19:30:41 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 470
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/base/lib_set_term.c
|Prereq:  1.70 
|--- ncurses-5.2-20020907+/ncurses/base/lib_set_term.c  Sat Aug 31 15:44:52 2002
|+++ ncurses-5.2-20020914/ncurses/base/lib_set_term.c   Sat Sep 14 18:48:00 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 492
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/base/lib_window.c
|Prereq:  1.20 
|--- ncurses-5.2-20020907+/ncurses/base/lib_window.c    Sat Sep  7 16:28:46 2002
|+++ ncurses-5.2-20020914/ncurses/base/lib_window.c     Sat Sep 14 19:28:02 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 625
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/tinfo/lib_tparm.c
|Prereq:  1.59 
|--- ncurses-5.2-20020907+/ncurses/tinfo/lib_tparm.c    Sat Sep  7 16:50:03 2002
|+++ ncurses-5.2-20020914/ncurses/tinfo/lib_tparm.c     Sat Sep 14 18:36:13 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 654
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/tty/lib_mvcur.c
|Prereq:  1.85 
|--- ncurses-5.2-20020907+/ncurses/tty/lib_mvcur.c      Sat Jun  2 21:48:29 2001
|+++ ncurses-5.2-20020914/ncurses/tty/lib_mvcur.c       Sat Sep 14 19:02:06 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
6 out of 6 hunks ignored
can't find file to patch at input line 717
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/widechar/lib_box_set.c
|Prereq:  1.2 
|--- ncurses-5.2-20020907+/ncurses/widechar/lib_box_set.c       Sat Mar 23 
16:35:24 2002
|+++ ncurses-5.2-20020914/ncurses/widechar/lib_box_set.c        Sat Sep 14 
20:18:05 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 739
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/ncurses.c
|Prereq:  1.179 
|--- ncurses-5.2-20020907+/test/ncurses.c       Sun Sep  1 17:00:44 2002
|+++ ncurses-5.2-20020914/test/ncurses.c        Sat Sep 14 20:39:33 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 764
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/testcurs.c
|Prereq:  1.30 
|--- ncurses-5.2-20020907+/test/testcurs.c      Sat Jun 29 19:32:18 2002
|+++ ncurses-5.2-20020914/test/testcurs.c       Sat Sep 14 18:45:15 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
3 out of 3 hunks ignored
[104]% patch <ncurses-5.2-20020921.patch
patching file NEWS
patching file aclocal.m4
patching file configure
patching file dist.mk
can't find file to patch at input line 234
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: man/curs_attr.3x
|Prereq:  1.25 
|--- ncurses-5.2-20020914+/man/curs_attr.3x     Sat Jun 29 17:56:31 2002
|+++ ncurses-5.2-20020921/man/curs_attr.3x      Sat Sep 21 15:50:06 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
6 out of 6 hunks ignored
can't find file to patch at input line 328
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: man/curs_bkgd.3x
|Prereq:  1.17 
|--- ncurses-5.2-20020914+/man/curs_bkgd.3x     Sat Jul 20 10:50:13 2002
|+++ ncurses-5.2-20020921/man/curs_bkgd.3x      Sat Sep 21 15:46:26 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 372
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: man/curs_getyx.3x
|Prereq:  1.7 
|--- ncurses-5.2-20020914+/man/curs_getyx.3x    Sat Sep  7 15:02:28 2002
|+++ ncurses-5.2-20020921/man/curs_getyx.3x     Sat Sep 21 15:00:38 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 424
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: man/manlinks.sed
|Prereq:  1.9 
|--- ncurses-5.2-20020914+/man/manlinks.sed     Sat Sep 30 19:32:24 2000
|+++ ncurses-5.2-20020921/man/manlinks.sed      Sat Sep 21 15:02:03 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 445
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/base/lib_initscr.c
|Prereq:  1.30 
|--- ncurses-5.2-20020914+/ncurses/base/lib_initscr.c   Sat Sep  7 14:11:20 2002
|+++ ncurses-5.2-20020921/ncurses/base/lib_initscr.c    Sat Sep 21 15:26:23 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 482
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: ncurses/base/lib_overlay.c
|Prereq:  1.20 
|--- ncurses-5.2-20020914+/ncurses/base/lib_overlay.c   Tue Dec 18 20:06:37 2001
|+++ ncurses-5.2-20020921/ncurses/base/lib_overlay.c    Sat Sep 21 19:03:32 2002
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
4 out of 4 hunks ignored
<snip>
[108]% ./configure
Configuring NCURSES 5.3 ABI 5 (Tue Sep 24 13:08:30 MDT 2002)
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
Configuring for hpux11.00
checking for prefix... /usr/local
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot 
create executables


Since the documentation files were patched I suppose I
used the patch command correctly. The dir name ending
in `+' is a concern to me. 

But, even without the patches being successful, the
configure no longer works correctly.  It did not have
this problem with the ncurses-5.2 just moment before
and after the above.  So, I think configure is now
broken.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]