Problem: make install fails for the ncurses.
In the Install documentation, it mentions that tic needs to be built with the host compiler to be used during the make install. I am a bit confused on where the tic tool is built for the host and where it is built for the target. I see one tic binary in the ./progs directory which was build using the cross-compiler.
Code: Select all
make: Leaving directory '/home/jthe/sandbox/ncurses-6.1/ncurses' cd progs && make DESTDIR="" RPATH_LIST="/home/jthe/lib/lib" install make: Entering directory '/home/jthe/sandbox/ncurses-6.1/progs' /usr/bin/install -c -s tic /home/jthe/lib/bin/`echo tic| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` strip: Unable to recognise the format of the input file `/home/jthe/lib/bin/tic' /usr/bin/install: strip process terminated abnormally Makefile:201: recipe for target 'install.progs' failed make: *** [install.progs] Error 1 make: Leaving directory '/home/jthe/sandbox/ncurses-6.1/progs' Makefile:113: recipe for target 'install' failed make: *** [install] Error 2
Target: Raspberry Pi 3
Here are the commands I executed to configure and build ncurses. I am relatively new to using the autoconf/configure tools and less familiar with ncurses. I am trying to improve my ASCII art menus
The final result is that I have a static ncurses library. I haven't tried to use it yet on my target because the error is frustrating me.
Code: Select all
./configure --host=arm-linux-gnueabihf --build=i686-pc-linux-gnu --with-build-cc=gcc --without-shared --prefix=/some/install/path make make install
Any help is appreciated. Please let me know if you need more info.