[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ncurses 6.5 build failure
From: |
Thomas Dickey |
Subject: |
Re: Ncurses 6.5 build failure |
Date: |
Mon, 28 Oct 2024 15:23:36 -0400 |
On Mon, Oct 28, 2024 at 04:56:01PM +0100, BERTRAND Joël wrote:
> Hello,
>
> I'm trying to upgrade my libncurses tree from 6.4 to 6.5. This library
> is statically built (just static lib, not shared one in a recursive
> configure script).
It would help to know the configure script options. (The config.log and
config.status files give the relevant information).
> Only .a are built, and I find in lib directory:
>
> rayleigh:[~/cvs/build/tools/ncurses-6.5/lib] > ls
> libformw.a libmenuw.a libncursesw.a libpanelw.a
> libformw_g.a libmenuw_g.a libncursesw_g.a libpanelw_g.a
>
> Just after, make process enters in test directory and aborts with:
>
> gcc -I. -I../../../../rpl/tools/ncurses-6.5/test -I../test
> -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share\" -I.
> -I../../../../rpl/tools/ncurses-6.5/test -I../include
> -I../../../../rpl/tools/ncurses-6.5/test/../include -D_DEFAULT_SOURCE
> -D_XOPEN_SOURCE=600 -DNDEBUG -g -O2 -mtune=native -march=native -O2
> -fno-strict-overflow -malign-double -Wall -funsigned-char
> -Wno-pointer-sign --param max-inline-insns-single=1200 -DNCURSES_STATIC
> -c ../../../../rpl/tools/ncurses-6.5/test/dump_window.c -o
> ../objects/dump_window.o
> gcc -g -O2 -mtune=native -march=native -O2 -fno-strict-overflow
> -malign-double -Wall -funsigned-char -Wno-pointer-sign --param
> max-inline-insns-single=1200 -o back_ground ../objects/back_ground.o
> ../objects/dump_window.o -I. -I../../../../rpl/tools/ncurses-6.5/test
> -I../test -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share\" -I.
> -I../../../../rpl/tools/ncurses-6.5/test -I../include
> -I../../../../rpl/tools/ncurses-6.5/test/../include -D_DEFAULT_SOURCE
> -D_XOPEN_SOURCE=600 -DNDEBUG -g -O2 -mtune=native -march=native -O2
> -fno-strict-overflow -malign-double -Wall -funsigned-char
> -Wno-pointer-sign --param max-inline-insns-single=1200 -DNCURSES_STATIC
> `echo "../lib/libform.a
> ../lib/libmenu.a ../lib/libpanel.a
> ../lib/libncurses.a " | sed -e 's/-lform.*-lpanel[^ ]*//'` -lutil
> /usr/bin/ld : ne peut pas trouver ../lib/libform.a : Aucun fichier ou
> dossier de ce nom
> /usr/bin/ld : ne peut pas trouver ../lib/libmenu.a : Aucun fichier ou
> dossier de ce nom
> /usr/bin/ld : ne peut pas trouver ../lib/libpanel.a : Aucun fichier ou
> dossier de ce nom
> /usr/bin/ld : ne peut pas trouver ../lib/libncurses.a : Aucun fichier ou
> dossier de ce nom
> collect2: error: ld returned 1 exit status
>
> I have checked in Makefile. TEST_ARGS value is filled with :
> TEST_ARGS = ../lib/libform.a ../lib/libmenu.a
> ../lib/libpanel.a ../lib/libncurses.a
> instead of
> TEST_ARGS = ../lib/libformw.a ../lib/libmenuw.a
> ../lib/libpanelw.a ../lib/libncursesw.a
>
> I suppose this value is built with configure.in and Makefile.in, but I
> don't understand how it is set. Can you fixe this issue, please ?
sure - I'll see how to fix
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature