Ralf S. Engelschall wrote:
On Sat, May 05, 2007, Doug Summers wrote:

 /usr/vac/bin/cc /usr/vac/bin/cc ../objects/ansi.o ../objects/charset.o
 ../objects/color.o ../objects/control.o ../objects/crum.o
../objects/edit.o
 ../objects/fun.o ../objects/init.o ../objects/menu.o ../objects/modes.o
 ../objects/output.o ../objects/pad.o ../objects/scan.o ../objects/sync.o
 ../objects/sysdep.o ../objects/tack.o -L../lib -lncurses
-DHAVE_CONFIG_H
 -I../tack -I. -I. -I../include-D_ALL_SOURCE -D_LARGE_FILES
 -I/openpkg/include/ncurses  -o tack
 ld: 0711-710 ERROR: Input file /usr/vac/bin/cc
         is stripped. The file is being ignored.
 make[1]: *** [tack] Error 8
 make: *** [all] Error 2
 error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.13458 (%build)

 I built version 5.5.20061021 without any problems (GCC-build).
That's interesting. Neither the upstream sources nor out OpenPKG
packaging contains anything related to this /usr/vac stuff. Even a "grep
-r vac" doesn't show up anything. I've no clue from where does comes.
But my guess is this: you have the OpenPKG "gcc" package still not
installed and /usr/vac/bin/cc is the "system" compiler ncurses finds.
Because of a bug in the Makefiles or whatever this compiler is expanded
twice(!) and hence the problem occurs. Can you retry with the OpenPKG
"gcc" package installed?

 I should have been clearer on this error; it's happening with XLC & GCC.
 Substitute /usr/vac/bin/cc with /openpkg/bin/gcc and the results are the
 same.

Ok, I've now found the problem. The NCURSES' tack/Makefile.in was just
broken. I've fixed it now with ncurses-5.6.20070505-20070508 and higher.

That did the trick; just got done building on AIX 5.1.
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to