Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 22:29:02 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Cc:        olli@lurza.secnetix.de, dickey@invisible-island.net, rafan@FreeBSD.org
Subject:   Build ncurses from sources HOWTO?
Message-ID:  <926661.84257.qm@web57014.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

I'm learning to build ncurses-5.6 from sources (ie. outside of ports) on i386 FreeBSD 7.0 (RELENG_7).

As the first step, I want to make sure I patch the ncurses-5.6.tar.gz correctly. Here is what I do:

1. Download ncurses-5.6.tar.gz from http://ftp.gnu.org/pub/gnu/ncurses/
2. Download patches from ftp://invisible-island.net/ncurses/5.6/

3. Unpack
    tar xzf ncurses-5.6.tar.gz
    cd ncurses-5.6

4. Patch
    sh ../patch-5.6-20080621.sh
    patch -Np1 -i ../ncurses-5.6-20080628.patch
    patch -Np1 -i ../ncurses-5.6-20080705.patch
    patch -Np1 -i ../ncurses-5.6-20080712.patch
    patch -Np1 -i ../ncurses-5.6-20080713.patch
    patch -Np1 -i ../ncurses-5.6-20080726.patch
    patch -Np1 -i ../ncurses-5.6-20080804.patch

5. Post patch
    sed -i '' -e 's,$(INSTALL_PROG) ncurses-config,@INSTALL_SCRIPT@ ncurses-config,' misc/Makefile.in
    rm -rfv tack Ada95/src/terminal_interface-curses.adb mkinstalldirs

Here are my questions:
1. Have I patched correctly? Are there anymore patches to apply or have I patch too much?

2. Are there anymore Post patch actions to be performed?

Your help in this regard is very much appreciated and many thanks in advance.

Kind regards
Unga


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?926661.84257.qm>