site  contact  subhomenews

QU64: eudev, f2fs-tools

November 12, 2014 — BarryK
My QU64 compile environment is still broken, so I compiled these packages in Fatdog64.

eudev 1.10
I downloaded eudev from here:
http://dev.gentoo.org/~blueness/eudev/

Briefly, the history of eudev: before, there was 'udev', which got merged into 'systemd'. Which annoyed a lot of people, and I have written about it on my blog. Many applications need the later libudev that is in systemd, but what if you don't want systemd in your distro? -- actually, it is getting harder to leave it out, as the tentacles of systemd are spreading, and many utilities (cupsd for example) in major distos (such as Ubuntu 14.10) have a dependency on a systemd library.
Anyway, the udev components can in theory be extracted from systemd, but there is one step better -- the Gentoo distro is one that has held out against systemd, and they maintain 'eudev', the udev component of systemd, extracted from systemd sometime ago and maintained as a separate project. Eudev will give you 'udevd' daemon and 'libudev' and 'libgudev' libraries, plus of course all the udev rules.

This is how I compiled it. The 'kmod' package is required (and the kernel needs to have devtmpfs enabled). It was Dec. 2013 ago that I had some communication with the eudev developers, and ended up with these rather complicated-looking configure options, though some of them are defaults anyway. The same options are still working for me now.

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib/udev --with-rootlibdir=/lib --with-firmware-path=/lib/firmware/updates:/lib/firmware --enable-introspection=no --disable-selinux --enable-libkmod --with-rootprefix="" --disable-gtk-doc --disable-manpages --disable-keymap --with-modprobe=/sbin/modprobe --libexecdir=/usr/libexec --enable-modules --build=x86_64-pc-linux-gnu --enable-split-usr --exec-prefix=""

# make
# new2dir make install
<

...of course, change that "x86_64" to "i386" for a 32-bit compile.

f2fs-tools 1.4.0
I downloaded from here:
http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/

The kernel needs to have the f2fs driver enabled.

the "autoreconf --install" step complained of missing build-aux/config.guess and config.sub -- I got them from jwm-976 source package.
Do this first! ...that is, create folder 'build-aux' and copy those files.

# autoreconf --install

# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=x86_64-pc-linux-gnu --bindir=/bin --sbindir=/sbin --libdir=/lib
# make
# new2dir make install
<

...ditto, replace "x86_64" with "i[3456]86" for 32-bit compile.

Tags: linux