[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Configuration and build problems.
From: |
Thomas Dickey |
Subject: |
Re: Configuration and build problems. |
Date: |
Tue, 29 Oct 2002 18:29:56 -0500 |
User-agent: |
Mutt/1.3.27i |
On Tue, Oct 29, 2002 at 05:00:37PM -0600, address@hidden wrote:
> 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.
you might try libtool - that may work (the documentation states that it
works, though it is not clear if it is dependent upon gcc)
> 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").
thanks (I thought I'd gotten all of those)
> 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.
ok - I don't combine those often.
> 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.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net