bug-ncurses
[Top][All Lists]
Advanced

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

INSTALL


From: Martin MOKREJÅ 
Subject: INSTALL
Date: Tue, 14 May 2002 19:23:49 +0200 (CEST)

Hi,
  there're some problems to reach you. :(

I've one more note the the original e-mail attached:

cd ../objects;  cc -I../ncurses -I.  -I. -I../include 
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22  -c 
../ncurses/./base/safe_sprintf.c
cd ../objects;  cc -I../ncurses -I.  -I. -I../include 
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22  -c 
../ncurses/./tty/tty_update.c
cd ../objects;  cc -I../ncurses -I.  -I. -I../include 
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22  -c 
../ncurses/./trace/varargs.c
cd ../objects;  cc -I../ncurses -I.  -I. -I../include 
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22  -c 
../ncurses/./base/memmove.c
cd ../objects;  cc -I../ncurses -I.  -I. -I../include 
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22  -c 
../ncurses/./base/sigaction.c
cd ../objects;  cc -I../ncurses -I.  -I. -I../include 
-I/usr/local/include/ncurses -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22  -c 
../ncurses/./base/vsscanf.c
cc-1185 cc: WARNING File = ../ncurses/./base/vsscanf.c, Line = 268
  An enumerated type is mixed with another type.

                            if ((check = final_ch(format[n], other)) != 
cUnknown) {
                                                             ^

cc-1185 cc: WARNING File = ../ncurses/./base/vsscanf.c, Line = 271
  An enumerated type is mixed with another type.

                            } else if ((check = other_ch(format[n])) != 
oUnknown) {
                                              ^



Couldn't the make process do chdir() just once and then compile?
I think it really slows down the process.

--
Martin Mokrejs <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3616 , fax: +49-89-3187 3585

---------- Forwarded message ----------
From: Mail Delivery Subsystem <address@hidden>
To: address@hidden
Date: Tue, 14 May 2002 18:54:05 +0200 (MDT)
Subject: Err-Unknown,dickey,INSTALL

The original message was received at Tue, 14 May 2002 18:54:04 +0200 (MDT)
from tao.natur.cuni.cz [195.113.56.1]

   ----- The following addresses had permanent fatal errors -----
<address@hidden>
    (reason: 550 Unknown local part dickey in <address@hidden>)

   ----- Transcript of session follows -----
... while talking to mx2.veriomail.com.:
>>> DATA
<<< 550 Unknown local part dickey in <address@hidden>
550 5.1.1 <address@hidden>... User unknown
<<< 503 Valid RCPT TO <recipient> must precede DATA
Reporting-MTA: dns; natur.cuni.cz
Received-From-MTA: DNS; tao.natur.cuni.cz
Arrival-Date: Tue, 14 May 2002 18:54:04 +0200 (MDT)

Final-Recipient: RFC822; dickey@clark.net
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mx2.veriomail.com
Diagnostic-Code: SMTP; 550 Unknown local part dickey in <dickey@clark.net>
Last-Attempt-Date: Tue, 14 May 2002 18:54:05 +0200 (MDT)
--- Begin Message --- Subject: INSTALL Date: Tue, 14 May 2002 18:54:03 +0200 (CEST)
Hi Thomas,
  I'm going through the INSTALL file and have some comments,
hope they help: ;)

INSTALLATION PROCEDURE:
----------------------

1.  First, decide whether you want ncurses to replace your existing library (in
    which case you'll need super-user privileges) or be installed in parallel
    with it.

    The --prefix option to configure changes the root directory for installing
    ncurses.  The default is in subdirectories of /usr/local.  Use
    --prefix=/usr to replace your default curses distribution.  This is the
    default for Linux and BSD/OS users.
------^ on on Irix system what? I guess it's default on all platforms,
        at least ./configure --help tell me in section --prefix so.

[...]

    Note however that the configure script attempts to locate previous
    installation of ncurses, and will set the default prefix according to where
    it finds the ncurses headers.

-----Probably you may want to mention here, that one can fool the
configure script having installed previous version of ncurses in some
way. I think it was related to having libncurses.a having installed as
libcurses.a, right?


2.  Type `./configure' in the top-level directory of the distribution to




[...]

    If you do not specify any models, the normal and debug libraries will be
    configured.  Typing `configure' with no arguments is equivalent to:
--------^ and the link will be done against normal, right?


        ./configure --with-normal --with-debug --enable-overwrite

    Typing

        ./configure --with-shared

    makes the shared libraries the default, resulting in
-------------------------------------^ means that binaries will use shared libs
                                       instead of static?
                                        So static have will be also build, 
right?

        ./configure --with-shared --with-normal --with-debug --enable-overwrite

    If you want only shared libraries, type

        ./configure --with-shared --without-normal --without-debug

    Rules for generating shared libraries are highly dependent upon the choice
    of host system and compiler.  We've been testing shared libraries on Linux
    and SunOS with gcc, but more work needs to be done to make shared libraries
    work on other systems.

    So by default we use static binaries by default (i.e. preconfigured in 
configure rules, right?).






In the section with overview of configure options, I'm missing from one
of your last mail to me about --prefix and --with-install-prefix: ;)

That's expected, given the "--with-install-prefix=/usr/local" below.  The
install-prefix is just the name of a directory into which you would
install the
program so you can tar up the whole tree, for packaging.  It's not the
same as
--prefix=/usr/local: for instance I usually test --with-install-prefix by
something like --with-install-prefix=/tmp/FOO, and verify that all of the
files are present.  It's also nice for testing because I don't have to
install as root (and when debugging things that install symbolic links,
there's
less to remove if the script fails).




Also, I'd add to the following:

    --enable-symlinks
        If your system supports symbolic links, make tic use symbolic links
        rather than hard links to save diskspace when writing aliases in the
        terminfo database.
---------------------------^ This is to be used on AFS client machines,
reading terminal definition from AFS mounted directories.





Hope this helps. ;)
--
Martin Mokrejs <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3616 , fax: +49-89-3187 3585



--- End Message ---

reply via email to

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