bug-ncurses
[Top][All Lists]
Advanced

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

Re: AIX and _nc_is_abs_path


From: Ben Lentz
Subject: Re: AIX and _nc_is_abs_path
Date: Sun, 22 Jun 2014 02:01:58 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


On 6/21/14, 5:46 PM, Thomas Dickey wrote:
On Tue, Jun 17, 2014 at 09:09:14PM -0400, Thomas Dickey wrote:
On Mon, Jun 16, 2014 at 08:54:19PM -0400, Ben Lentz wrote:
Target "install" is up to date.
installing ../lib/libncurses.a as /opt/local/ncurses/lib/libncurses.a
         /mnt/sw/build/ncurses-5.9-20140614/install-sh -c -m 644
../lib/libncurses.a /opt/local/ncurses/lib/libncurses.a
         ranlib /opt/local/ncurses/lib/libncurses.a
hmm - I'll have to try to build it as you suggest, to see exactly which part
is breaking (I have occasional access to a similar system...)
I see that the underlying problem was this change (which I was unable to
test at the time):

20081227
        + modify configure script to allow building shared libraries with gcc
          on AIX 5 or 6 (adapted from patch by Lital Natan).

Essentially the problem was an incorrect fix for dependencies in the test
directory (it was not necessary to make the shared-library suffix ".a").
I've test-built with that part amended.

Without that fix, adding a "--without-normal" to your configure options
would suppress the static library (not the optimal fix).  I'll have the
suffix-change in tonight's snapshot.

By the way, I also found it necessary (for the static library in the c++
directory) to do

export ARFLAGS="-X 64"


I just tested the ncurses-5.9-20140621 release with this fix on my AIX build server and it built perfectly. The shared library was built correctly without error, was installed with a .so extension. I was able to link other software (bash) against it without any issues whatsoever.

Thank you so much for looking at this for me, I really appreciate the help with this!



reply via email to

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