Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FLTCa-0002X9-Tx for mharc-grub-devel@gnu.org; Mon, 20 Mar 2006 17:50:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FLTCZ-0002Wi-1J for grub-devel@gnu.org; Mon, 20 Mar 2006 17:50:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FLTCX-0002WN-BO for grub-devel@gnu.org; Mon, 20 Mar 2006 17:50:14 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLTCX-0002WK-7E for grub-devel@gnu.org; Mon, 20 Mar 2006 17:50:13 -0500 Received: from [204.127.131.117] (helo=mtiwmhc13.worldnet.att.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FLTCV-0005zu-ON for grub-devel@gnu.org; Mon, 20 Mar 2006 17:50:11 -0500 Received: from who7 (h-64-105-74-136.nycmny83.dynamic.covad.net[64.105.74.136]) by worldnet.att.net (mtiwmhc13) with SMTP id <20060320225009113007q0sqe>; Mon, 20 Mar 2006 22:50:09 +0000 From: "Gregg C Levine" To: "'The development of GRUB 2'" Date: Mon, 20 Mar 2006 17:51:51 -0500 Message-ID: <000e01c64c70$e0f5efa0$6401a8c0@who7> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <552cfe40603201432k24cc2aacs@mail.gmail.com> Importance: Normal Subject: RE: Lzo configure failure. 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: Mon, 20 Mar 2006 22:50:15 -0000 Hello from Gregg C Levine Actually libraries such as the LZO one belong in /usr/lib not usr/local/lib (Note my correct spelling.) that might be most of his/your problems. By instructing the configuration script where to find or place your libraries you'll solve most of these problems. These instructions are available by giving the configure script the "--help" option, but without my quotes. Unless of course your building Grub2 so that it will be placed in the /usr/local locations.=20 The proper place for all libraries on Linux is indeed /usr/lib unless the documentation insists upon it being otherwise. And of course your not building your libraries on Linux but your building on one of the BSDs. --- Gregg C Levine hansolofalcon@worldnet.att.net --- "Remember the Force will be with you. Always." Obi-Wan Kenobi=20 > -----Original Message----- > From: grub-devel-bounces+hansolofalcon=3Dworldnet.att.net@gnu.org [mailto:grub- > devel-bounces+hansolofalcon=3Dworldnet.att.net@gnu.org] On Behalf Of xi yang > Sent: Monday, March 20, 2006 5:33 PM > To: The development of GRUB 2 > Subject: Lzo configure failure. >=20 > hi: > Try Lzo-1.08.tar.gz > I have got the same problem whem i was compiling the grub1.92 with Lz0-2,02 > then I used Lzo-1.08.tar.gz,everything 's fine >=20 > BTW,you should enable the /usr/loacal/lib while lib searching >=20 > 2006/3/20, Z3tbl4 [] : > > Thank you for your answer. > > i had some errors with includes which i fixed with this flags and > > copyind LZO includes to grub2 ./includes > > > > ./configure BUILD_LDDFLAGS=3D-L/usr/local/lib > > BUILD_CPPFLAGS=3D-I/usr/local/include BUILD_CFLAGS=3D-I/usr/local/include > > > > but now i can't compile with this error > > > > gcc -Iutil/i386/pc -I./util/i386/pc -I. -Iinclude -I./include -Wall -W > > -DGRUB_DATADIR=3D\"/usr/local/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=3D1 > > -c -o grub_mkimage-util_i386_pc_grub_mkimage.o > > util/i386/pc/grub-mkimage.c > > In file included from util/i386/pc/grub-mkimage.c:27: > > include/grub/util/misc.h:41: error: syntax error before "off_t" > > include/grub/util/misc.h:45: error: syntax error before "off_t" > > gmake: *** [grub_mkimage-util_i386_pc_grub_mkimage.o] Error 1 > > > > thank you > > > > 2006/3/18, grub-devel-request@gnu.org : > > > Send Grub-devel mailing list submissions to > > > grub-devel@gnu.org > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > or, via email, send a message with subject or body 'help' to > > > grub-devel-request@gnu.org > > > > > > You can reach the person managing the list at > > > grub-devel-owner@gnu.org > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of Grub-devel digest..." > > > > > > > > > Today's Topics: > > > > > > 1. Re: LZO configure failure (Martin Moeller) > > > > > > > > > ---------------------------------------------------------------------- > > > > > > Message: 1 > > > Date: Fri, 17 Mar 2006 22:37:53 +0100 > > > From: Martin Moeller > > > Subject: Re: LZO configure failure > > > To: The development of GRUB 2 > > > Message-ID: <20060317213753.GA498@t-online.de> > > > Content-Type: text/plain; charset=3Dus-ascii > > > > > > Hi, > > > > > > I guess you have installed the LZO Library in /usr/local/lib. > > > The script ignores this library search path (like the most one). > > > Try to add it yourself as parameter to your configure script: > > > > > > # ./configure BUILD_LDDFLAGS=3D-L/usr/local/lib > > > (tested with grub-1.91, also on FreeBSD 5.3) > > > > > > On Thu, Mar 16, 2006 at 07:20:02AM -0800, Z3tbl4 [] wrote: > > > > Hello. Can anyone help me compile grub2 with LZO on FBSD 5.3 ! > > > > I have lzo already installed. here is the configure output, thank you. > > > > > > > > [zm@q] /usr/src/grub-1.92 # ./configure > > > > 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 -y > > > > checking for bison -y... (cached) bison -y > > > > 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=3D3 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 > > > > > > > > > > > > _______________________________________________ > > > > Grub-devel mailing list > > > > Grub-devel@gnu.org > > > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > > > > > > > > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > Grub-devel mailing list > > > Grub-devel@gnu.org > > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > > > > > > > End of Grub-devel Digest, Vol 25, Issue 9 > > > ***************************************** > > > > > > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > http://lists.gnu.org/mailman/listinfo/grub-devel > > >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel