* compiling GRUB 1.93 on OpenBSD
@ 2006-04-19 17:44 Marcos Latas
2006-04-19 19:08 ` Christian Laursen
0 siblings, 1 reply; 4+ messages in thread
From: Marcos Latas @ 2006-04-19 17:44 UTC (permalink / raw)
To: grub-devel
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
I have lzo-1.08 installed. I suppose GRUB is looking in the wrong
place for it. The lzo files are located on the following places:
/usr/local/include/lzo1.h
/usr/local/include/lzo16bit.h
/usr/local/include/lzo1a.h
/usr/local/include/lzo1b.h
/usr/local/include/lzo1c.h
/usr/local/include/lzo1f.h
/usr/local/include/lzo1x.h
/usr/local/include/lzo1y.h
/usr/local/include/lzo1z.h
/usr/local/include/lzo2a.h
/usr/local/include/lzoconf.h
/usr/local/include/lzoutil.h
/usr/local/lib/liblzo.a
/usr/local/lib/liblzo.la
/usr/local/lib/liblzo.so.1.0
/usr/local/share/doc/lzo/LTEST.TXT
/usr/local/share/doc/lzo/LZO.FAQ
/usr/local/share/doc/lzo/LZO.TXT
/usr/local/share/doc/lzo/LZOAPI.TXT
I suppose I have to change something in configure.ac, and then run
autoconf on it to produce the configure file. Could anyone help out?
Thank you very much for your time.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling GRUB 1.93 on OpenBSD
2006-04-19 17:44 compiling GRUB 1.93 on OpenBSD Marcos Latas
@ 2006-04-19 19:08 ` Christian Laursen
2006-04-19 20:00 ` Marcos Latas
0 siblings, 1 reply; 4+ messages in thread
From: Christian Laursen @ 2006-04-19 19:08 UTC (permalink / raw)
To: The development of GRUB 2
Marcos Latas <carvalholatas@sapo.pt> 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.
--
Christian Laursen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling GRUB 1.93 on OpenBSD
2006-04-19 19:08 ` Christian Laursen
@ 2006-04-19 20:00 ` Marcos Latas
2006-04-20 2:50 ` Yoshinori K. Okuji
0 siblings, 1 reply; 4+ messages in thread
From: Marcos Latas @ 2006-04-19 20:00 UTC (permalink / raw)
To: The development of GRUB 2
Christian Laursen wrote:
> Marcos Latas <carvalholatas@sapo.pt> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compiling GRUB 1.93 on OpenBSD
2006-04-19 20:00 ` Marcos Latas
@ 2006-04-20 2:50 ` Yoshinori K. Okuji
0 siblings, 0 replies; 4+ messages in thread
From: Yoshinori K. Okuji @ 2006-04-20 2:50 UTC (permalink / raw)
To: The development of GRUB 2
On Wednesday 19 April 2006 22:00, Marcos Latas wrote:
> 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!
This means that the OpenBSD port of binutils is buggy. Please talk with the
maintainer of the OpenBSD port.
Okuji
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-20 2:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-19 17:44 compiling GRUB 1.93 on OpenBSD Marcos Latas
2006-04-19 19:08 ` Christian Laursen
2006-04-19 20:00 ` Marcos Latas
2006-04-20 2:50 ` Yoshinori K. Okuji
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.