From owner-freebsd-ports@FreeBSD.ORG Wed Mar 27 16:55:50 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 67BE6980 for ; Wed, 27 Mar 2013 16:55:50 +0000 (UTC) (envelope-from christian.mangin@gmail.com) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx1.freebsd.org (Postfix) with ESMTP id 2917BDCC for ; Wed, 27 Mar 2013 16:55:49 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id jw11so2890263veb.36 for ; Wed, 27 Mar 2013 09:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type; bh=ox4x7PWdgGBry16XtbKKw4XX+tw0g1R2sUThEWrmiYE=; b=LvPsAUdevELLBH2hwknRHI1O7Tjl3cMbjMC94vW2deSnUHA21x8VCC7fyg6NPVCw85 bDbOE7zmdxEJ1jO403VmDXUCOGcaTyrTXPU3isUVbpmt0u2VVBTOTHzJO/D3d6Fd169Z 3PxBBQYf6LCeD+vCkBAOi+zsW6HBsXOh0rhmSlm57pR/rbot8104qhMFndMaJ80keG5G GjK10bsOewaRazU9EzDSPpKEyYUuTolN0xsiqLCXBJIThkDcX3gNhXM2fIU1oFU+/8fk LKgwplk8slmU64MGne4AXitrStXZt2Moex/Lj0owHj2e6SIMpQYWc6xJYdQt4e/ZpC3p r1uQ== X-Received: by 10.220.151.203 with SMTP id d11mr24342560vcw.9.1364403349254; Wed, 27 Mar 2013 09:55:49 -0700 (PDT) Received: from [192.168.80.173] (cable-10-157-60.b2b2c.ca. [72.10.157.60]) by mx.google.com with ESMTPS id xu4sm30628206vdb.11.2013.03.27.09.55.46 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 09:55:47 -0700 (PDT) Message-ID: <51532491.6050507@gmail.com> Date: Wed, 27 Mar 2013 12:55:45 -0400 From: Christian Mangin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.1 MIME-Version: 1.0 To: Beeblebrox Subject: Re: grub2 with libzfs References: <1364397485043-5799405.post@n5.nabble.com> In-Reply-To: <1364397485043-5799405.post@n5.nabble.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------070206020402080904020106" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 16:55:50 -0000 This is a multi-part message in MIME format. --------------070206020402080904020106 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hello, You don't need libzfs to use grub2 on ZFS. You just need to specify the zfs module if your 'grub-install' target is a ZFS dataset. I've submitted a patch for this port a while ago, There are probably issues I'm not aware of but I've been using this custom port for the last 6 months without problems. (tarball attached.) Beeblebrox a écrit : > I know grub2 is not very popular with the FreeBSD community, but I > like it. Currently the grub2 port looks broken and port maintainer > has advised me that he plans on dropping the port soon. I don't see > any point in filing a PR at this point... > > This leaves git/svn trunk from the grub2 download site for ver 2.0. > Unfortunately, when I try to compile I get a libzfs error (seems you > must invoke --enable-libzfs): > > ./configure --enable-libzfs ==> checking for ft2build.h... yes > checking for fuse_main_real in -lfuse... yes checking fuse/fuse.h > usability... yes checking fuse/fuse.h presence... yes checking for > fuse/fuse.h... yes checking libdevmapper.h usability... no checking > libdevmapper.h presence... no checking for libdevmapper.h... no > checking for geom_gettree in -lgeom... yes checking for lzma_code in > -llzma... yes checking libzfs.h usability... no checking libzfs.h > presence... no checking for libzfs.h... no checking libnvpair.h > usability... no checking libnvpair.h presence... no checking for > libnvpair.h... no checking for libzfs_init in -lzfs... no configure: > error: libzfs support was explicitly requested but requirements are > not satisfied > > libzfs is in /usr/lib and libzfs.so.2 is in /lib, but the make > process is looking for libzfs.h. > > Any suggestions on how to get this working? > > Regards. > > > > -- View this message in context: > http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405.html > > Sent from the freebsd-ports mailing list archive at Nabble.com. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports To > unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" -- christian.mangin@gmail.com - PGP: C850892A --------------070206020402080904020106--