|
From: | mcook2 |
Subject: | [gnuit-dev] Problems compiling gnuit-4.9.5 in Raspberry Pi 4 - still trying to find what options to use with ./configure |
Date: | Mon, 26 Aug 2019 18:34:00 -0400 (EDT) |
Trying to compile gnuit on Raspberry Pi 4:
- running ./configure get ...
error msg: "configure: error: no library for handling terminal capabilities"
- run ... sudo apt-get install libncurses5-dev libncursesw5-dev
- ./configure complete
- make dies with ...
>>
In file included from git.c:30:
../lib/stdlib.h:56:8: error: redefinition of ‘struct random_data’
struct random_data
^~~~~~~~~~~
In file included from ../lib/stdlib.h:34,
from git.c:30:
/usr/include/stdlib.h:423:8: note: originally defined here
struct random_data
^~~~~~~~~~~
make: *** [Makefile:740: git.o] Error 1
make[4]: *** [Makefile:769: localcharset.o] Error 1
make[4]: Leaving directory '/home/pi/bin/c/gnuit-4.9.5-WITH-PANEL_COPY-MOD+NEW_TITLE/lib'
make[3]: *** [Makefile:792: all-recursive] Error 1
make[3]: Leaving directory '/home/pi/bin/c/gnuit-4.9.5-WITH-PANEL_COPY-MOD+NEW_TITLE/lib'
make[2]: *** [Makefile:636: all] Error 2
make[2]: Leaving directory '/home/pi/bin/c/gnuit-4.9.5-WITH-PANEL_COPY-MOD+NEW_TITLE/lib'
make[1]: *** [Makefile:640: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/bin/c/gnuit-4.9.5-WITH-PANEL_COPY-MOD+NEW_TITLE'
make: *** [Makefile:572: all] Error 2
<<
config.log shows the architecture selected by configure as:
hostname = raspberrypi
uname -m = armv7l
uname -r = 4.9.35-v7+
lscpu shows:
lscpu
Architecture: armv7l
Byte Order: Little Endian
....
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
I plan to get back to a state prior to installing libncurses5-dev and libncursesw5-dev and retry.
I also have some local mods to gnuit code in panel.c and title.c which I can regress.
Continuing to work on it but if there is a quick fix please can you let me know.
Thank you,
[Prev in Thread] | Current Thread | [Next in Thread] |