bug-ncurses
[Top][All Lists]
Advanced

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

Configuration and build problems.


From: gary . samuelson
Subject: Configuration and build problems.
Date: Tue, 29 Oct 2002 17:00:37 -0600

Some problems with building ncurses V5.3 on AIX 4.3.3, using xlc_r
(ibmcxx.cmp 3.6.6.7).

Configure command:
      ./configure --prefix=/usr/local --disable-overwrite
--disable-database \
            --without-ada --without-curses-h -disable-leaks \
            --disable-ext-funcs --disable-termcap
Problem 1: If the option --with-shared is added to the above command,
configure fails with the following message:
            configure: error: Shared libraries are not supported in this
version.

Problem 2:
      Quotes are missing in the configure script, line 4490:
            if test -z $with_fallback ; then
      If $with_fallback is null, then the following error message occurs:
            test: argument expected
      The configure script proceeds; it does not exit with the expected
error message ("You have disabled the database w/o specifying fallbacks").

Problem 3:
      Options --disable-leaks and --disable-ext-funcs are incompatible.

      The option --disable-leaks has the following results:
            NO_LEAKS is defined in confdefs.h (configure lines 6031-6035)
            call _nc_free_and_exit is generated in infocmp.c, function
ExitProgram, lines 88-101.

      But, if the option --disable-ext-funcs is also supplied:
            LIB_SUBSETS does not include "ext_funcs" (configure line
10345).
            Neither does cf_subsets (configure line 11622)
            And therefore lib_freeall.c is not compiled, because that file
is part of the ext_funcs section in ncurses/modules (line 149).

      The end result is a link error - _nc_free_and_exit is not defined.





reply via email to

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