When I compiled gcc-3.2.1, I had the ncurses-5.2 include files
in /usr/include/*curses.h.  After I had successfully built
gcc, I decided to use it to build ncurses-5.3, which has just been
released recently. Ncurses-5.3 built successfully.  Some packages
that use ncurses that I tried building with gcc-3.2.1 do NOT
build properly anymore.  The build breaks when the ncurses include
files are used.

It looks like when gcc is built, it fixes ALL the include files
in /usr/include that need fixing (including *curses.h), and
saves the fixed copies in /usr/lib/gcc-lib/i386*/3.2.1/include.
Now ncurses-5.3 made some changes in curses.h, but fixed copies
were not made for use by gcc, since ncurses does not know how to
do that. So I just rebuilt gcc-3.2.1 with the new ncurses-5.3 include
files (a very painfully long process).  The newly built gcc now
works properly.

I think the moral of this story is this:  Have all the include
files of the most recent versions of ALL libraries available
in /usr/include BEFORE building the most recent version of gcc.

P~Manalastas
  

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to