Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 12:55:45 -0400
From:      Christian Mangin <christian.mangin@gmail.com>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: grub2 with libzfs
Message-ID:  <51532491.6050507@gmail.com>
In-Reply-To: <1364397485043-5799405.post@n5.nabble.com>
References:  <1364397485043-5799405.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51532491.6050507>