From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: compiling grub2 on Ubuntu (Xubuntu) 8.04
Date: Fri, 11 Jul 2008 14:04:15 -0400 [thread overview]
Message-ID: <1215799455.20158.6.camel@dv> (raw)
In-Reply-To: <487787A3.3040105@bio.umass.edu>
On Fri, 2008-07-11 at 12:17 -0400, Tom Carpenter wrote:
> Ran into a few problems compiling grub2 (1.96) on my
> Ubuntu box; highlights of the apparent fixes are
>
> - install liblzo2-2 and liblzo2-dev
That's sufficient for me.
> - create a static link named /usr/lib/liblzo2.so to
> /usr/lib/liblzo2.so.2.0.0
That should not be needed. /usr/lib/liblzo2.so is included in
liblzo2-dev.
> 1. first attempt after installing liblzo2-2
...
> 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
That's to be expected.
> 2. create static link, ran 'configure', then tried running 'make'
> =================================================================
>
> # ls -la /usr/lib | grep lzo
> lrwxrwxrwx 1 root root 16 2008-05-22 14:30 liblzo2.so.2 -> liblzo2.so.2.0.0
> -rw-r--r-- 1 root root 125740 2007-06-16 08:58 liblzo2.so.2.0.0
>
> # ln -s /usr/lib/liblzo2.so.2.0.0 /usr/lib/liblzo2.so
>
>
> # ./configure
...
> checking for __lzo_init_v2 in -llzo2... yes
> checking for lzo1x_999_compress... yes
> checking lzo/lzo1x.h usability... no
> checking lzo/lzo1x.h presence... no
> checking for lzo/lzo1x.h... no
> checking lzo1x.h usability... no
> checking lzo1x.h presence... no
> checking for lzo1x.h... no
...
> util/i386/pc/grub-mkimage.c: In function ‘compress_kernel’:
> util/i386/pc/grub-mkimage.c:49: error: ‘lzo_uint’ undeclared (first use in this
> function)
That's to be expected. The headers are still missing.
> 3. install liblzo2-dev, re-ran 'configure'; 'make' runs now
> ==========================================================
>
> lzo related messages from re-run of 'configure'
> .
> .
> .
> 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
Now it's working. Creating the link manually wasn't needed.
--
Regards,
Pavel Roskin
prev parent reply other threads:[~2008-07-11 18:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 16:17 compiling grub2 on Ubuntu (Xubuntu) 8.04 Tom Carpenter
2008-07-11 18:04 ` Pavel Roskin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1215799455.20158.6.camel@dv \
--to=proski@gnu.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox