From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KHMyi-0000MD-8b for mharc-grub-devel@gnu.org; Fri, 11 Jul 2008 14:04:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHMyh-0000M8-EK for grub-devel@gnu.org; Fri, 11 Jul 2008 14:04:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHMyg-0000Lq-Qa for grub-devel@gnu.org; Fri, 11 Jul 2008 14:04:19 -0400 Received: from [199.232.76.173] (port=49509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHMyg-0000Ll-Mm for grub-devel@gnu.org; Fri, 11 Jul 2008 14:04:18 -0400 Received: from c60.cesmail.net ([216.154.195.49]:25094) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KHMyg-0008GZ-2P for grub-devel@gnu.org; Fri, 11 Jul 2008 14:04:18 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 11 Jul 2008 14:04:16 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 24DA44F1869 for ; Fri, 11 Jul 2008 14:04:16 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <487787A3.3040105@bio.umass.edu> References: <487787A3.3040105@bio.umass.edu> Content-Type: text/plain; charset=iso-8859-7 Date: Fri, 11 Jul 2008 14:04:15 -0400 Message-Id: <1215799455.20158.6.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 8bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: compiling grub2 on Ubuntu (Xubuntu) 8.04 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 18:04:19 -0000 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