Hi,
I've been following the systemd branch book. It's great that the
maintainers have made so much progress, and thank you for providing
this guide on building linux systems.
Here is a report of problems I encountered upon finishing building and
rebooting the system, and possible solution. I would apologize if the
solution is indeed in the book and I missed that.

* bzip2 is using /usr not /usr/share for man pages
bzip2' makefile uses PREFIX/man for man pages. I wonder if I missed a
symlink for /usr/doc, but couldn't find it in the book. Anyway, a
simple sed would fix it:
sed -i "s@\(\$(PREFIX)/\)man@\1share/man@g" Makefile

* diffutils po files failed to install
This error is ignored. In case that po files are needed, a simple
patch (confirmed by this post:
http://lists.gnu.org/archive/html/bug-diffutils/2013-09/msg00003.html)
is attached. I guess a sed would do, too.

* expat 32 bit library test need CXX="g++ ${BUILD32}" set to past.

* systemd 64 bit install may need group adm,wheel to be present
This error is ignored. I know little about acl and systemd, so I don't
know if that would be a problem. Here are the commands that require
these groups:
setfacl -nm g:adm:rx,d:g:adm:rx /var/log/journal/
setfacl -nm g:wheel:rx,d:g:wheel:rx /var/log/journal/

* kbd's setfont location
I don't know if I got it wrong when building systemd, but during boot
systemd-vconsole-setup look for setfont in /usr/bin/setfont, not /bin.
It shouldn't do that, as the book seems to expect /usr not available
during early stage of booting. Anyway, I created a symlink in
/usr/bin.

* /etc/mtab
Systemd seems to require it to be a symlink to /proc/self/mounts.

Sincerely,
王文鑫
Charlie
--- diffutils-3.3/po/Makefile.in.in.orig	2014-01-30 04:40:13.214088110 +0000
+++ diffutils-3.3/po/Makefile.in.in	2014-01-30 04:41:33.460751447 +0000
@@ -42,7 +42,7 @@
 mkinstalldirs = $(SHELL) @install_sh@ -d
 install_sh = $(SHELL) @install_sh@
 MKDIR_P = @MKDIR_P@
-mkdir_p = @mkdir_p@
+mkdir_p = $(MKDIR_P)
 
 GMSGFMT_ = @GMSGFMT@
 GMSGFMT_no = @GMSGFMT@
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to