bug-ncurses
[Top][All Lists]
Advanced

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

Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6


From: Ethan Butterfield
Subject: Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6
Date: Sun, 8 Oct 2000 22:34:56 -0700
User-agent: Mutt/1.3.5i

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just tried to compile & install the current beta (20001004) ncurses-5.1
version on Solaris 2.6, using gcc 2.95.2. Building goes fine, but
installation fails most of the way through with this:

* Building terminfo database, please wait...
** adjusting tabset paths
Running tic to install /opt/share/terminfo ...

        You may see messages regarding unknown capabilities, e.g., AX.
        These are extended terminal capabilities which can be compiled
        using
                tic -x
        Read the INSTALL document before doing this - it can cause
        problems for older ncurses applications.

tic: Too many file names.  Usage:
        tic [-V] [-v[n]] [-e names] [-CILNRTcfrswx1] source-file
? tic could not build /opt/share/terminfo


Checking into it, it looks as if the version of tic build in the 20001004
source has changed its args a bit. The misc/run_tic.sh script tries to run 

./shlib tic -s /tmp/3783 -o /opt/share/terminfo

which fails as -s isn't an arg for "source" anymore. Switch the -s and -o
args around, and everything runs fine. Below is a minor diff -u which will
fix the run_tic.sh script.

% diff -u run_tic.sh.old run_tic.sh.new
- --- run_tic.sh.old      Sun Oct  8 22:32:35 2000
+++ run_tic.sh.new      Sun Oct  8 22:32:17 2000
@@ -105,7 +105,7 @@
        problems for older ncurses applications.

 EOF
- -if ( $srcdir/shlib tic$suffix -s $source -o $TERMINFO )
+if ( $srcdir/shlib tic$suffix -o $TERMINFO -s $source )
 then
        echo '** built new '$TERMINFO
 else


I don't know if this is a problem under other OS's, or if the -s arg
(which now prints summary information) is actually needed.

- -- 

   Silence must be heard. Noise should be observed.
-----BEGIN PGP SIGNATURE-----
Comment: For info see http://www.gnupg.org

iD8DBQE54Vj/36NTGsm+2Z4RAoB2AJ0QMrA9KBM43tBUDjeBDzTUmp3zeACg6eee
fWWc55wjhS+6gZW3b8AlStw=
=pGKh
-----END PGP SIGNATURE-----



reply via email to

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