Christian Laursen wrote:
Marcos Latas <[EMAIL PROTECTED]> writes:

I have been trying to compile GRUB 1.93 on an OpenBSD machine to
create a port for it.

When I run ./configure the following message appears:

...
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

Try the following command which works for me on FreeBSD:

BUILD_LDFLAGS=-L/usr/local/lib BUILD_CFLAGS=-I/usr/local/include ./configure

Remember to use gmake to build afterwards.


Thank you very much for the tip. I tried the following:

./configure CFLAGS=-I/usr/local/include

(I omited the LDFLAGS path because it seems to be correct)

It now stops here:

...
checking for objcopy... objcopy
checking whether objcopy works for absolute addresses... no
configure: error: GRUB requires a working absolute objcopy; upgrade your binutils


The file INSTALL mentions that GRUB requires GNU binutils 2.9.1.0.23 or
later. I have binutils 2.15!

Any thoughts?

Thank you.


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to