Grub-1.94 버전 빌드
[rtems@localhost grub-1.94]$ ./configure --prefix=/tmp/g2/build
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for cmp... cmp
checking for bison... bison
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for ruby... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 4
checking for long... yes
checking size of long... 4
checking for __lzo_init_v2 in -llzo2... no
checking for __lzo_init_v2 in -llzo... no
checking for __lzo_init2 in -llzo... no
configure: error: LZO library version 1.02 or later is required
LZO 라이브러리 버전이 낮아서 문제인가... 일단 설치를 고고씽
[rtems@localhost grub-1.94]$ su -
Password:
[root@localhost ~]# yum install socat
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Package socat-1.7.1.3-1.fc14.i686 already installed and latest version
Nothing to do
[root@localhost ~]# yum install lzo-devel
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lzo-devel.i686 0:2.03-3.fc12 set to be installed
--> Processing Dependency: lzo-minilzo = 2.03-3.fc12 for package: lzo-devel-2.03-3.fc12.i686
--> Processing Dependency: libminilzo.so.0 for package: lzo-devel-2.03-3.fc12.i686
--> Running transaction check
---> Package lzo-minilzo.i686 0:2.03-3.fc12 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
lzo-devel i686 2.03-3.fc12 fedora 29 k
Installing for dependencies:
lzo-minilzo i686 2.03-3.fc12 fedora 13 k
Transaction Summary
================================================================================
Install 2 Package(s)
Total download size: 42 k
Installed size: 173 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 42 k
(1/2): lzo-devel-2.03-3.fc12.i686.rpm | 29 kB 00:00
(2/2): lzo-minilzo-2.03-3.fc12.i686.rpm | 13 kB 00:00
--------------------------------------------------------------------------------
Total 54 kB/s | 42 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lzo-minilzo-2.03-3.fc12.i686 1/2
Installing : lzo-devel-2.03-3.fc12.i686 2/2
Installed:
lzo-devel.i686 0:2.03-3.fc12
Dependency Installed:
lzo-minilzo.i686 0:2.03-3.fc12
Complete!
일단 lzo-devel 패키지 설치완료
그렇다면 이제 다시 Grub 빌드를 해보자.
[rtems@localhost grub-1.94]$ ./configure --prefix=/tmp/build
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for cmp... cmp
checking for bison... bison
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for ruby... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 4
checking for long... yes
checking size of long... 4
checking for __lzo_init_v2 in -llzo2... yes
checking for lzo1x_999_compress... yes
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking lzo1x.h usability... no
checking lzo1x.h presence... no
checking for lzo1x.h... no
checking for wgetch in -lncurses... yes
checking ncurses/curses.h usability... yes
checking ncurses/curses.h presence... yes
checking for ncurses/curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for objcopy... objcopy
checking for strip... strip
checking for nm... nm
checking whether optimization for size works... yes
checking whether -falign-loops works... yes
checking whether objcopy works for absolute addresses... no
configure: error: GRUB requires a working absolute objcopy; upgrade your binutils
이건 또 뭔 에러냐...
[root@localhost ~]# yum install binutils
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Package binutils-2.20.51.0.7-8.fc14.i686 already installed and latest version
Nothing to do
[root@localhost ~]# yum upgrade binutils
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Upgrade Process
No Packages marked for Update
이건 뭐 설치도 업데이트도 안되는데.... 어떻게 해결 하라는 건지....
이건 해결하고 싶어도 해결하기가 쉽지 않겠는데.. 현재 상태로는 이건 풀지 못할듯 일단 패스!
댓글 없음:
댓글 쓰기