Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FPOCp-0006Ql-4u for mharc-grub-devel@gnu.org; Fri, 31 Mar 2006 13:18:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPOCn-0006Pk-QE for grub-devel@gnu.org; Fri, 31 Mar 2006 13:18:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPOCm-0006Op-US for grub-devel@gnu.org; Fri, 31 Mar 2006 13:18:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPOCm-0006Oh-Qj for grub-devel@gnu.org; Fri, 31 Mar 2006 13:18:40 -0500 Received: from [80.166.152.7] (helo=ferengi.borderworlds.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPOFE-0005bu-B5 for grub-devel@gnu.org; Fri, 31 Mar 2006 13:21:12 -0500 Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id EE141B802 for ; Fri, 31 Mar 2006 19:48:01 +0200 (CEST) Received: by borg.borderworlds.dk (Postfix, from userid 1001) id 9899DB8F3; Fri, 31 Mar 2006 19:48:01 +0200 (CEST) To: The development of GRUB 2 From: Christian Laursen Date: Fri, 31 Mar 2006 19:48:01 +0200 Message-ID: <86r74i1p66.fsf@borg.borderworlds.dk> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Problem building grub 1.93 on FreeBSD 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, 31 Mar 2006 18:18:42 -0000 I am attempting to build grub 1.93 on FreeBSD but are experiencing problems when trying to tell the configure script where to find the LZO library. Lzo 2 is installed and located in /usr/local/lib: -rw-r--r-- 1 root wheel 161066 Mar 31 15:33 /usr/local/lib/liblzo2.a -rwxr-xr-x 1 root wheel 798 Mar 31 15:33 /usr/local/lib/liblzo2.la lrwxr-xr-x 1 root wheel 12 Mar 31 15:33 /usr/local/lib/liblzo2.so -> liblzo2.so.2 -rwxr-xr-x 1 root wheel 120428 Mar 31 15:33 /usr/local/lib/liblzo2.so.2 I am defining LDFLAGS and CFLAGS before running ./configure they do not seem to be used when trying to detect LZO. The typescript of the configure run is here: http://borderworlds.dk/~xi/grub2/configure.txt The config.log is here: http://borderworlds.dk/~xi/grub2/config.log As far as I can see, my CFLAGS and LDFLAGS are used in some of the tests but not in the last ones when trying to detect LZO. I don't understand autoconf enough to figure out how to fix this so any hints would be greatly appreciated. Thanks. -- Christian Laursen