still configure troubles
grub2 from cvs
[root@zm] /home/zm/grub/grub2 # uname -a
FreeBSD zm 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed Aug 31 01:37:07 MSD
2005 zm@zm:/usr/src/sys/i386/compile/310805.kernel i386
[root@zm] /home/zm/grub/grub2 # pkg_info |grep lzo
lzo-1.08_1,1 Portable speedy, lossless data compression library
[root@zm] /home/zm/grub/grub2 # ./configure BUILD_LDDFLAGS=-L/usr/local/lib BUILD_CPPFLAGS=-I/usr/local/include BUILD_CFLAGS=-I/usr/local/include
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
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 bison... bison
checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking whether optimization for size works... yes
checking whether -falign-loops works... yes
checking if C symbols get an underscore after compilation... no checking if start is defined by the compiler... no
checking if _start is defined by the compiler... yes
checking if __bss_start is defined by the compiler... yes checking if edata is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking whether addr32 must be in the same line as the instruction... yes checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking if GCC has the regparm=3 bug... yes
checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes
checking for objcopy... objcopy
checking whether objcopy works for absolute addresses... yes checking for strip... strip
checking for nm... nm
checking for ld... ld
checking for ruby... 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
Quoted 6 lines · * Z3tbl4 [] <[email protected]> [060402 22:06]:
grub2 from cvs
checking for
__lzo_init_v2in -llzo2... no
checking for__lzo_init_v2in -llzo... no
checking for__lzo_init2in -llzo... no
configure: error: LZO library version 1.02 or later is required
Looks like you don't have the required LZO library installed:
http://www.oberhumer.com/opensource/lzo/
Stefan
Quoted 9 lines · On Sunday 02 April 2006 22:06, Z3tbl4 [] wrote:
grub2 from cvs
[root@zm]
/home/zm/grub/grub2# uname -a
FreeBSD zm 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Wed Aug 31 01:37:07 MSD
2005 zm@zm:/usr/src/sys/i386/compile/310805.kernel i386
[root@zm]/home/zm/grub/grub2#pkg_info|grep lzo
lzo-1.08_1,1 Portable speedy, lossless data compression library
[root@zm]/home/zm/grub/grub2# ./configure BUILD_LDDFLAGS=-L/usr/local/lib BUILD_CPPFLAGS=-I/usr/local/include
^^^^^^^^
Fix this typo, then should work.
Okuji
The LZO library is installed, yet GRUB fails to configure.
$ rpm -qa | grep lzo lzo-2.02-12 lzo-1.08-107
: ~/src/grub-1.94
$ ./configure 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
At Thu, 22 Jun 2006 05:22:09 +0000 (UTC),
Quoted 7 lines · Neville Chandler
The LZO library is installed, yet GRUB fails to configure.
$ rpm -qa | grep lzo lzo-2.02-12 lzo-1.08-107
You also need to install the development libraries, those should be in the lzo-devel RPM.
Jeroen Dekkers