지난번에 이어 빌드를 계속해 봅니다.


마지막에는 zlib 관련 에러를 수정했습니다.


빌드를 계속합니다.


boggle70@boggle70-P55-US3L:ltib$ ./ltib --configure


Installing host support packages.


This only needs to be done once per host, but may take up to

an hour to complete ...


If an error occurs, a log file with the full output may be found in:

/staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/host_config.log


[sudo] password for boggle70: 

Exiting on error or interrupt

Please see >> /staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/host_config.log for details


host_config.log 의 파일 맨끝에 아래와 같은 메세지가 있습니다.

make[2]: Entering directory `/staff/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/doc'
18603 restore=: && backupdir=".am$$" && \
18604     am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
18605     rm -rf $backupdir && mkdir $backupdir && \
18606     if (/bin/sh /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing --run makeinfo --version) >/dev/null 2>&1; then \
18607       for f in flex.info flex.info-[0-9] flex.info-[0-9][0-9] flex.i[0-9] flex.i[0-9][0-9]; do \
18608         if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
18609       done; \
18610     else :; fi && \
18611     cd "$am__cwd"; \
18612     if /bin/sh /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing --run makeinfo   -I . \
18613      -o flex.info flex.texi; \
18614     then \
18615       rc=0; \
18616       CDPATH="${ZSH_VERSION+.}:" && cd .; \
18617     else \
18618       rc=$?; \
18619       CDPATH="${ZSH_VERSION+.}:" && cd . && \
18620       $restore $backupdir/* `echo "./flex.info" | sed 's|[^/]*$||'`; \
18621     fi; \
18622     rm -rf $backupdir; exit $rc
18623 /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing: line 52: makeinfo: command not found
18624 WARNING: `makeinfo' is missing on your system.  You should only need it if
18625          you modified a `.texi' or `.texinfo' file, or any other file
18626          indirectly affecting the aspect of the manual.  The spurious
18627          call might also be the consequence of using a buggy `make' (AIX,
18628          DU, IRIX).  You might want to install the `Texinfo' package or
18629          the `GNU make' package.  Grab either from any GNU archive site.
18630 TEXINPUTS=".:$TEXINPUTS" \
18631     MAKEINFO='/bin/sh /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing --run makeinfo   -I .' \
18632     texi2dvi --pdf --batch flex.texi
18633 /bin/sh: texi2dvi: command not found
18634 make[2]: *** [flex.pdf] Error 127
18635 make[2]: Leaving directory `/staff/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/doc'
18636 make[1]: *** [install-recursive] Error 1
18637 make[1]: Leaving directory `/staff/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37'
18638 make: *** [install] Error 2
18639 error: Bad exit status from /staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/tmp/rpm-tmp.39569 (%install)
18640 
18641 
18642 RPM build errors:
18643     Bad exit status from /staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/tmp/rpm-tmp.39569 (%install)
18644 Build time for flex: 14 seconds
18645 
18646 Failed building flex
18647 Died at ./ltib line 1392.
18648 traceback:
18649  main::build_host_rpms:1392
18650   main::host_checks:1447
18651    main:554
18652 
18653 
18654 Started: Tue Feb 11 21:06:17 2014
18655 Ended:   Tue Feb 11 21:13:24 2014
18656 Elapsed: 427 seconds
18657 
18658 These packages failed to build:
18659 flex
18660 
18661 Build Failed
18662 

몇개의 문제점이 보입니다. 
makeinfo 가 없다는 것.
texi2div 가 없다는 것.

두개의 패키지를 추가로 설치하고 빌드를 계속합니다.
boggle70@boggle70-P55-US3L:ltib$ sudo apt-get install texinfo
boggle70@boggle70-P55-US3L:ltib$ sudo apt-get install texlive

boggle70@boggle70-P55-US3L:ltib$ ./ltib --configure

Installing host support packages.

This only needs to be done once per host, but may take up to
an hour to complete ...

If an error occurs, a log file with the full output may be found in:
/staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/host_config.log

Exiting on error or interrupt
Please see >> /staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/host_config.log for details
boggle70@boggle70-P55-US3L:ltib$ /staff1/staff/anytest/imx6_ltib/L3.0.35_4.1.0_130816_source/ltib/ltib/host_config.log

 24 Processing: flex
 25 ==================
 26 Build path taken because: directory build, no prebuilt rpm,
 27 
 28 Cowardly refusing to clobber existing directory:
 29  /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37
 30 Remove this by hand if you really want to rebuild this package from scratch
 31 
 32 Died at ./ltib line 1392.
 33 traceback:
 34  main::build_host_rpms:1392
 35   main::host_checks:1447
 36    main:554
 37 
 38 
 39 Started: Tue Feb 11 21:34:10 2014
 40 Ended:   Tue Feb 11 21:34:10 2014
 41 Elapsed: 0 seconds
 42 
 43 These packages failed to build:
 44 flex
 45 
 46 Build Failed


/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37 디렉토리를 날리고 다시 해본다.
boggle70@boggle70-P55-US3L:ltib$ rm -rf /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37
boggle70@boggle70-P55-US3L:ltib$ ./ltib --configure

설정 화면으로 들어왔습니다.
커널 설정과 같이 설정이 가능한 화면입니다.
초기화면은 아래처럼 보입니다.

GNU/Linux Target Image Builder : Platform Selection

Platform choice (Freescale iMX reference boards)  --->
---
Load an Alternate Configuration File
Save Configuration to an Alternate File

이제 설정화면을 하는 곳까지 왔습니다.
플랫폼을 선택하고 설정하는 것은 다음 시간에...