installation - LFS Chapter 6.20 Ncurses install error -


i've been going step step until midnight, turned off laptop (standby) - i've ubuntu 14.04 lts os. when woke wanted continue, started laptop again, screen kept black. shut down, , started it.

i had mount everything, executed this:

# mount -v -t ext4 /dev/sda3 $lfs # rm /tools # ln -sv $lfs/tools / # chroot "$lfs" /tools/bin/env -i \      home=/root                  \      term="$term"                \      ps1='\u:\w\$ '              \      path=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \      /tools/bin/bash --login +h 

when enter /source/ncurses-5.9/ , execute ./configure --prefix=/usr --mandir=/usr/share/man --with-shared --without-debug --enable-pc-files --enable-widec gives me back:

checking egrep... grep -e configuring ncurses 5.9 abi 5 (sun apr 26 07:23:00 utc 2015) checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu configuring linux-gnu checking prefix... /usr checking gcc... gcc checking c compiler default output... a.out checking whether c compiler works... yes checking whether cross compiling... no checking executable suffix...  checking object suffix... o checking whether using gnu c compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 4.9.2 checking how run c preprocessor... gcc -e checking whether gcc needs -traditional... no checking whether gcc understands -c , -o together... yes checking posixized isc... no checking gcc option accept ansi c... -dcc_has_protos checking ldconfig... /sbin/ldconfig checking if want ensure bool consistent c++... yes checking g++... g++ checking whether using gnu c++ compiler... yes checking whether g++ accepts -g... yes checking g++... /usr/bin/g++ checking version of g++... 4.9.2 checking if want build c++ binding , demo... yes checking if want build ada95... yes checking if want install manpages... yes checking if want build programs such tic... yes checking if want build test-programs... yes checking if wish install curses.h... yes checking mawk... no checking gawk... gawk checking egrep... (cached) grep -e checking bsd compatible install... /tools/bin/install -c checking tdlint... no checking lint... no checking alint... no checking splint... no checking lclint... no checking whether ln -s works... yes checking if ln -s -f options work... yes checking long file names... yes checking if want use pkg-config... yes checking pkg-config... /usr/bin/pkg-config checking if should install .pc files /usr/bin/pkg-config... yes checking if should assume mixed-case filenames... auto checking if filesystem supports mixed-case filenames... yes checking whether make sets ${make}... yes checking exctags... no checking ctags... no checking exetags... no checking etags... no checking ctags... no checking etags... no checking makeflags variable...  checking ranlib... ranlib checking ld... ld checking ar... ar checking ar... (cached) ar checking options update archives... -curv checking if have specified install-prefix...  checking if libtool -version-number should used... yes checking if want build libraries libtool... no checking if want build shared libraries... yes checking if want build static libraries... yes checking if want build debug libraries... no checking if want build profiling libraries... no checking specified models...  shared normal checking default model... shared checking if want build separate terminfo library... no checking if want build separate tic library... no checking if want link gpm mouse library... maybe checking gpm.h... no checking default loader flags...  checking if rpath option should used... no checking if shared libraries should relinked during install... yes checking rpath option... -wl,-rpath, checking if release/abi version should used shared libs... auto checking gcc option use... -fpic checking if rpath-hack should disabled... no checking updated ldflags... maybe checking ldd... ldd checking if wish install ncurses overwriting curses... yes checking if external terminfo-database used... yes checking terminfo source-file installed... ${top_srcdir}/misc/terminfo.src checking whether use hashed database instead of directory/tree... no checking list of fallback descriptions...  checking if want modern xterm or antique... xterm-new checking list of terminfo directories... /usr/share/terminfo checking default terminfo directory... /usr/share/terminfo checking if big-core option selected... yes checking if big-strings option selected... yes checking if want termcap-fallback support... no checking if ~/.terminfo wanted... yes checking if want use restricted environment when running root... yes checking remove... yes checking unlink... yes checking if link/symlink functions work...  link symlink checking if tic should use symbolic links... no checking if tic should use hard links... yes checking if want broken-linker support code... no checking if tputs should process bsd-style prefix padding... no checking if must define _gnu_source... yes checking if sigwinch defined... yes checking nl_langinfo , codeset... yes checking if want wide-character code... yes checking if must define _xopen_source_extended... no checking putwc... yes checking btowc... yes checking wctob... yes checking mbtowc... yes checking wctomb... yes checking mblen... yes checking mbrlen... yes checking mbrtowc... yes checking wcsrtombs... yes checking mbsrtowcs... yes checking wcstombs... yes checking mbstowcs... yes checking if must include wchar.h declare mbstate_t... yes checking if must include wchar.h declare wchar_t... no checking if must include wchar.h declare wint_t... yes checking whether enable _lp64 definition in curses.h... no checking special c compiler options needed large files... no checking _file_offset_bits value needed large files... no checking _large_files value needed large files... no checking _largefile_source value needed large files... no checking fseeko... yes checking whether use struct dirent64... no checking if want tparm not use x/open fixed-parameter list... yes checking type of bool... auto checking alternate terminal capabilities file... caps checking type of chtype... auto checking type of ospeed... short checking type of mmask_t... auto checking size ccharw_max... 5 checking if rcs identifiers should compiled-in... no checking format of man-pages... normal checking manpage renaming... no checking if manpage aliases installed... yes checking if manpage symlinks should used... yes checking manpage tbl... no checking if want build function extensions... yes checking if want build experimental screen extensions... no checking if want build experimental terminal-driver... no checking extended use of const keyword... no checking if want use extended colors... no checking if want use extended mouse encoding... no checking if want $ncurses_no_padding code... yes checking ansi c header files... yes checking sys/types.h... yes checking sys/stat.h... yes checking stdlib.h... yes checking string.h... yes checking memory.h... yes checking strings.h... yes checking inttypes.h... yes checking stdint.h... yes checking unistd.h... yes checking signed char... yes checking size of signed char... 1 checking if want use signed boolean array in term.h... no checking if want sigwinch handler... yes checking if want user-definable terminal capabilities termcap... yes checking if want development code... no checking if want hard-tabs code... no checking if want limited support xmc... no checking if not want assume colors white-on-black... yes checking if want hashmap scrolling-optimization code... yes checking if want colorfgbg code... no checking if want interop bindings... no checking if want link pthread library... no checking if want experimental reentrant code... no checking if want experimental safe-sprintf code... no checking if want experimental wgetch-events code... no checking if want display full commands during build... yes checking if want see compiler warnings...  configure: checking gcc __attribute__ directives... ... scanf ... printf ... unused ... noreturn checking if want enable runtime assertions... no checking if want use dmalloc testing... no checking if want use dbmalloc testing... no checking if want use valgrind testing... no checking if want perform memory-leak testing... no checking whether add trace feature models... no checking gettimeofday... yes checking if -lm needed math functions... yes checking ansi c header files... (cached) yes checking dirent.h defines dir... yes checking opendir in -ldir... no checking whether time.h , sys/time.h may both included... yes checking regcomp... yes checking regular-expression headers... regex.h checking fcntl.h... yes checking getopt.h... yes checking limits.h... yes checking locale.h... yes checking math.h... yes checking poll.h... yes checking sys/bsdtypes.h... no checking sys/ioctl.h... yes checking sys/param.h... yes checking sys/poll.h... yes checking sys/select.h... yes checking sys/time.h... yes checking sys/times.h... yes checking ttyent.h... yes checking unistd.h... (cached) yes checking wctype.h... yes checking if sys/time.h works sys/select.h... yes checking gcc option accept ansi c... none needed checking ansi c-conforming const... yes checking inline... inline checking if gcc supports options tune inlining... yes checking signal global datatype... volatile sig_atomic_t checking type of chtype... int checking if unsigned literals legal... yes checking if external errno declared... yes checking if external errno exists... no checking if data-only library module links... yes checking getcwd... yes checking getegid... yes checking geteuid... yes checking getttynam... yes checking issetugid... no checking poll... yes checking remove... (cached) yes checking select... yes checking setbuf... yes checking setbuffer... yes checking setvbuf... yes checking sigaction... yes checking sigvec... no checking strdup... yes checking strstr... yes checking tcgetpgrp... yes checking times... yes checking vsnprintf... yes checking isascii... yes checking whether sigaction needs _posix_source... no checking if nanosleep works... yes checking termio.h... yes checking termios.h... yes checking unistd.h... (cached) yes checking whether termios.h needs _posix_source... no checking tcgetattr... yes checking vsscanf function or workaround... vsscanf checking working mkstemp... yes checking whether setvbuf arguments reversed... no checking return type of signal handlers... void checking type sigaction_t... no checking declaration of size-change... yes checking memmove... yes checking if poll works... yes checking va_copy... yes checking __va_copy... yes checking pid_t... yes checking unistd.h... (cached) yes checking vfork.h... no checking fork... yes checking vfork... yes checking working fork... (cached) yes checking working vfork... (cached) yes checking openpty in -lutil... yes checking openpty header... pty.h checking if should include stdbool.h... yes checking builtin bool type... no checking library stdc++... no checking whether /usr/bin/g++ understands -c , -o together... yes checking how run c++ preprocessor... /usr/bin/g++ -e checking iostream... yes checking typeinfo... yes checking if iostream uses std-namespace... yes checking if should include stdbool.h... (cached) yes checking builtin bool type... yes checking size of bool... unsigned char checking special defines needed etip.h... math_h  checking if /usr/bin/g++ accepts parameter initialization... no checking if /usr/bin/g++ accepts static_cast... yes checking gnatmake... no checking library subsets... ticlib+termlib+ext_tinfo+base+widechar+ext_funcs checking default library suffix... w checking default library-dependency suffix... w.so checking default object directory... obj_s checking c++ library-dependency suffix... w.a checking install curses.h... ${prefix}/include checking src modules... ncurses progs panel menu form checking tic... /tools/bin/tic configure: creating ./config.status config.status: creating include/mkterm.h.awk config.status: creating include/curses.head config.status: creating include/ncurses_dll.h config.status: creating include/termcap.h config.status: creating include/unctrl.h config.status: creating man/makefile config.status: creating include/makefile config.status: creating ncurses/makefile config.status: creating progs/makefile config.status: creating panel/makefile config.status: creating menu/makefile config.status: creating form/makefile config.status: creating test/makefile config.status: creating misc/makefile config.status: creating c++/makefile config.status: creating ada95/gen/adacursesw-config config.status: creating man/adacursesw-config.1 config.status: creating misc/run_tic.sh config.status: creating misc/ncurses-config config.status: creating man/ncursesw5-config.1 config.status: creating misc/gen-pkgconfig config.status: creating makefile config.status: creating include/ncurses_cfg.h config.status: include/ncurses_cfg.h unchanged appending rules shared model (ncurses: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (ncurses: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules shared model (progs: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (progs: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules shared model (panel: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (panel: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules shared model (menu: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (menu: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules shared model (form: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (form: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules shared model (test: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (test: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules shared model (c++: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) appending rules normal model (c++: ticlib+termlib+ext_tinfo+base+widechar+ext_funcs) creating headers.sh ./configure: line 21016: 27277 segmentation fault      (core dumped) ${make:-make} preinstall 

and when try run make, says:

segmentation fault (core dumped) 

how can fix that? or need more information?

from information, no not possible answer question.

at point, configure script runs "make" rule runs series of echo commands. there no other programs involved sh, make , echo (which can see viewing generated makefile , looking preinstall. should have seen this:

** configuration summary ncurses 5.9 20110404:       extended funcs: yes      xterm terminfo: xterm-new        bin directory: /usr/bin       lib directory: /usr/lib   include directory: /usr/include       man directory: /usr/share/man  terminfo directory: /usr/share/terminfo 

whatever problem there, appears unrelated ncurses.

i tempted restart install, supposing went amiss when suspending , resuming.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -