Re: [lfs-support] configure package texinfo 5.2 failure

2014-04-25 Thread Armin K.
On 04/26/2014 12:59 AM, Bruce Dubbs wrote:
 Aislan de Sousa Maia wrote:
 Here is the version-check's output:

 bash, version 4.2.25(1)-release
 /bin/sh - /bin/bash
 Binutils: (GNU Binutils for Ubuntu) 2.22
 bison (GNU Bison) 2.5
 /usr/bin/yacc - /usr/bin/bison.yacc
 bzip2,  Version 1.0.6, 6-Sept-2010.
 Coreutils:  8.13
 diff (GNU diffutils) 3.2
 find (GNU findutils) 4.4.2
 GNU Awk 3.1.8
 
 Needs to be Gawk-4.0.1 or later.  Typo?
 
-- Bruce
 

Apparently it doesn't, since it's only used by glibc package and 4.0.1
was only required by certain version because of some kind of bug.

His error is rather misconfigured perl in /tools. My
/tools/lib/perl5/5.18.2 has Encode.pm file and Encode directory, which
is what texinfo configure looks for. His apparently doesn't which seems
a missed step in chapter 5 perl installation.


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] configure package texinfo 5.2 failure

2014-04-25 Thread Armin K.
On 04/26/2014 02:50 AM, Aislan de Sousa Maia wrote:
 Yay!! I don't know why, but now texinfo configure and no more complaints
 about Perl and Encode module. 
 
 My only two configure's warnings below:
 
 configure: WARNING: Could not find a terminal library among tinfo
 ncurses curses termlib termcap terminfo
 configure: WARNING: The programs from `info' directory will not be built.
 
 It's problematic or nothing for me worry about ?
 

It's okay, you don't need info program from chapter 5 texinfo anyways.
It has something to do with no libncurses.so compatibility library
installed in chapter 5 build like in chapter 6.

 And about the problem above, I just update Gawk for 4.0.1 and redo
 installation for Perl according to the LFS says.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] missing systemd out

2014-04-23 Thread Armin K.
On 04/23/2014 12:04 PM, xinglp wrote:
 2014-04-23 17:26 GMT+08:00 TheOldFellow theoldfel...@gmail.com:
 Am I right in thinking that ACL, ATTR are not needed if systemd is being 
 avoided?  What else has had to be added so that systemd compiles?

 I'm also avoiding d-bus and sysklogd as I have better alternatives.

 Richard.
 Viceversa, I'd like to know what can be removed if I don't want
 sysvinit. I've removed
 sysklogd sysvinit bootscript and some adjusting of chapter7.

 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

Both of you are correct, what you ask can be done.

However, it might be a good idea not to drop non-systemd/non-dbus
packages (such as acl, attr, libcap, etc) so they can be asumed that
they're always installed and be removed from BLFS in the future.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] missing coreutils-8.22-shuf-segfault-1.patch

2014-04-22 Thread Armin K.
On 04/23/2014 05:15 AM, xinglp wrote:
 http://www.linuxfromscratch.org/patches/lfs/development/coreutils-8.22-shuf-segfault-1.patch
 not found.
 
 There's only 
 svn://svn.linuxfromscratch.org/patches/trunk/coreutils/coreutils-8.22-shuf-segfault.patch
 

Patches get copied when online book is generated and that still wasn't
the case since the patch was added.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] ACL check errors: are they important?

2014-04-21 Thread Armin K.
On 04/21/2014 06:13 PM, Hazel Russman wrote:
 I am building a 7.5 LFS with systemd and currently working through
 chapter 6. Having successfully installed coreutils, I rebuilt acl and
 ran the test suite. Initially I got 47 errors!
 
 According to BLFS, the acl test suite requires a daemon user who is also
 in the bin group (currently section 6.6 of LFS-systemd does not include
 this user in /etc/passwd). Adding it reduced the number of errors from
 47 to 10. However I have not been able to reduce them any further.
 BLFS also recommends giving bin and daemon proper home directories (I
 used /bin and /sbin respectively) and a shell, but this had no effect
 in my case.
 
 As far as I know, the acl and user_xattr options required for
 acl to work on the mounted lfs partition are built into the ext4
 driver that my host kernel (3.10.17) uses and do not need to be set
 explicitly. When I do set them, they are accepted silently but don't
 show up in /proc/mounts, whereas noacl and nouser_xattr do.
 
 I attach an edited log file containing the actual test errors. I need to
 know if they are important and, if so, how to get rid of them.
 
 
 

Drop the root-tests, they are broken anyways. I couldn't even get them
to run with daemon user present.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread Armin K.
On 19.4.2014 7:42, mar...@byteanywhere.com wrote:

  Hi

Thanks all for the replays.
 I am trying to create a cross compiler using the steps for building LFS
 when the temporary tools are build.
 Those steps should allow me to use the cross compiler, but obviously
 i am not doing something correctly.
 I just used the path from cross-tools package 0.43
 but not using anything from there. One reason for which i am trying
 to create the cross compiler, is that i saw you build for LFS gcc 4.8.2
 and glibc-2.19, which are not supported anymore by that tool or others.

 This are the steps is used. I didnt created a lfs user,
 but if you think thats the cause of the problem i can create it and try
 that way as well. The host is x86_64 with kernel 3.7.10

 I have a symlink between:
   ls -ld /tools
 lrwxrwxrwx 1 root root 47 Apr 17 08:08 /tools -
 /home/marian/crosstool/x86_64-unknown-linux-gnu/


 export PREFIX=/home/marian/crosstool/x86_64-unknown-linux-gnu
 export TARGET=x86_64-unknown-linux-gnu

The trick is in this line. To cross compile glibc for the same arch, 
target triplet needs to be different or you are nothing other but simply 
compiling. I ran into similar issue when I bootstrapped 32 bit glibc on 
64 bit os. That's one reason lfs uses $LFS_TGT-*lfs*-linux-gnu, not 
$LFS_TGT-*unknown*-linux-gnu for pass1 of both binutils and gcc.

 export
 SYSROOT=/home/marian/crosstool/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sys-root
 export PATH=/tools/bin:/bin:/usr/bin

 1. Binutils
   ../binutils-2.24/configure --prefix=/tools --with-sysroot=$SYSROOT
 --with-lib-path=/tools/lib --target=$TARGET --disable-nls
 --disable-werror

binutils compiles fine. no errors.

 2. Kernel headers

 make headers_check
 make INSTALL_HDR_PATH=dest headers_install
 cp -rv dest/include/* /tools/include


 3.  From some other docs i saw they install the glibc headers as well here.
 I have tried this, but the same error is happening when building gcc or
 glibc.
 System glibc headers

 mkdir glibc-build
 cd glibc-build

 ../glibc-2.19/configure --prefix=/tools --host=$TARGET
 --build=$(../glibc-2.19/scripts/config.guess) --disable-profile
 --enable-kernel=2.6.32 --with-headers=/tools/include
 libc_cv_forced_unwind=yes libc_cv_ctors_header=yes libc_cv_c_cleanup=yes
 --without-selinux

 make -k install-headers install_root=/

 4. GCC stage 1

 ../gcc-4.8.2/configure --target=$TARGET --prefix=/tools
 --with-sysroot=$SYSROOT --with-newlib  --without-headers
 --with-local-prefix=/tools
 --with-native-system-header-dir=/tools/include --disable-nls
 --disable-shared  --disable-multilib  --disable-decimal-float
 --disable-threads --disable-libatomic  --disable-libgomp --disable-libitm
 --disable-libmudflap --disable-libquadmath --disable-libsanitizer
 --disable-libssp  --disable-libstdc++-v3 --enable-languages=c,c++
 --with-mpfr-include=$(pwd)/../gcc-4.8.2/mpfr/src
 --with-mpfr-lib=$(pwd)/mpfr/src/.libs

 Here if i use make, i get the same error, that compiler can not create
 executables. From config log, the error is that cross gcc is not able
 to find a couple of libs (which seems generated by glibc) crt1.o, crti.o,
 crtn.o and libc.so

Thus from other docs i have seen these being used, so i have tried to
 continue using them:

 make all-gcc
 make all-target-libgcc
 make install-gcc
 make install-target-libgcc

 5.  building glibc fails building in sunrpc folder,
 for some rpc_* files, with the same same error, saying that those libs can
 not be found.


 ../glibc-2.19/configure --prefix=/tools --host=$TARGET
 --build=$(../glibc-2.19/scripts/config.guess) --disable-profile
 --enable-kernel=2.6.32 --with-headers=/tools/include
 libc_cv_forced_unwind=yes libc_cv_ctors_header=yes libc_cv_c_cleanup=yes
 --without-selinux

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] SVN-20140331 6.29. Coreutils-8.22. 1 test failure nohup

2014-04-01 Thread Armin K.
On 04/01/2014 02:11 PM, Robin wrote:
From nohup.log:
 + test -w /dev/full
 + test -c /dev/full
 + exec
 ./tests/misc/nohup.sh: line 66: /dev/tty: No such device or address
 + fail=1
 
 Found discussion at
 https://lists.gnu.org/archive/html/guix-devel/2014-03/msg00017.html
 Patch discussed
 http://lists.gnu.org/archive/html/bug-coreutils/2014-03/msg00017.html
 
 
 --
 rob
 

You should have /dev/tty in chroot since $LFS/dev is a bind-mount of
host's /dev

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Linux From Scratch - Version SVN-20140328 6.22. Attr-2.4.47 Multiple failures on tests

2014-04-01 Thread Armin K.
On 04/01/2014 12:11 AM, Robin wrote:
 If I run 'make tests root-tests' I get 65 failures.
 Running the tests separately i.e. 'make tests'  then  'make
 root-tests'  and all tests were successful.
 
 My MAKEFLAGS='-j 4' if that is signicant.
 
 Thanks
 

Parallel testing doesn't work with either attr or acl. Use make -j1 ...
for them.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-22 Thread Armin K.
On 03/22/2014 02:59 PM, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.
 
 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux 
 systems file system layout matches/closely matches my FreeBSD systems.  
 When was the /run directory introduced and what package(s) required 
 moving run-time data from /var/run to /run?
 

It was introduced and first used by udev way before systemd merge.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Blank screen when booting with 3.13.3 kernel. - LFS 7.5

2014-03-12 Thread Armin K.
On 03/12/2014 03:46 PM, rhubarbpie...@gmail.com wrote:
 
 I've built LFS 7.5 with the 3.13.3 kernel but receive a blank screen 
 upon booting.  As an experiment, I unselected AGP Support in my kernel 
 configuration and can successfully boot.  My thinking was perhaps 
 there's a problem with AGP support.
 
 However, as I'm running LFS/BLFS 7.4, I compiled that 3.10.10 kernel in 
 my LFS 7.5 build and CAN successfully with with AGP support.  I compiled 
 the kernel with the same .config I used when compiling the LFS 7.5 
 3.13.3 kernel.  I also received a blank screen with the 3.13.5 kernel, 
 so the problem isn't unique to 3.13.3.
 
 It appears there's a problem with newer kernels.  However, I certainly 
 can't ignore the possibility of user error, as that's my talent.  A 
 few questions:
 
 Does it make sense it's a kernel version problem?
 
 If not, what might I have done wrong?
 
 Will there be problems running an older kernel (3.10.10) than the kernel 
 with which I built LFS 7.5 (3.13.3)?
 

Have you enabled framebuffer console? CONFIG_FRAMEBUFFER_CONSOLE=y

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Blank screen when booting with 3.13.3 kernel. - LFS 7.5

2014-03-12 Thread Armin K.
On 03/12/2014 08:29 PM, rhubarbpie...@gmail.com wrote:
 On 03/12/14 12:11, Duc Tran wrote:
 On 03/12/2014 11:11 PM, Armin K. wrote:

 Could you post your kern.log from /var/log after you boot? (you can get
 it from chroot after reboot iirc). Compress it before sending or it
 might get blocked.

 I also had no success after deselecting Sony Vaio Programmable I/O
 Control Device Support.
 

It looks like you are using a laptop. I had a similar problem when I
transfered my lfs install from my p4 desktop to my corei5 laptop.
Everything seemed to be working, but I couldn't see anything. The trick
was that backlight was set to zero. Pressing Brightness Up key brought
up the display.

Permanent solution was to add acpi_osi=Linux acpi_backlight=vendor to
the kernel command line (in grub.cfg after root=...)


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] LFS systemd 7.5 is out

2014-03-02 Thread Armin K.
I am pleased to announce the first stable release of the Linux From
Scratch book that is using systemd as the init system.

For a quick summary about differences between this and the official LFS
book see the first release candidate announcement[1].

The book can be read online[2] or downloaded[3] to read locally.

Unfortunately, there is no release of BLFS that follows this book. There
are notes[4] for building packages from current BLFS svn (soon to be
BLFS 7.5) book on LFS systemd.

Once again, thanks to everyone who made this release possible.

[1] http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg19432.html
[2] http://www.linuxfromscratch.org/lfs/view/7.5-systemd/
[3] http://www.linuxfromscratch.org/lfs/downloads/7.5-systemd/

f5894fbe2aa482e028a016c89a3ee3df  LFS-BOOK-7.5-systemd-NOCHUNKS.html
ee5e98a2809ce30f43bae786529f1124  LFS-BOOK-7.5-systemd.pdf
3da4d24da2264e375a4f99e8b9347eb8  LFS-BOOK-7.5-systemd.tar.bz2
3f25106ace9c17b7fe759076b482e321  lfs-network-scripts-20140214.tar.bz2
3c6e98a815615d61b4c210030bd6ee91  md5sums
85134bfc9576352d9a0eb0f41f85ee81  wget-list

[4] http://www.linuxfromscratch.org/~krejzi/notes.txt

--
Armin K.

Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] init script question

2014-02-20 Thread Armin K.
On 02/21/2014 01:35 AM, joel kammet wrote:
 I've been wondering about the case statement in S00mountvirtfs that mounts 
 the virtual filesystems.
 
 
   if ! mountpoint /run /dev/null; then
  mount /run || failed=1
 
 and similar commands for proc sys and dev.
 
 
 I understand what the mountpoint lines are doing, but mount /run puzzles me.
 
 
 There are no fstab entries for these filesystems, so I would expect mount 
 [device] [mountpoint].


There are.

http://www.linuxfromscratch.org/lfs/view/development/chapter08/fstab.html

tmpfs  /run tmpfsdefaults0 0

 
 Why does that command work without the [device] parameter?
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] CLFS

2014-02-19 Thread Armin K.
On 02/19/2014 11:55 AM, Alice Wonder wrote:
 On Wed, 2014-02-19 at 05:51 -0500, Chris Staub wrote:
 On 02/19/14 05:46, loki wrote:
 Heya,

 just wanted to ask what happened to CLFS?

 On the address http://www.cross-lfs.org/ I'm getting a Domain for Sale.

 Regards,
 Daniel


 Nothing happened to it, it's where it's always been, at trac.cross-lfs.org.
 
 I get domain for sale there as well, and indication it has expired.
 

Simple whois says that domain was renewed today (19.02), but nameservers
still point to the

Name Server:NS1.MYDOMAINCOM-EXPIRED.DOMAINPARKINGSERVER.NET


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Basic Kernel Configuration

2014-02-17 Thread Armin K.
On 02/17/2014 12:14 PM, Fernando de Oliveira wrote:
 
 It is a very good work, would have saved me some days, perhaps months,
 as the first build, I gave up, in the past. Thanks.
 
 Optional, for VMware virtual machines: it could be interpreted
 incorrectly as optional for VM... I would think that to emphasize, it
 could be Optional, but required for VMware virtual machines.
 

There was a coma, and that doesn't make it the same as Optional for
VMware virtual machines, but yes I agree there. I've corrected that to
be Optional, required for ... as in the USB part.

 One of the USB controller drivers, hardware dependent. You can look in
 the lsmod output - can all be used?
 

Well, that really depends. I've corrected it to say One or more, since
some hardware can use only one (ie USB 2.0 only hardware), while some
older hardware has both USB 2.0 and USB 1.1 and some newer hardware has
also USB 2.0 and USB 3.0.

 # while the others can be also select as module: s/select/selected/?
 

Yes, corrected.

Thanks for your input.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] systemd versus sysvinit

2014-02-16 Thread Armin K.
On 16.2.2014 12:59, Frans de Boer wrote:
 Dear All,

 It looks like most Linux distributions are switching to systemd from
 sysvinit. As Bruce is even one of the (co-?)authors of systemd, the
 knowledge is already in the house. Why would (x)LFS stick to sysvinit
 while the rest of the world is moving to systemd?


I doubt he ever contributed any code to upstream systemd. If you by 
systemd mean the LFS systemd book, then no, he is one of the 
maintainers of LFS with sysvinit, on which LFS systemd is based.

 Of course, simplicity might be one reason. After all sysvinit system is
 much easier to understand then the somewhat more complex systemd system.
 However, if everybody was thinking like this, there would be no progress
 ever.
 I also think that in order to keep (x)LFS attractive to new followers,
 the project should go with the flow.

 Since my days of programming are long past, I can only offer my system
 resources for (test)building development versions - much as what I do today.

 Regards, Frans.


See the following two threads:

https://www.mail-archive.com/blfs-dev@linuxfromscratch.org/msg16106.html

and

https://www.mail-archive.com/blfs-dev@linuxfromscratch.org/msg16069.html

including replies from Bruce and other people.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Basic Kernel Configuration

2014-02-16 Thread Armin K.
On 02/16/2014 02:38 AM, Ken Moffat wrote:
 On Sun, Feb 16, 2014 at 01:04:12AM +0100, Armin K. wrote:
 Hello there,

 I have been spending my time on LFS IRC for a long time now and have
 noticed that most users who come for help there get stuck at configuring
 their kernel.

 Thus, I have written a rather basic guide on how to configure the kernel
 to get your machine to boot for the first time (disk controllers and
 filesystem drivers), but not other hardware specific stuff.

 You can see it here:

 http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt

 Any suggestions or additions are welcome.

 Cheers.

  Just a couple of suggestions:
 

Thanks for your input.

 1. SATA etc
 So I select the first two modules below.
 s/modules/drivers/ - people coming from a distro might be used to
 building everything as a module and take it too literally.
 

Yeah, that makes sense. I've also added a note at the beginning that
everything should be built-in.

 2. filesystems -
 I would be inclined to drop specific mention of reiser3, and cover
 it by Additionally, any other filesystem not listed here., but
 perhaps some distro(s) used to use it in the last couple of years.
 

That was first in my mind, but I realised that BLFS still provides fs
tools for reiserfs and that's why I added it. I've removed it now though.

  I guess that defconfig covers almost everything else that is
 commonly needed to get a bootable .config.
 
 ĸen
 

That is mentioned at the beginning. But then again, some might try to
strip the kernel as much as possible, that's why I've covered the
basics only.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] LFS systemd 7.5-rc1 is out

2014-02-16 Thread Armin K.
I am pleased to announce a release candidate for the first release of
the Linux From Scratch book that is using systemd as the main init system.

The book contains all the changes from LFS-7.5-rc1, along with extra
packages that are necessarry for systemd, as well with some packages
removed that are still part of standard Linux From Scratch installation.

New packages include:

Acl-2.2.52
Attr-2.4.47
D-Bus-1.8.0
Expat-2.1.0
Gperf-3.0.4
Intltool-0.50.2
LFS-Network-Scripts 20140214
Libcap-2.24
Systemd-208
XML-Parser-2.42_01

Removed packages include:

LFS-Bootscripts-20130821
Sysklogd-1.5
Sysvinit-2.88dsf
Udev-208

The book can be read online at

http://www.linuxfromscratch.org/lfs/view/7.5-systemd-rc1/

or it can be downloaded as HTML, HTML-NOCHUNKS and PDF version at

http://www.linuxfromscratch.org/lfs/downloads/7.5-systemd-rc1/

dd7a8768f2c413cc1c94485ede7dea15  LFS-BOOK-7.5-systemd-rc1-NOCHUNKS.html
3d91ca81723a3dcb16d82a3eb8224554  LFS-BOOK-7.5-systemd-rc1.pdf
b370e26cba75f2366787b6e1fb634b48  LFS-BOOK-7.5-systemd-rc1.tar.bz2
3c67714167e09c727e3422e20284765d  lfs-network-scripts-20140214.tar.bz2
8bdbab37787a687575a30f8463b594af  md5sums
4e36d00a4076f201086a8e773f5ac3c6  wget-list

All users are encouraged to read through this release of the book and
test the instructions so that the final release can be made as good as
possible.

Thanks to all who have contributed and provided feedback for this
hopefully useful piece of work.

-- 
Armin K.

Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Basic Kernel Configuration

2014-02-15 Thread Armin K.
Hello there,

I have been spending my time on LFS IRC for a long time now and have
noticed that most users who come for help there get stuck at configuring
their kernel.

Thus, I have written a rather basic guide on how to configure the kernel
to get your machine to boot for the first time (disk controllers and
filesystem drivers), but not other hardware specific stuff.

You can see it here:

http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt

Any suggestions or additions are welcome.

Cheers.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 6.40 automake-1.14.1 and flex-2.5.38

2014-02-14 Thread Armin K.
On 02/15/2014 01:29 AM, Frans de Boer wrote:
 During a BSS rebuild I found that automake generates two errors which 
 stop the auto build.
 
 It is introduced by flex-2.5.38, I tried the same with flex-2.5.37 with 
 no errors.
 

Maybe automake needs static flex library which Bruce disabled explicitly
with 2.5.38? There were no big changes in 2.5.37-2.5.38 development
cycle that could cause that.

 I added the next line to the build script for automake because I can't 
 find the cause. All errors complain about a missing 'yylex' label in one 
 of the libraries. Maybe a problem with flex-2.5.38 not exporting a label 
 anymore?
 
 Added line:
sed -i '/\(t\/lex-clean-cxx.sh\|t\/lex-depend-cxx.sh\)/d' Makefile.in
 
 After which automake makes it through the tests.
 
 MAYBE: this is also the cause why man-db - the initial reason for a 
 rebuild - generates two errors? Keep you all informed.
 
 Regards, Frans.
 


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 6.55 man-DB 2.6.6

2014-02-13 Thread Armin K.
On 02/13/2014 04:42 PM, Frans de Boer wrote:
 During testing I get col: Invalid or incomplete multibyte or wide 
 character as output for the man-6 test. I found references which date 
 back to 2009 with the same errors, but no solution is found.
 
 So, I doubt I'll be the first to notice this.
 Any suggestions?
 
 Regards, Frans.
 

Ken also reported it few days back on lfs-dev, but it seems that there's
no solution for that one, too.

http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg19395.html

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] D-Bus in the kernel

2014-01-23 Thread Armin K.
For those interested in systemd and desktops in general, you might qlwo
be interested in a talk about kernel implementation of D-Bus.

http://mirror.linux.org.au/linux.conf.au/2014/Friday/104-D-Bus_in_the_kernel_-_Lennart_Poettering.mp4

When kdbus is ready, systemd itself won't depend on dbus-daemon and
libdbus anymore. kdbus userspace is in systemd, so any app that will
depend on kdbus will depend on systemd itself.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] version-check.sh

2014-01-15 Thread Armin K.
On 15.1.2014 22:22, William Darryl Jackson wrote:
 Anybody see any problems here? (FYI gcc-4.6 and 4.7 are both installed.
 Header uses 4.6 but other software requires 4.7).

 william@c-68-36-199-213:~/My_Documents$ ./version-check.sh
 bash, version 4.2.37(1)-release
 /bin/sh - /bin/bash
 Binutils: (GNU Binutils for Debian) 2.22
 bison (GNU Bison) 2.5
 /usr/bin/yacc - /usr/bin/bison
 bzip2,  Version 1.0.6, 6-Sept-2010.
 Coreutils:  8.13
 diff (GNU diffutils) 3.2
 find (GNU findutils) 4.4.2
 GNU Awk 4.0.1
 /usr/bin/awk - /usr/bin/gawk
 gcc (Debian 4.7.2-5) 4.7.2
 g++ (Debian 4.7.2-5) 4.7.2
 (Debian
 grep (GNU grep) 2.12
 gzip 1.5
 Linux version 3.2.0-4-686-pae (debian-ker...@lists.debian.org) (gcc
 version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.51-1
 m4 (GNU M4) 1.4.16
 GNU Make 3.81
 patch 2.6.1
 Perl version='5.14.2';
 GNU sed version 4.2.1
 tar (GNU tar) 1.26
 Texinfo: makeinfo (GNU texinfo) 4.13
 xz (XZ Utils) 5.1.0alpha
 g++ compilation OK

 Thanks,

 William


Looks fine to me.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-SYSTEMD-20131221 broken link

2013-12-29 Thread Armin K.
On 12/29/2013 05:09 PM, Thanos Baloukas wrote:
 On 12/29/2013 04:03 PM, Armin K. wrote:
 On 12/29/2013 01:26 PM, Thanos Baloukas wrote:
 The link
 http://www.linuxfromscratch.org/lfs/downloads/systemd/lfs-network-scripts-20131222.tar.bz2
 seems to be broken. Does anybody know where can I get that?


 http://www.linuxfromscratch.org/~krejzi/lfs-network-scripts-20131221.tar.bz2

 03f9a8fd1f01bd2b6572ec4c47963cfe  lfs-network-scripts-20131221.tar.bz2

 Matt seems to be on vacation and he is responsible for book generation
 so there's nothing I can do to fix it just yet. The book rendered online
 is an old snapshot and doesn't contain any latest fixes. I recommend
 cloning the book from svn, running make will generate the mentioned
 tarball, too.

 Thanks Armin. I'm glad you 're back. Actually I've built revision 10419
 with jhalfs. The broken link is from the generated html. There were
 two more in wget-list and found the tarballs elsewhere,
 but I don't remember them. I'm not sure what you mean by
  running make will generate the mentioned tarball, too.
 

In the directory you got with svn co systemd-branch-url, you can run
make and it will generate html pages in $HOME/lfs-book by default, and
it will generate bootscripts tarball in the directory you ran make from.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Systemd branch now considered usable

2013-12-23 Thread Armin K.
On 23.12.2013 17:28, akhiezer wrote:

 For anyone that wants to read the book online can do so by going to
 http://www.linuxfromscratch.org/lfs/view/systemd/

 Latest daily regenerated book is also available for download as html and
 pdf from http://www.linuxfromscratch.org/lfs/downloads/systemd/

 Please allow it at least 12 hours to regenerate and include my latest
 changes.



 Those urls both still seem to be saying 'SYTEMD-20131210', and have e.g.
 changelog only up 'til that date; while trac indicates changes since then.
 Is there some problem with new daily renders, or what?


Hm, Matt can you check this?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Systemd branch now considered usable

2013-12-21 Thread Armin K.
Hello there,

After many months since lfs systemd branch was created, I am pleased to
announce that I consider it being usable for everyone that wants to use it.

I've managed to add missing bits to the branch today and doing that I've
finished what it was necessarry to bring it up to par with current lfs
development. There are some minor things missing like dependencies for
new packages, but I do not consider it critical to affect anything
related to the system built using the mentioned instructions.

In another thread, Bruce mentioned that:

We plan on the next LFS version on March 1st with a package freeze
probably around mid-February.

We will try to follow LFS freeze and release date and if it seems
possible, we will release lfs-systemd-stable whatever the next stable
version is along with lfs-stable.

For anyone out there who has spare time and motivation, I'd like to test
the instructions and report back if there are any problems. I will also
accept any fixes that may concern lfs systemd, be it a spelling or
gramatical fix, instructions fix or even instructions enhancements.

You can clone lfs-systemd book using svn co
svn://svn.linuxfromscratch.org/LFS/branches/systemd

To create a patch, just change what's necessary and do svn diff 
somename.patch and send the patch either to me directly, to lfs-dev
development list or attach it to lfs trac ticket. Please specify
systemd as version in lfs trac.

Since I am not native English speaker, I expect that there will be many
gramatical or spelling mistakes, especially in chapter 7, where the most
changes occoured.

For anyone that wants to read the book online can do so by going to
http://www.linuxfromscratch.org/lfs/view/systemd/

Latest daily regenerated book is also available for download as html and
pdf from http://www.linuxfromscratch.org/lfs/downloads/systemd/

Please allow it at least 12 hours to regenerate and include my latest
changes.

Thanks to LFS team, specificaly Bruce and Matt and everyone else who
contributed to LFS book since at first Matt's, and later mine work on
lfs systemd was based on it. Also, big thanks to BLFS team for
maintaining systemd specific packages in BLFS, from which the
instructions in lfs systemd were based.

Happy holidays and happy compiling to everyone!

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.3 trackball not working with gpm

2013-08-18 Thread Armin K.
On 08/18/2013 07:56 AM, Richard Coffee wrote:
 
 I recently finished up with 7.3.  Didn't have serious problems getting it to 
 boot, however, when I installed gpm, I couldn't get my trackball to work.  
 Googling the issue came up with a few hits, but nothing very helpful.  I 
 suspect it has something to do with the kernel or udev because there is no 
 mouse symlink in /dev as there is with older LFS installs I've done.  
 Grepping the config file for MOUSE showed the exact same settings as I've 
 used in previous kernels.
 
 Any advice would be appreciated.
 
 
 richard
 
 
 FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
 Check it out at http://www.inbox.com/earth
 
 

mouse nodes should be in /dev/input/, for main mouse it's
/dev/input/mice. You don't really want the old /dev/psaux interface.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Installing GCC with ubuntu

2013-08-10 Thread Armin K.
On 10.8.2013 17:49, Michael Duffell-Hoffman wrote:
 I'm trying to set up LFS 7.3 stable on a computer running Ubuntu Server
 13.04 because I like having the option to not use the GUI, and so I am
 trying to reroute the search paths, and so I spend half an hour typing
 in those long command sequences, type done and the computer just waits
 for me to type in the next line. is it like I have to indent the lines
 for it to work or something? The computer is an eight year old pavilion
 with 512 mb ram, ~2.6 ghz processor and uses a 32 GB flash drive as its
 main disk because the hard drive died a few months ago and I haven't
 gotten around to replacing it.
 Thanks


Why don't you just set up ssh and remotely connect to that machine from 
a GUI aware machine and then just copy/paste commands into the ssh prompt?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Load kernel first - after initramfs build

2013-08-07 Thread Armin K.
On 08/07/2013 02:36 PM, Unix User wrote:
 Dear list,
 
 I use a usb disk for LFS 7.3 installation which is recognized by the host as 
 /dev/sdb - one partition is ext3 (/dev/sdb1) and one swap (/dev/sdb5).
 
 Within chroot, I installed grub on /dev/sdb. File /etc/fstab first included 
 /dev/sda1 to mount as / (to refer to the usb disk itself). File grub.cfg 
 first incuded set root=(hd0,1) and root=/dev/sda1 to point also to the 
 ext3 partition of the usb drive. Subsequenty, BIOS was adjusted to boot from 
 usb, LFS grub menu* appeared, kernel bootet, recognized hardware but paniced 
 - the HD of my laptop also has an /dev/sda1 partition with Win XP. Kernel 
 also stated no init found after mounting the ntfs partition. Obviously, I 
 have a 'clash' concerning device numbering/identification. Since I found no 
 solution to prevent the kernel to boot my laptop HD instead of my usb drive 
 homing LFS, I wanted to use UUIDs. Thus, I created an initramfs according to 
 chapter 5 of BLFS (after cpio installation in chroot). During mkinitramfs 
 installation I got an error/warning that udev.conf  was not found (it is not 
 manually created by oneself according to LFS) - however,
  initrd.img was created. After performing all other steps mentioned (and 
 adding UUID=* in /etc/fstab instead of /dev/sdXX) and rebooting, the error 
 Load kernel first occurs at boot. I do not know what to do now (and found 
 nothing on the internet)... Any advice is highly appreciated.
 
 Thanks in advance,
 Seba
 
 
 
 * It is indeed grub menu of the usb drive and not grub located on my laptop 
 HD.
 

Since you are using USB with initramfs, you should use UUID on the
kernel command line and fstab. Node names can change, especially since
usb is in question.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Can BLFS Packages that are compatible with version 7.2 work with 7.3

2013-08-02 Thread Armin K.
On 08/02/2013 11:12 PM, Douglas R. Reno wrote:
 Hello Again,
 
 Can I install packages in BLFS that say that they have been tested with
 7.2? I am working on KDE and would like to install some of the
 different recommended software for packages such as libmpeg.
 
 (LFS 7.3 Build Host running in VMWare Player)
 
 Thank you,
 
 Douglas Reno
 
 

Yes, I've built it  on latest svn, I see no reason it wouldn't work on 7.3
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS - chapter 8.3 -Linux-3.8.1 make mrproper failed

2013-07-31 Thread Armin K.
On 07/31/2013 12:44 PM, Srinivasan Friendster wrote:
 Dear all,
  I am installing LFS 7.3 based on stable version. While
 installing kernel Linux-3.8.1 .
  
 Step is  8.3 Linux-3.8.1
  
 I got error like below while calling make mrproper :
  
 
 root:/sources/linux-3.8.1# make mrproper
 /bin/sh: find: command not found
 /bin/sh: line 6: xargs: command not found
 make: *** [clean] Error 127
  
  
  
 I am Already in chroot mode:
  
 chroot $LFS /usr/bin/env -i \
 HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
 PATH=/bin:/usr/bin:/sbin:/usr/sbin \
 /bin/bash --login
  
 Where I did mistake . please guide me.
  
 Thanks,
 Srinivas
  


you didn't install findutils, did you?

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 6.9 Glibc-2.17 check results

2013-07-30 Thread Armin K.
On 07/30/2013 09:25 PM, Douglas R. Reno wrote:
 Hello,
 
 I just finished running 'make' on glibc. While running a make check, I
 noticed that XPG3 has 165 failed out of 3993. XPG4 has 26 failed out of
 4175, UNIX98 11 failed out of 4701, XOPEN2K 10 failed out of 6825, and
 XOPEN2K8 8 failed out of 7083.
 
 I am running this in a VMWare Virtual Machine with 768mb RAM and 2GB
 Swap. Host OS is OpenSUSE 12.1
 
 I noticed this while it was running tests (haven't got to the point
 where I am examining the logs yet) . This amount just seems very high.
 
 LFS Version is 7.3.
 
 Thanks,
 Douglas Reno
 
 
 

These are conformance tests. You can safely ignore them. Glibc isn't
there yet to pass them all. The failure will show as ignored in output.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS 7.3 - VFS: Cannot open root device /dev/sda4 or unknown-block(0,0)‏

2013-07-18 Thread Armin K.
On 07/19/2013 01:54 AM, Kevin Abraham wrote:
 Hello,
 
 When I boot my LFS 7.3 system, I get a VFS: Cannot open root device
 /dev/sda4 or unknown-block(0,0) error. I have traced the problem down
 to a driver missing from the kernel, but can't figure out which one. I
 have tried the SATA_NV driver and the SATA_SIL driver but none of those
 are working. What would the right driver be?
 
 Thanks in advance,
 Kevin
 
 

Well, you can post lspci -v output from your host. Also, be sure to
build filesystem driver into kernel, too.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Warning about autoconf while configuring glibc-2.17

2013-07-10 Thread Armin K.
On 07/10/2013 02:14 PM, Dave Wagler wrote:
 Do you mean:  'dpkg-reconfigure _bash_'

No, he said what he meant. Correct command is dpkg reconfigure *dash*
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS 7.3 book, 6.17 GCC-4.7.2 -- too many errors after check

2013-07-07 Thread Armin K.
On 07/07/2013 11:14 AM, Sergey Shidlovsky wrote:
 From: Armin K. kre...@email.com mailto:kre...@email.com
 
 Did you stop the build and resumed later, but forgot to mount virtual
 file systems?
 
 
 Yes, I can't continue the building process to the end without stops and
 resumes. And I can't truly remember did I or not all preparations after
 resuming, so it worth to check. But, if so, can I just correctly set up
 my environment and just recomplie gcc package?
 
 Thanks in advance.
 
 -- 
 Yours faithfully,
 Sergey N Shidlovsky
 
 

You should just redo Preparing Virtual Kernel File Systems and
Entering the Chroot Environment before continuing. You can continue
with GCC tests, no need to rebuild it if it's already built.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS 7.3 book, 6.17 GCC-4.7.2 -- too many errors after check

2013-07-05 Thread Armin K.
On 07/05/2013 09:52 AM, Sergey Shidlovsky wrote:
 Greetings to all of you! =)
 
 So now I'm trying to build The Might and Mighty gcc-4.7.2 at Chapter 6
 of LFS-7.3 book.
 The package compiles without errors, but after I've checked it and had a
 look at summary, there was enormous amount of failed test and unexpected
 errors. Unfortunately, I can't transfer logfile from the laptop, where
 LFS system is building, to this machine, but, for example:
 
 g++ Summary: # of unexpected failures 38364
 gcc Summary: # of unexpected failures 53773
 
 These are in no comparison with results on gcc.gnu.org
 http://gcc.gnu.org mail archive:
 
 http://gcc.gnu.org/ml/gcc-testresults/2013-04/msg00747.html
 
 I just can't figure what exactly went wrong. I've double checked how did
 I set up the environment after stop and resume, it all seems ok...
 
 Thanks in advance.
 
 -- 
 Yours faithfully,
 Sergey N Shidlovsky
 
 

Did you stop the build and resumed later, but forgot to mount virtual
file systems?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-7.3: USB mouse repeatedly disconnecting and reconnecting

2013-07-01 Thread Armin K.
On 07/01/2013 08:39 PM, Niels Terp wrote:
 I have followed the book all the way to the end, and now have a 
 working system, sort of. I am able to boot and log into LFS-7.3. It 
 is of course a bare, minimal system but it does seem to be 
 functional. There is one problem however. Approximately every 60 
 seconds the mouse is disconnected then immediately reconnected. A sample
 of the console log is:

 [...] usb 1-8.2.2.2: USB disconnect, device number 25 [...] usb 
 1-8.2.2.2: new low-speed USB device number 26 using ehci-pci [...] 
 usb 1-8.2.2.2: New USB device found, idVendor=046D, isProduct=c05a 
 [...] usb 1-8.2.2.2: New USB device strings: Mfr=1, Product=2,
 SerialNumber-0
 [...] usb 1-8.2.2.2: Product: USB Optical Mouse [...] usb 1-8.2.2.2: 
 Manufacurer: Logiech [...] usb 1-8.2.2.2: Input: Logiech USB Optical 
 Mouse as
 /devices/pci:00/:00:1d.7/usb1/1-8/1-8.2/1-8.2.2/1-8.2.2.2/1-8
 .2.2.2:1.0/input/input32 [...] usb 1-8.2.2.2: Hid-generic 
 0003:046D:C05A.001A: input,hidraw0: USB HID v1.11 Mouse [Logitech USB 
 Optical Mouse] on
 usb-:00:1d.7-8.2.2.2/input0

 This occurs both before and after I login. What I have noticed is the 
 device number and Hid-generic value increments by 1 each time. The 
 next iteration of the above is

 ... USB disconnect, device number 26
 ... new low-speed USB device number 27 using ehci-pci ...
 ... usb 1-8.2.2.2: Hid-generic 0003:046D:C05A.001B: ... /input0

 The hardware is a Dell Latitude D620 laptop in a docking station with 
 both the mouse and (USB) keyboard connected to the docking station. 
 The keyboard appears to be functioning correctly.

 Skip H
 I have had the same issue with an HP mouse connected to a USB port on 
 a desktop machine, while there is no such thing with a microsoft mouse.
 So, seems mouse-dependent. If you have a spre mouse, then give it a try.

 Pierre



 Of course, read spare instead of spre...
 --
 Had the same problem with a logitec mouse. A p htmlossible (and better, in
 my opinion) is to install GPM Console Mouse Service:
 http://www.linuxfromscratch.org/blfs/view/svn/general/gpm.html.
 
 Then you even get a mouse cursor and the possibility tu cut/paste in the
 console screen.
 
 Niels 
 

GPM has nothing to do with it. It's a driver feature. When the mouse
laser blinks it reports the device as on or off.

You can remove the spam though by changing console log level to 4 or 3
(I think) (in /etc/sysconfig/console, not sure which parameter) or by
adding this parameter in /etc/sysctl.conf

kernel.printk = 3 4 1 3

or

kernel.printk = 4 4 1 7

(see
http://unix.stackexchange.com/questions/13019/description-of-kernel-printk-values)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread Armin K.
On 06/21/2013 10:57 AM, Sergey Shidlovsky wrote:
 Hello, everybody!
 
 I'm trying to get my firs LFS, based on 7.3 version of The Book.
 The host system is Debian Wheezy 7.0 with 3.2.0 kernel. All requirements
 for host system were met. The lfs user environments ($LFS variable etc.)
 set properly.
 
 Now I'm in the middle of chapter 5 Constructing a Temporary System.
 All was okay till package, mentioned in the subject.
 
 First command, ./configure --prefix=/tools goes okay. But when I'm
 trying to say next make, I get compilation errors:
 
 ---
 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -ansi
 -pedantic -Wextra -Wstrict-prototypes -Wmissing-prototypes
 -Wwrite-strings -Wno-variadic-macros -MT putenv.lo -MD -MP -MF
 .deps/putenv.Tpo -c putenv.c  -fPIC -DPIC -o .libs/putenv.o
 putenv.c:5:1: error: expected identifier or '(' before '{' token
 make[2]: *** [putenv.lo] Error 1
 make[2]: Leaving directory `/mnt/lfs/sources/check-0.9.9/lib'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/mnt/lfs/sources/check-0.9.9'
 make: *** [all] Error 2
 ---
 
 If I'm understanding the problem correctly, there's some error in
 lib/putenv.c file. And I've tried to fix it! The mentioned file looked
 like this:
 
 ---
 #include libcompat.h
 
 int
 putenv (const char *string CK_ATTRIBUTE_UNUSED);
 {
   assert (0);
   return 0;
 }
 ---
 
 There was a semicolon after the function header. I've removed it. After
 that compile stage was done properly. Unfortunately, after correct
 compilation, make check command failed to pass all the test suites. So
 I don't know what to do... and thanks in advance for any advices and
 solutions.
 
 -- 
 Yours faithfully,
 Sergey N Shidlovsky
 
 

Doh, second in a week (I guess)

http://www.linuxfromscratch.org/lfs/errata/7.3/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-7.3: Error while building package Check0.9.9

2013-06-15 Thread Armin K.
On 06/15/2013 01:38 PM, Vasudeo Bidve wrote:
 Hi,

 Here is the detailed information:

 1. LFS version: 7.3
 2. Host dist: Linux Mint 13
 3. Host system configuration: Attached in host-system.txt
 4. Package under problem: Check-0.9.9 (Section 5.13 in the LFS book 7.3)
 5. Exact error: Error produced during make process. Some of the last
 relevant section output of Make is copied in a log file
 check0.9.9-error.log and attached herewith.

 I also tried looking at lfs-faq and search-list. But didn't find
 suitable/related answer, so posting on Support.

 Please help.

 Thanks and Regards

 Vasudeo K. Bidve



Hi, you could check errata page for how to solve your issue

http://www.linuxfromscratch.org/lfs/errata/stable/

As for the hostreqs, you are missing bison and m4 (apt-get install them) 
and your shell still points to dash instead of bash (run 
dpkg-reconfigure dash and select no).

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS7.3: zlib-1.2.7 download link is not available anymore

2013-05-18 Thread Armin K.
On 05/18/2013 09:53 AM, Jon Franklin wrote:
 Because you are GFWed.
 http://superb-dca2.dl.sourceforge.net/project/libpng/zlib/1.2.7/zlib-1.2.7.tar.bz2
 This must be available.
 On Sat, May 18, 2013 at 10:41 AM, Chunmeng Zhou chunmengz...@gmail.com 
 wrote:
 The zlib 1.2.7 download link (http://www.zlib.net/zlib-1.2.7.tar.bz2) is not
 available anymore.

 You can download it from sourceforge:
 wget http://prdownloads.sourceforge.net/libpng/zlib-1.2.7.tar.bz2

 It seems the developer released the latest zlib on Aprial 28th and moved all
 the previous version to sourceforge.



 Chun


You can always get all packages from here

http://anduin.linuxfromscratch.org/sources/LFS/lfs-packages/7.3/

or here

http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/7.3/

or any other mirror listed here:

http://www.linuxfromscratch.org/lfs/download.html (end of the page)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] no glibc on Ubuntu?

2013-05-05 Thread Armin K.
On 05/05/2013 08:10 PM, stud dent wrote:
 I find no glibc on ubuntu and here is result

There is it:

 (Ubuntu EGLIBC 2.15-0ubuntu10.4) 2.15


 ===
 is my Ubuntu 12.04 LTS ready for building LFS 7.3?


Yes. Just make sure to fix this:

/bin/sh - /bin/dash

as the book reqs say, /bin/sh should be a symlink to /bin/bash

run dpkg-reconfigure dash and select No
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs book 7.3

2013-05-04 Thread Armin K.
Dana 4.5.2013 17:22, Ferdinando Malgrati je napisao:
 Hi all,

 I need a simply clarification regarding chapter


   6.2. Preparing Virtual Kernel File Systems

 seems that is not request to execute the commands as root, but if

 *mkdir -v $LFS/{dev,proc,sys}*  command  is possible to do as lfs user

 the next must be done as root,

 *mknod -m 600 $LFS/dev/console c 5 1
 mknod -m 666 $LFS/dev/null c 1 3*


 The question is

 should i create dev,proc and sys directory as a root

 and then create console and null device as root?


 Regards and thanks in advance

 Ferdinando Malgrati


http://www.linuxfromscratch.org/lfs/view/development/chapter05/changingowner.html

This page clearly says that The commands in the remainder of this book 
must be performed while logged in as user root and no longer as user lfs.

and this page comes *before* 6.2. Preparing Virtual Kernel File Systems

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /usr/libexec

2013-04-18 Thread Armin K.
On 04/19/2013 05:10 AM, Alice Wonder wrote:
 Hi,

 Am I correctly understanding that the filesystem philosophy of LFS/BLFS
 is to not use /usr/libexec ??

 I don't need an explanation as to why, I just want to know if that's
 what has been adopted or not.

 Thanks


It's not yet part of the standard and it looks that only Fedora and 
maybe SUSE uses it yet by default. Arch, Debian/Ubuntu don't (Don't know 
about Gentoo). I don't like it and don't agree with it, so it is being 
avoided. There was an agreement that we shouldn't avoid it, but as it 
never was made part of the standard, I started avoiding it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] BEGIN failed--compilation aborted at gen-libm-test.pl line 41 5.7. Glibc-2.17

2013-04-09 Thread Armin K.
On 04/09/2013 05:13 PM, سید احمد حسینی wrote:
 in this page
 http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html

 
 From: ahmad...@outlook.com
 To: lfs-support@linuxfromscratch.org
 Date: Tue, 9 Apr 2013 19:09:12 +0430
 Subject: [lfs-support] BEGIN failed--compilation aborted at
 gen-libm-test.pl line 41 5.7. Glibc-2.17

 whene use make :

 make[2]: Entering directory `/mnt/lfs/sources/glibc-2.17/math'
 /usr/bin/perl gen-libm-test.pl -u ../sysdeps/x86_64/fpu/libm-test-ulps
 -o /mnt/lfs/sources/glibc-build/math/
 Can't locate Getopt/Std.pm in @INC (@INC contains: /etc/perl
 /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
 /usr/local/lib/site_perl .) at gen-libm-test.pl line 41.
 BEGIN failed--compilation aborted at gen-libm-test.pl line 41.
 make[2]: *** [/mnt/lfs/sources/glibc-build/math/libm-test.stmp] Error 2
 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.17/math'
 make[1]: *** [math/subdir_lib] Error 2
 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.17'
 make: *** [all] Error 2


 plz help me

 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:
 http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above
 information page



Check the host requirements man. Your perl installation is incomplete. 
If you are using Debian or Debian based distros, install perl-modules 
package.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] lfs-support Digest, Vol 2836, Issue 2

2013-04-09 Thread Armin K.
On 04/09/2013 09:53 PM, Prabhu wrote:
 Hi, I executed the command *chown -R root:root $LFS/tools* in LFS
 user, it says I'm not permitted to do that, so I executed the same
 command with sudo, it says *lfs is not in the sudoers file.  This
 incident will be reported. * I google it and I saw a post that, I'm not
 going to use LFS user after this command, so I proceed by give the
 admin privilege to LFS user and I execute the command. It got executed
 successfully but, I'm unable to remove build folders in source even in
 sudo it says I am not permitted.


First of all, you don't need sudo. Second, it clearly says that all 
commands after Texinfo should be run as *root* user! No one ever 
mentioned sudo or whatever.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] util-linux 2.22 does not accept uuid's in fstab

2013-04-05 Thread Armin K.
On 04/05/2013 05:48 PM, Dr.-Ing. Edgar Alwers wrote:
 Hi,

 Preparing my system for gdisk partitions ( PARTUUID ), I upgraded util-linux
 to version 2.22.

 My working partition is formatted in xfs. I tried using UUID, but during the
 boot process I get a message: mounting root file system in read-only
 mode...mount can't find UUID and the boot process stops. Cold restart is
 needed.
 There are no problems, if fstab uses /dev/sda1 instead of UUID. There are also
 no problems with an ext4 partition included in fstab using UUID.

 Could this be a bug ? Any hints how to proceed are welcome. I know,
 downgrading util-linux fix this, but it excludes also the gdisk activities.
 Thanks in advance,
 Edgar


Are you sure it's bug in util-linux? I'd add ls 
/dev/disk/by-uuid/youruuid before the mount -o remount,rw / somewhere 
in bootscripts just to check if the path exist. If it doesn't - which I 
doubt is the problem - you need to remount after udev has run (I believe 
udev handles by-uuid symlinks).
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] util-linux 2.22 does not accept uuid's in fstab

2013-04-05 Thread Armin K.
On 04/05/2013 06:16 PM, Bruce Dubbs wrote:
 Dr.-Ing. Edgar Alwers wrote:
 Hi,

 Preparing my system for gdisk partitions ( PARTUUID ), I upgraded util-linux
 to version 2.22.

 My working partition is formatted in xfs. I tried using UUID, but during the
 boot process I get a message: mounting root file system in read-only
 mode...mount can't find UUID and the boot process stops. Cold restart is
 needed.
 There are no problems, if fstab uses /dev/sda1 instead of UUID. There are 
 also
 no problems with an ext4 partition included in fstab using UUID.

 Could this be a bug ? Any hints how to proceed are welcome. I know,
 downgrading util-linux fix this, but it excludes also the gdisk activities.

 You have to use a initramfs to boot to a drive using a uuid.  Other
 partitions should be OK.

 -- Bruce


Only true for root=UUID=blah kernel parameter. Nothing to do with 
/etc/fstab - I do it all the time.

UUID=blah in /etc/fstab
root=/dev/sdxy on kernel command line

Just start udev and let it settle before running mount -o remount,rw /
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Missing zic during 6.9.2. Configuring Glibc

2013-04-05 Thread Armin K.
On 04/05/2013 08:30 PM, Alex Stefan Kaye wrote:
 During the for tz in loop in Install timezone data, I'm getting this
 error:
 bash: zic: command not found

 AFAIK I've not deviated from the book, and the make/make install for
 glibc seemed to go ok, as did the the tests (I think - see below). If I
 cd into the timezone directory in the built glibc source, I see an
 executable called zic, so it seems to have built at least. Not sure what
 other information to provide, so apologies if something important is
 missing. Thanks in advance.

 bash-4.2# cd timezone
 bash-4.2# file zic
 zic: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
 linked (uses shared libs), for GNU/Linux 2.6.25, not stripped

 bash-4.2# grep Error glibc-check-log
 make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
 make[2]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1
 make[1]: *** [rt/test s] Error 2
 make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1
 (ignored)
 make: *** [check] Error 2

 LFS Book Version: 7.3
 Host Info: Ubuntu 13.04 (daily build) x86_64 3.8.0-15-generic

 Version Check Output:
 bash, version 4.2.37(1)-release
 /bin/sh - /bin/bash
 Binutils: (GNU Binutils for Ubuntu) 2.23.1
 bison (GNU Bison) 2.5
 /usr/bin/yacc - /usr/bin/bison.yacc
 bzip2, Version 1.0.6, 6-Sept-2010.
 Coreutils: 8.20
 diff (GNU diffutils) 3.2
 find (GNU findutils) 4.4.2
 GNU Awk 4.0.1
 /usr/bin/awk - /usr/bin/gawk
 gcc (Ubuntu/Linaro 4.7.2-22ubuntu5) 4.7.2
 (Ubuntu EGLIBC 2.17-0ubuntu4) 2.17
 grep (GNU grep) 2.14
 gzip 1.5
 Linux version 3.8.0-15-generic (buildd@lamiak) (gcc version 4.7.2
 (Ubuntu/Linaro 4.7.2-22ubuntu4) ) #25-Ubun tu SMP Wed Mar 27 19:19:30
 UTC 2013
 m4 (GNU M4) 1.4.16
 GNU Make 3.81
 patch 2.6.1
 Perl version='5.14.2';
 GNU sed version 4.2.1
 tar (GNU tar) 1.26
 Texinfo: makeinfo (GNU texinfo) 4.13
 xz (XZ Utils) 5.1.0alpha
 gcc compilation OK



Have you run make install after you've built glibc? zic should be 
installed in /usr/sbin iirc.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] problem mounting virtual File System

2013-03-30 Thread Armin K.
On 03/30/2013 08:03 PM, bcl...@brianclarkprojects.com wrote:
 Hello,

 I am getting a message that says I should not be getting this message.
When the computer goes to mount dev and other directories.  It is
 giving an error of unknown file system devtmpfs.  I have tried
 multiple kernel configuration including my host system config file.

 Not sure what to look for anymore?

 Brian


http://www.linuxfromscratch.org/lfs/view/development/chapter08/kernel.html

I think we need far bigger notes. This one clearly says what do you NEED.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] systemd-journal group missing on LFS-SYSTEMD-20130324?

2013-03-26 Thread Armin K.
On 03/26/2013 04:31 PM, Thanos Baloukas wrote:
 Hi

 Did I miss that?
 Maybe it's intentional?

 Thanos


Does LFS SYSTEMD have Systemd 198 now? I don't remember touching 
anything. The group was introduced in that version.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] systemd-journal group missing on LFS-SYSTEMD-20130324?

2013-03-26 Thread Armin K.
On 03/26/2013 04:31 PM, Thanos Baloukas wrote:
 Hi

 Did I miss that?
 Maybe it's intentional?

 Thanos


Does LFS SYSTEMD have Systemd 198 now? I don't remember touching 
anything. The group was introduced in that version.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] systemd-journal group missing on LFS-SYSTEMD-20130324?

2013-03-26 Thread Armin K.
On 03/26/2013 06:55 PM, Thanos Baloukas wrote:
 On 03/26/2013 07:27 PM, Armin K. wrote:
 On 03/26/2013 04:31 PM, Thanos Baloukas wrote:
 Hi

 Did I miss that?
 Maybe it's intentional?

 Thanos


 Does LFS SYSTEMD have Systemd 198 now? I don't remember touching
 anything. The group was introduced in that version.

 It seems that Systemd 198 is current

 http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/systemd.html

 Thanos


Oh well, I must have missed that commit. Matt, can you add 
systemd-journal group to LFS Systemd /etc/group with the GID reserved in 
BLFS Users and Groups in the next branch update?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] gcc compile error in lfs 7.3

2013-03-24 Thread Armin K.
On 03/24/2013 10:56 PM, سید احمد حسینی wrote:
 tnk
 Thanks for the tips
 I am using version 7.3 (Page 38)

 My OS is Ubuntu 12.04
 config command :
 ../gcc-4.7.2/configure \
 --target=$LFS_TGT \
 --prefix=/tools \
 --with-sysroot=$LFS \
 --with-newlib \
 --without-headers \
 --with-local-prefix=/tools \
 --with-native-system-header-dir=/tools/include \
 --disable-nls \
 --disable-shared \
 --disable-multilib \
 --disable-decimal-float \
 --disable-threads \
 --disable-libmudflap \
 --disable-libssp \
 --disable-libgomp \
 --disable-libquadmath \
 --enable-languages=c \
 --with-mpfr-include=$(pwd)/../gcc-4.7.2/mpfr/src \
 --with-mpfr-lib=$(pwd)/mpfr/src/.libs

 part of error :
 *** Makeinfo is missing. Info documentation will not be built.
 config.h is unchanged
 tm.h is unchanged
 bconfig.h is unchanged
 tm_p.h is unchanged
 ../../gcc-4.7.2/gcc/gcc.c: In function ‘execute’:
 ../../gcc-4.7.2/gcc/gcc.c:2674:6: warning: format not a string literal
 and no format arguments [-Wformat-security]
 tconfig.h is unchanged
 ../../../gcc-4.7.2/libgcc/crtstuff.c: In function 'frame_dummy':
 ../../../gcc-4.7.2/libgcc/crtstuff.c:451:19: warning: array subscript is
 above array bounds [-Warray-bounds]
 ../../../gcc-4.7.2/libgcc/crtstuff.c: In function 'frame_dummy':
 ../../../gcc-4.7.2/libgcc/crtstuff.c:451:19: warning: array subscript is
 above array bounds [-Warray-bounds]
 ../../../gcc-4.7.2/libgcc/crtstuff.c: In function 'frame_dummy':
 ../../../gcc-4.7.2/libgcc/crtstuff.c:451:19: warning: array subscript is
 above array bounds [-Warray-bounds]
 configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
 make[2]: *** [configure-stage1-target-libstdc++-v3] Error 1
 make[1]: *** [stage1-bubble] Error 2
 make: *** [all] Error 2



   Date: Sun, 24 Mar 2013 20:21:02 +
   From: zarniwh...@ntlworld.com
   To: lfs-support@linuxfromscratch.org
   Subject: Re: [lfs-support] gcc compile error in lfs 7.3
  
   On Sun, Mar 24, 2013 at 03:04:28PM -0500, Bruce Dubbs wrote:
سید احمد حسینی wrote:
 Hi FriendsI came across this error while compiling linux:
 checking for a BSD-compatible install...
   
   
   
 Please guide me
   
Your post is unreadable. Send messages in text mode.
   
-- Bruce
   
   Agreed, but I happen to be on a desktop so on this occasion I'll
   paste the error:
   configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES
  
   We had someone asking this recently. From memory, that message
   comes from trying to build g++ or libstdc++. I'm guessing that the
   OP is in the first pass of gcc [ سید احمد حسین : when you ask for
   help, please explain where you are in the book, and which version of
   it ]. If that assumption is correct, the OP has probably omitted the
   line --enable-languages=c from the configure command.
  
   Among the earlier unreadable text (no new lines in what was posted,
   so everything runs together which is just _weird_) I can see
   checking for gawk... mawk
   That is not going to work. Please read 'Host System Requirtements'
   in the preface.
  
   ĸen
   --
   das eine Mal als Tragödie, das andere Mal als Farce
   --
   http://linuxfromscratch.org/mailman/listinfo/lfs-support
   FAQ: http://www.linuxfromscratch.org/lfs/faq.html
   Unsubscribe: See the above information page



Chech the host requirements, run the hostreqs script and see what are 
you missing, then install it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Problem

2013-03-21 Thread Armin K.
On 03/21/2013 05:44 PM, Mihal wrote:
 On lfs 6.8 on chapter 5.7 whet i run make i have an error :
 if test -r /mnt/lfs/sources/glibc-build/csu/abi-tag.h.new; then mv -f
 /mnt/lfs/sources/glibc-build/csu/abi-tag.h.new
 /mnt/lfs/sources/glibc-build/csu/abi-tag.h; \
  else echo 2 'This configuration not matched in ../abi-tags'; exit 
 1; fi
 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.13/csu'
 make[1]: *** [csu/subdir_lib] Error 2
 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.13'
 make: *** [all] Error 2


 and i stops/
 can you help me?
 mihalkras...@gmail.com


Check host system requirements and post the output of the hostreqs.sh 
scripit - it's in the book.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS on a yeeloong (loongson2F MIPS) laptop

2013-03-19 Thread Armin K.
On 03/19/2013 12:45 PM, John Anderson wrote:
 Hi,
 did anyone tried to install LFS on a yeeloong laptop? I'm trying to
 install gentoo on it now and I thought that LFS could be better because
 you have to build anything by yourself.



Not sure, LFS targets the same architecture as the OS it was built on. I 
remember that LFS mostly is x86/x86_64 orientated. You might want to 
check cross-lfs which iirc supported MIPS.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mouse and Keyboard don't work with Xorg :-(

2013-03-19 Thread Armin K.
On 03/19/2013 02:13 PM, James Tyrer wrote:
 On Mon, Mar 18, 2013 at 8:27 PM, James Tyrer jrt...@gmail.com wrote:
 Note that this is a temporary account and I am temporary running on a
 Fedora 15 CD till I get my new Linux from scratch system to work.  I
 need help.

 X.Org X Server 1.14.0

 I think that I followed the instruction and this is not the first time
 I have built the X11 server.  I started building XFree86.  Everyting
 appeared to go OK but when I started it for the first time with
 startx it opened with TWM and looked OK but the mouse and the
 keyboard didn't work.  A google search reveals that others have the
 same problem but I didn't really see the solution to the problem.

 X is installed with PREFIX=/usr/X11R7  Which is where I installed it
 last time although on a different disk.

 I checked the X log.  The module path appears correct:

 [ 35004.515] (==) ModulePath set to /usr/X11R7/lib/xorg/modules

 The configure file for the mouse: /etc/X11/xorg.conf.d/mouse-0.conf:

 Section InputDevice
  Identifier  Mouse0
  Driver  evdev
  Option  Protocol IMPS/2
  Option  Device /dev/input/mice
  Option  Buttons 5
  Option  ZAxisMapping 4 5
  Option  Name  Logitech M100
 EndSection

 looks OK, but the X log reports:

 [ 35012.524] (II) config/udev: Adding input device Logitech USB
 Optical Mouse (/dev/input/mouse0)
 [ 35012.524] (II) No input driver specified, ignoring this device.

 and the mouse and the keyboard simply do not work with X although they
 work fine in text mode.

 Problem resolved.  I found a archived email on line that pointed out
 that there is also a Linux Kernel EvDev Driver.  It appears that I was
 missing it.  Now that I find this, it was the only possible and the
 obvious answer since I did everything the same and it didn't work.
 What I didn't do was compile a new driver into the Kernel.  Perhaps it
 would be worth mentioning in the BLFS book that it is needed.


That's already in the book.

http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#xorg-evdev-driver

Enable the following options in the kernel configuration and recompile 
the kernel if necessary:

Device Drivers  ---
   Input Device Support ---
 Event interface: Y or M

Which is actually evdev.ko if built as module.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mouse and Keyboard don't work with Xorg :-(

2013-03-19 Thread Armin K.
On 03/19/2013 10:43 AM, Pierre M.R. wrote:
 James Tyrer wrote:
 On Mon, Mar 18, 2013 at 10:58 PM, Bruce Dubbs bruce.du...@gmail.com wrote:
 James Tyrer wrote:
 Note that this is a temporary account and I am temporary running on a
 Fedora 15 CD till I get my new Linux from scratch system to work.  I
 need help.

 X.Org X Server 1.14.0

 I think that I followed the instruction and this is not the first time
 I have built the X11 server.  I started building XFree86.  Everyting
 appeared to go OK but when I started it for the first time with
 startx it opened with TWM and looked OK but the mouse and the
 keyboard didn't work.  A google search reveals that others have the
 same problem but I didn't really see the solution to the problem.

 X is installed with PREFIX=/usr/X11R7  Which is where I installed it
 last time although on a different disk.

 I checked the X log.  The module path appears correct:

 [ 35004.515] (==) ModulePath set to /usr/X11R7/lib/xorg/modules

 The configure file for the mouse: /etc/X11/xorg.conf.d/mouse-0.conf:

 Section InputDevice
 Identifier  Mouse0
 Driver  evdev
 Option  Protocol IMPS/2
 Option  Device /dev/input/mice
 Option  Buttons 5
 Option  ZAxisMapping 4 5
 Option  Name  Logitech M100
 EndSection

 looks OK, but the X log reports:

 [ 35012.524] (II) config/udev: Adding input device Logitech USB
 Optical Mouse (/dev/input/mouse0)
 [ 35012.524] (II) No input driver specified, ignoring this device.

 and the mouse and the keyboard simply do not work with X although they
 work fine in text mode.
 I suggest removing the config file and try the defaults.  Make sure that
 you built the evdev driver.  It should be in
 /usr/X11R7/lib/xorg/modules/input.

 Well, Bruce, since I now have my new NEC flat screen hooked up as well
 as yet another mouse to be destroyed by the cats. I removed the
 xorg.conf files.  Might still need some configuration for my keyboard
 as I have an original (but late model) IBM 101 key click keyboard
 (buckling spring technology) and the result was that ...

 Well, the result was exactly the same.  The last two lines of the X
 log were the same and neither the mouse or the keyboard worked.
 xf86-input-evdev provides default config files installed in
 /usr/X11R7/share/X11/xorg.conf.d.
 The mouse-0.conf should also be removed.
 To customize the keyboard or mouse cp the default evdev config file
 10-evdev.conf to /etc/X11/xorg.conf.d and make your changes there, for
 instance:
 ...
MatchIsKeyboard on
Option XkbModel pc101
 ...

 Pierre


Just a tip - instead of using xorg configuration files, you can use udev 
rule for setting keyboard rules in Xorg.



cat  /etc/udev/rules.d/64-xorg-xkb.rules  EOF
ACTION!=add|change, GOTO=xorg_xkb_end
SUBSYSTEM!=input, GOTO=xorg_xkb_end
KERNEL!=event*, GOTO=xorg_xkb_end

# import keyboard layout from /etc/default/keyboard
ENV{ID_INPUT_KEY}==?*, IMPORT{file}=/etc/default/keyboard

LABEL=xorg_xkb_end
EOF



cat  /etc/default/keyboard  EOF
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL=pc105
XKBLAYOUT=ba
XKBVARIANT=
XKBOPTIONS=
EOF


Adjust it to suit your needs.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] M4-1.4.16 : libgmp.so.10 error

2013-03-14 Thread Armin K.
On 03/14/2013 01:13 PM, Rubin Saifi wrote:
 M4-1.4.16

 ./configure --prefix=/usr
 output
 error while loading llibgmp.so.10 no such file or directory found

 Section 6.28 LFS 7.2

 any help please



Uh, did you build GMP before gcc? Does /usr/lib/libgmp.so.10 exist? If 
so, what's the output of ldd /usr/lib/libgmp.so.10. Did you diverge 
from the book or did you miss/skip some steps?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] VLC-2.0.5 shenanigans

2013-03-13 Thread Armin K.
On 03/14/2013 03:33 AM, Arthur Radley wrote:
 Hello everybody,

 Short version...

 If VLC-2.0.5 does not build and you installed libdvbpsi, then try VLC
 again after uninstalling libdvbpsi.



 Long version...

 I have been installing VLC in my last 5 or 6 BLFS systems. I like it.
 It's always a big project, but I've always gotten through it. Not this time.

 First, I see this after the patch and configure command...



 generating modules/**/Makefile.am
 .
 + echo
 + cp -f INSTALL INSTALL.git
 + autoreconf --install --force --verbose -I m4
 autoreconf: Entering directory `.'
 autoreconf: running: autopoint --force
 Copying file ABOUT-NLS
 Copying file m4/fcntl-o.m4
 Copying file m4/threadlib.m4
 Copying file po/Makevars.template
 autoreconf: running: aclocal -I m4 --force -I m4
 configure.ac:28 http://configure.ac:28: error: 'AM_CONFIG_HEADER':
 this macro is obsolete.
  You should use the 'AC_CONFIG_HEADERS' macro instead.
 /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded
 from...
 configure.ac:28 http://configure.ac:28: the top level
 autom4te: /usr/bin/m4 failed with exit status: 1
 aclocal: error: echo failed with exit status: 1
 autoreconf: aclocal failed with exit status: 1



 My understanding is that stuff is related to the sudden removal of a
 long-deprecated macro from automake and now we sometimes see these
 warnings. Okay, fine. I wasn't able find out what to do about it. VLC
 would still continue on with the make command but then fail midway with
 this...



 dtv/en50221.c: In function 'en50221_SetCAPMT':
 dtv/en50221.c:2234:17: error: implicit declaration of function
 'dvbpsi_DeletePMT' [-Werror=implicit-function-declaration]
 dtv/en50221.c: At top level:
 dtv/en50221.c:2288:12: warning: 'en50221_OpenMMI' defined but not used
 [-Wunused-function]
 dtv/en50221.c:2328:12: warning: 'en50221_CloseMMI' defined but not used
 [-Wunused-function]
 dtv/en50221.c:2356:15: warning: 'en50221_GetMMIObject' defined but not
 used [-Wunused-function]
 dtv/en50221.c:2381:13: warning: 'en50221_SendMMIObject' defined but not
 used [-Wunused-function]
 cc1: some warnings being treated as errors
 make[5]: *** [libdtv_plugin_la-en50221.lo] Error 1
 make[5]: Leaving directory
 `/mnt/files5/blfs/svn/sources-hubble/vlc-2.0.5/modules/access'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory
 `/mnt/files5/blfs/svn/sources-hubble/vlc-2.0.5/modules/access'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory
 `/mnt/files5/blfs/svn/sources-hubble/vlc-2.0.5/modules/access'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory
 `/mnt/files5/blfs/svn/sources-hubble/vlc-2.0.5/modules'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/mnt/files5/blfs/svn/sources-hubble/vlc-2.0.5'
 make: *** [all] Error 2


 There are a bunch anecdotal things on the Internet about this. Some of
 them are not even recent. Some say it's caused by kernel 3.7 and up.
 Some say it's the new version libdvbpsi (v1.0.0). And so on. Okay, fine.
 I spent a day trying all kinds of things related to those ideas. VLC
 with the old libdvbpsi-0.2.2. No. VLC with kernel 3.5.2 from my old LFS
 7.2 stash. No. I tried the previous VLC-2.0.3 which built and installed
 fine six months ago. No. Finally, I tried VLC-2.0.5 with no libdvbpsi at
 all. YES! I still see the automake stuff with configure, of course. But
 VLC goes on to build and install and work. I will find out later what
 difference not having the optional package libdvbpsi makes.

 I know this post was long. And I don't know what value this has for the
 book. But I thought I should say something about it, and I didn't how
 else to say it all.

 A.Radley



http://www.videolan.org/developers/libdvbpsi.html

Scroll down and you'll find:

The latest libdvbpsi (LGPL v2.1) release version 1.0.0. Note: the API 
has changed since version 0.2.2 you need to update your applications.

In short, you can't use VLC with libdvbpsi 1.0.0.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ubuntu 12.10 install

2013-03-03 Thread Armin K.
On 03/03/2013 08:51 PM, Keith Clark wrote:
 On 13-03-03 02:37 PM, spiky wrote:
 On 03/03/13 19:36, Keith Clark wrote:
 Has anyone successfully completed the LFS using Ubuntu 12.10?  I cannot
 get past the 5.5 GCC section.  Always ends up in an error. Three times
 tried.
 Maybe post the output of the version-script
 version-check.sh output can be found here:
 pastebin.ca/2327809


/bin/sh - /bin/dash

run dpkg-reconfigure dash as root and select no
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Slightly different output from gcc test in chapter 6.17.1

2013-03-02 Thread Armin K.
Dana 2.3.2013 18:56, Niels Terp je napisao:
 Hi,

 I’m doing the newly released version 7.3 on a OpenSuSE 12.3 host (32 bit).

 In this chapter I get some of the output right, but in the wrong sequence:

 The command*grep -B4 '^ /usr/include' dummy.log*

 Should give this output:

 #include ... search starts here:

 /usr/local/include

 /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include

 /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include-fixed

 /usr/include

 But in my case I get:

 root:/sources/gcc-build# grep -B4 '^ /usr/include' dummy.log

 #include ... search starts here:

 /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include

 /usr/local/include

 /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/include-fixed

 /usr/include

 root:/sources/gcc-build#

 Does this mean anything ?

 Niels




In your case only first and second are swapped. It looks fine to me.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] distinct /usr/lib and /usr/lib64 dirs

2013-02-27 Thread Armin K.
On 02/27/2013 07:24 PM, Frans de Boer wrote:
 Dear all,

 The book allows creation if 32-bit systems as well as 64-bit. However,
 on 64-bit systems the library directory is still called /usr/lib pointed
 to from the symlink /usr/lib64.

 I case I want a system which can handle mainly 64-bit programs and on
 occasion a 32-bit program, I need the two libraries separated. This
 applies of course also for the root based /lib and /lib64 directories.

 I tried giving the parameter '--libdir=/usr/lib64' to the configure
 script. But I see at the end of chapter 5, that the 64-bit library was
 riddled with links to the 32-bit library. This is not a problem as long
 as it affects only the programs in the /tools directory, but I saw the
 same at the root.

 I searched the document, but could not find a way to solve this. Could
 someone give me a pointer where I might have gone wrong or what else I
 can/should do?

 Regards, Frans.


Bruce already responded, but as a side note, you can use /lib32 and 
/usr/lib32 for 32bit libraries on 64bit OS where /lib64 /usr/lib64 is 
symlink to /lib and /usr/lib respectively.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 5.7.1 glibc compilation ERROR Linker with -z relro support required

2013-02-24 Thread Armin K.
On 02/24/2013 07:38 AM, Rubin Saifi wrote:
 while compiling glibc , i am getting compilation error which says
 linker with -z relro support required

 i don't know how to get over it though have strictly followed the book
 .. working on LFS 7.2

 please provide valuable solution

 thanks



Check host requirement before building  binutils and gcc pass1.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] gperf in glibc-2.17

2013-02-22 Thread Armin K.
On 02/22/2013 11:29 PM, Frans de Boer wrote:
 On 02/22/2013 11:21 PM, Tobias Gasser wrote:
 Am 22.02.2013 22:50, schrieb Frans de Boer:
 I understand that gperf is not required - it would be mentioned
 otherwise does it?

 yes. gperf is NOT required for glibc (or any other package in lfs)
 and yes, all requirements are mentionned.

 However, I am not the first nor probably the last running into this
 issue. Even glibc-2.16 requires the use of gperf and thus failed the

 i never had to build gperf for lfs. and i'm building lfs for quite some
 years (my first lfs was 3.0). glibc builds fine without gperf if you
 follow the book.

 i think you are the first with this issue. as far i can remenber i never
 have read about gperf issues so far. but as i'm getting older, my memory
 seems to have failures sometimes ;)

 Just search for gperf glibc lfs. It is even on the archives by LFS.

 snip


If you build unreleased packages, ie GCC snapshots or svn/git repo 
clones, you might need gperf. I needed it when I built gcc snapshot 
instead of the released version iirc. Not sure about Glibc though.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] HOWTO: Weston - The Wayland Compositor on LFS Systemd 20130215

2013-02-15 Thread Armin K.
How to build Weston, the Wayland compositor on LFS-Systemd 20130215

libffi-3.0.11 - blfs

xkeyboard-config-2.8 - ./configure --prefix=/usr 
--with-xkb-rules-symlink=xorg --disable-runtime-deps

libxkbcommon-0.2.0 - ./configure --prefix=/usr

mtdev-1.1.3 - blfs

libjpeg-8d - ijg libjpeg - ./configure --prefix=/usr (libjpeg-turbo from 
blfs can be used too, but it needs nasm)

libpng-1.5.14 - blfs

pixman-0.28.2 - blfs

freetype-2.4.11 - blfs

fontconfig-2.10.2 - blfs

cairo-1.12.14 - ./configure --prefix=/usr

libpciaccess-0.13.1 - ./configure --prefix=/usr

libdrm-2.4.42 - sed /pthread-stubs/d -i configure.ac ; autoreconf -fi 
; ./configure --prefix=/usr

wayland git - ./configure --prefix=/usr --disable-documentation

weston git - ./configure --prefix=/usr --libexecdir=/usr/lib/weston 
--disable-egl --disable-xwayland --disable-xwayland-test 
--disable-x11-compositor --disable-weston-launch 
CFLAGS=-I/usr/include/libdrm LDFLAGS=-ldrm 
WESTON_NATIVE_BACKEND=fbdev-backend.so

dejavu-fonts-ttf-2.33 - mkdir -pv /usr/share/fonts ; mv ttf 
/usr/share/fonts/dejavu ; fc-cache /usr/share/fonts/dejavu

as root

# install -dm700 /tmp/wayland
# export XDG_RUNTIME_DIR=/tmp/wayland

run weston as root:

# weston

Currently only works as root because weston-launch helper that allows 
weston to run as normal user needs Linux-PAM.

Sources for non-blfs marked packages above:
http://xorg.freedesktop.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.8.tar.bz2
http://xkbcommon.org/download/libxkbcommon-0.2.0.tar.bz2
http://www.ijg.org/files/jpegsrc.v8d.tar.gz
http://cairographics.org/releases/cairo-1.12.14.tar.xz
http://xorg.freedesktop.org/releases/individual/lib/libpciaccess-0.13.1.tar.bz2
http://dri.freedesktop.org/libdrm/libdrm-2.4.42.tar.bz2
http://www.linuxfromscratch.org/~krejzi/wayland.tar.xz (or git master 
checkout)
http://www.linuxfromscratch.org/~krejzi/weston.tar.xz (or git master c 
heckout)
http://sourceforge.net/projects/dejavu/files/dejavu/2.33/dejavu-fonts-ttf-2.33.tar.bz2

Wayland and Weston 1.0.5 can't be used because they don't have fbdev 
backend and require EGL (Mesa).

Freetype, Fontconfig and Dejavu fonts can be ommited, but you will get 
ugly fonts.

My guess is that it can be built on standard LFS, too. It would need 
Expat, XML::Parser and Intltool from what I know.

Why? Useful for people who build their software in VT but don't really 
like it (like me). Terminal is really nice in Weston. There are some 
demos in clients directory in weston source.

It's definitely smaller than Xorg, requires more or less the same deps 
(well, maybe minus libffi and mtdev in some cases + Cairo (which is 
essential in modern X software)).

It needs a fbdev driver - be it drmfb or whatever. drmfb drivers are 
provided by KMS drivers (i915, nouveau, radeon and vmwgfx). I've tested 
it with vmwgfx - VMware Virtual Graphics Driver. I built LFS Systemd in 
a VM.

If you are going for X, you might need to rebuild Cairo later.

What else? A screenshot! 
http://www.linuxfromscratch.org/~krejzi/weston-screenshot.png

I hope someone will find this useful.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] chapter06 glibc

2013-01-30 Thread Armin K.
On 01/30/2013 10:38 PM, Yusuf Yılmaz wrote:
 when i run make command it gives an error like this:

 ./scripts/mkinstalldirs /sources/glibc-build/linkobj
 mkdir /sources/glibc-build/linkobj
 (cd /sources/glibc-build/linkobj; \
   /tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar 
 x ../libc_pic.a; \
   rm
 $(/tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar
 t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//'); \
   /tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar 
 x ../sunrpc/librpc_compat_pic.a; \
   /tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar 
 cr libc_pic.a *.os; \
   rm *.os)
 /bin/sh: command substitution: line 3: syntax error near unexpected
 token `)'
 /bin/sh: command substitution: line 3:
 `/tools/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../../i686-pc-linux-gnu/bin/ar
 t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//')'
 make[2]: *** [/sources/glibc-build/linkobj/libc_pic.a] Error 1
 make[2]: Leaving directory `/sources/glibc-2.17'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/sources/glibc-build'



 what can i do something to fix it?

 my host system:
 linux 3.5.2 kernel
 debian 7.0




check hostreqs. On Debian system /bin/sh points to /bin/dash iirc. You 
need to set it to point to /bin/bash ... Use dpkg-reconfigure dash and 
select no
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] LFS SVN-20130125 + Systemd HowTo

2013-01-27 Thread Armin K.

Hello, I have taken some time to write a howto for LFS + Systemd.

The instructions follow LFS BOOK versioned SVN-20130125 with additions 
from BLFS BOOK versioned 2013-01-26.


Packages are installed in same order as alwas, mentioned versions were 
used without any modifications to the LFS book ones. I did some 
diversions and I've mentioned them below.


Packages were added in specified place for a reason, I think I explained 
it for attr, acl and libcap2.


Howto starts from Chapter 6, assuming everything else has been done as 
before.


6.6. Creating Essential Files and Symlinks

change touch /etc/mtab to ln -s /proc/self/mounts /etc/mtab

Proceed with the Book

linux 3.7.4 api headers
man-pages 3.45
glibc 2.17
zlib 1.27
file 5.11
binutils 2.23.1
gmp 5.1.0
mpfr 3.1.1
mpc 1.0.1
gcc 4.7.2
sed 4.2.2
bzip2 1.0.6
pkg-config 0.28
ncurses 5.9
util-linux 2.22.2
psmisc 2.20
procps 3.3.6
e2fsprogs 1.42.7

(Not sure about this, but it could be possible that attr and acl need 
msgfmt, msgmerge and xgettext binaries from gettext package - I've 
installed all binaries from gettext in temporary stage so I can't 
confirm. I do remember that I had some problems with this in the past)


attr 2.4.46 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/attr.html
acl 2.2.51 
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/acl.html (This one 
is not stricly required for systemd - but I installed it so Coreutils, 
Shadow and Systemd might benefit from it as well from libcap2).
libcap2 2.22 
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/libcap2.html


shadow 4.1.5.1
coreutils 8.20 (without coreutils-8.20-i18n-1.patch)
iana-etc 2.30
m4 1.4.16
bison 2.7
grep 2.14
readline 6.2
bash 4.2
libtool 2.4.2
gdbm 1.10
inetutils 1.9.1
perl 5.16.2
autoconf 2.69
automake 1.13.1
diffutils 3.2
gawk 4.0.2
findutils 4.4.2
flex 2.5.37
gettext 0.18.2
groff 1.22.1
xz 5.0.4
grub 2.0.0
less 451
gzip 1.5
iproute2 3.7.0
kbd 1.15.5 (without kbd-1.15.5-backspace-1.patch)
kmod 12
libpipeline 1.2.2
make 3.82
man-db 2.6.3
patch 2.7.1
sysklogd 1.5 - Removed
Sysvinit 2.88dsf (I choose to install few support programs from this 
package, like sulogin, mesg, pidof, last, fstab-decode and killall5 - I 
usually enable mesg and sulogin at util-linux stage though so no need 
for it from this package)


make -C src

cp -v src/last src/mesg /usr/bin
ln -sfv last /usr/bin/lastb

cp -v src/fstab-decode src/killall5 src/sulogin /sbin
ln -sfv ../sbin/killall5 /bin/pidof

cp -v man/{last,lastb,mesg}.1 /usr/share/man/man1
cp -v man/{fstab-decode,killall5,pidof,sulogin}.8 /usr/share/man/man8

tar 1.26
texinfo 4.13a

udev 197 (extracted from systemd) - Removed
vim 7.3 - Removed in my setup - Replaced with nano 2.3.1 
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/nano.html


dhcp 4.2.5 
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcp.html (My 
connection uses DHCP - client only with ifup script and configuration 
for eth0)


expat 2.1.0 http://www.linuxfromscratch.org/blfs/view/svn/general/expat.html
dbus 1.6.8 http://www.linuxfromscratch.org/blfs/view/svn/general/dbus.html

Only difference now is that --without-systemdsystemunitdir becomes 
--with-systemdsystemunitdir=/lib/systemd/system


Final configure script looks like

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/dbus-1.0 \
--with-console-auth-dir=/run/console/ \
--with-systemdsystemunitdir=/lib/systemd/system \
--disable-systemd \
--disable-static

--disable-systemd is still there because Systemd requires D-Bus and 
D-Bus requires Systemd for certain functionality only. It does not see 
any use in LFS since it uses logind which we will disable in lfs because 
it would need PAM to work like it should.


D-Bus should be recompiled in BLFS for dbus-launch binary with Xorg 
Libraries as dependency and --disable-systemd should be removed there 
after Systemd has been fully rebuilt for BLFS (Including PAM and some 
other deps like Glib and G-I for GUdev and so on).


gperf 3.0.4 http://www.linuxfromscratch.org/blfs/view/svn/general/gperf.html
xml-parser 2.41 
http://www.linuxfromscratch.org/blfs/view/svn/general/perl-modules.html
intltool 0.50.2 
http://www.linuxfromscratch.org/blfs/view/svn/general/intltool.html


systemd 197

Journald appears to look for adm group, so add it (gid is reserved in 
BLFS specificaly for this group)


groupadd -g 16 adm

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--libexecdir=/usr/lib --with-rootprefix= --with-rootlibdir=/lib 
--with-kbd-loadkeys=/bin/loadkeys --with-kbd-setfont=/bin/setfont 
--enable-split-usr --disable-static --disable-gudev --without-python


make

make check # triggers the testsuite but it appears to fail 5 tests.

make install
sed s@0775 root lock@0755 root root@g -i 
/usr/lib/tmpfiles.d/legacy.conf #1

mkdir -p /var/log/journal #2

#1 (So we don't add lock group).
#2 (By default, 

Re: [lfs-support] [blfs-support] LFS SVN-20130125 + Systemd HowTo

2013-01-27 Thread Armin K.
On 01/27/2013 06:34 PM, Armin K. wrote:
 Hello, I have taken some time to write a howto for LFS + Systemd.

 The instructions follow LFS BOOK versioned SVN-20130125 with additions
 from BLFS BOOK versioned 2013-01-26.

 Packages are installed in same order as alwas, mentioned versions were
 used without any modifications to the LFS book ones. I did some
 diversions and I've mentioned them below.

 Packages were added in specified place for a reason, I think I explained
 it for attr, acl and libcap2.

 Howto starts from Chapter 6, assuming everything else has been done as
 before.

 6.6. Creating Essential Files and Symlinks

 change touch /etc/mtab to ln -s /proc/self/mounts /etc/mtab

 Proceed with the Book

 linux 3.7.4 api headers
 man-pages 3.45
 glibc 2.17
 zlib 1.27
 file 5.11
 binutils 2.23.1
 gmp 5.1.0
 mpfr 3.1.1
 mpc 1.0.1
 gcc 4.7.2
 sed 4.2.2
 bzip2 1.0.6
 pkg-config 0.28
 ncurses 5.9
 util-linux 2.22.2
 psmisc 2.20
 procps 3.3.6
 e2fsprogs 1.42.7

 (Not sure about this, but it could be possible that attr and acl need
 msgfmt, msgmerge and xgettext binaries from gettext package - I've
 installed all binaries from gettext in temporary stage so I can't
 confirm. I do remember that I had some problems with this in the past)

 attr 2.4.46 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/attr.html
 acl 2.2.51
 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/acl.html (This one
 is not stricly required for systemd - but I installed it so Coreutils,
 Shadow and Systemd might benefit from it as well from libcap2).
 libcap2 2.22
 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/libcap2.html

 shadow 4.1.5.1
 coreutils 8.20 (without coreutils-8.20-i18n-1.patch)
 iana-etc 2.30
 m4 1.4.16
 bison 2.7
 grep 2.14
 readline 6.2
 bash 4.2
 libtool 2.4.2
 gdbm 1.10
 inetutils 1.9.1
 perl 5.16.2
 autoconf 2.69
 automake 1.13.1
 diffutils 3.2
 gawk 4.0.2
 findutils 4.4.2
 flex 2.5.37
 gettext 0.18.2
 groff 1.22.1
 xz 5.0.4
 grub 2.0.0
 less 451
 gzip 1.5
 iproute2 3.7.0
 kbd 1.15.5 (without kbd-1.15.5-backspace-1.patch)
 kmod 12
 libpipeline 1.2.2
 make 3.82
 man-db 2.6.3
 patch 2.7.1
 sysklogd 1.5 - Removed
 Sysvinit 2.88dsf (I choose to install few support programs from this
 package, like sulogin, mesg, pidof, last, fstab-decode and killall5 - I
 usually enable mesg and sulogin at util-linux stage though so no need
 for it from this package)

 make -C src

 cp -v src/last src/mesg /usr/bin
 ln -sfv last /usr/bin/lastb

 cp -v src/fstab-decode src/killall5 src/sulogin /sbin
 ln -sfv ../sbin/killall5 /bin/pidof

 cp -v man/{last,lastb,mesg}.1 /usr/share/man/man1
 cp -v man/{fstab-decode,killall5,pidof,sulogin}.8 /usr/share/man/man8

 tar 1.26
 texinfo 4.13a

 udev 197 (extracted from systemd) - Removed
 vim 7.3 - Removed in my setup - Replaced with nano 2.3.1
 http://www.linuxfromscratch.org/blfs/view/svn/postlfs/nano.html

 dhcp 4.2.5
 http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcp.html (My
 connection uses DHCP - client only with ifup script and configuration
 for eth0)

 expat 2.1.0
 http://www.linuxfromscratch.org/blfs/view/svn/general/expat.html
 dbus 1.6.8 http://www.linuxfromscratch.org/blfs/view/svn/general/dbus.html

 Only difference now is that --without-systemdsystemunitdir becomes
 --with-systemdsystemunitdir=/lib/systemd/system

 Final configure script looks like

 ./configure --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --libexecdir=/usr/lib/dbus-1.0 \
  --with-console-auth-dir=/run/console/ \
  --with-systemdsystemunitdir=/lib/systemd/system \
  --disable-systemd \
  --disable-static

 --disable-systemd is still there because Systemd requires D-Bus and
 D-Bus requires Systemd for certain functionality only. It does not see
 any use in LFS since it uses logind which we will disable in lfs because
 it would need PAM to work like it should.

 D-Bus should be recompiled in BLFS for dbus-launch binary with Xorg
 Libraries as dependency and --disable-systemd should be removed there
 after Systemd has been fully rebuilt for BLFS (Including PAM and some
 other deps like Glib and G-I for GUdev and so on).

 gperf 3.0.4
 http://www.linuxfromscratch.org/blfs/view/svn/general/gperf.html
 xml-parser 2.41
 http://www.linuxfromscratch.org/blfs/view/svn/general/perl-modules.html
 intltool 0.50.2
 http://www.linuxfromscratch.org/blfs/view/svn/general/intltool.html

 systemd 197

 Journald appears to look for adm group, so add it (gid is reserved in
 BLFS specificaly for this group)

 groupadd -g 16 adm

 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
 --libexecdir=/usr/lib --with-rootprefix= --with-rootlibdir=/lib
 --with-kbd-loadkeys=/bin/loadkeys --with-kbd-setfont=/bin/setfont
 --enable-split-usr --disable-static --disable-gudev --without-python

 make

 make check # triggers the testsuite but it appears to fail 5 tests.

 make install
 sed s@0775 root lock@0755

Re: [lfs-support] LFS Version SVN-20130111 is last I obtain

2013-01-27 Thread Armin K.
On 01/27/2013 10:26 PM, Fernando de Oliveira wrote:
 At

 http://www.linuxfromscratch.org/lfs/view/development/

 Version SVN-20130111

 Where is LFS SVN-20130125 or newer?

 []s,
 Fernando


I used svn to get the latest book.

http://www.linuxfromscratch.org/lfs/download.html
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] gnome-power-manager

2012-09-27 Thread Armin K.
On 27.09.2012 21:03, Michael C. Robinson wrote:
 michael [ /usr/gnome/gnome-power-manager-3.4.0 ]$ make
 make  all-recursive
 make[1]: Entering directory `/usr/gnome/gnome-power-manager-3.4.0'
 Making all in src
 make[2]: Entering directory `/usr/gnome/gnome-power-manager-3.4.0/src'
 make  all-am
 make[3]: Entering directory `/usr/gnome/gnome-power-manager-3.4.0/src'
 make[3]: Nothing to be done for `all-am'.
 make[3]: Leaving directory `/usr/gnome/gnome-power-manager-3.4.0/src'
 make[2]: Leaving directory `/usr/gnome/gnome-power-manager-3.4.0/src'
 Making all in po
 make[2]: Entering directory `/usr/gnome/gnome-power-manager-3.4.0/po'
 make[2]: Nothing to be done for `all'.
 make[2]: Leaving directory `/usr/gnome/gnome-power-manager-3.4.0/po'
 Making all in man
 make[2]: Entering directory `/usr/gnome/gnome-power-manager-3.4.0/man'
 docbook2man gnome-power-statistics.sgml  /dev/null
 make[2]: *** [gnome-power-statistics.1] Error 8
 make[2]: Leaving directory `/usr/gnome/gnome-power-manager-3.4.0/man'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/gnome/gnome-power-manager-3.4.0'
 make: *** [all] Error 2

 My base system is LFS 7.1.  I have docbook2man, so that probably isn't
 the reason for this.



Let me guess, have you installed SGMLSpm Perl module?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] XFCE4 Power Manager howto

2012-09-10 Thread Armin K.
Dana 10.9.2012 8:06, Ken Moffat je napisao:
 On Mon, Sep 10, 2012 at 04:38:45AM +, Kenno Han wrote:
 Sounds like you need UPower
 It doesn't say anything about UPower...


   And, because the book is perfect you will ignore my suggestion.
 OK, it's not my problem.

 it's probably a dbus issue []
 I got that under control since a long time ago.

   Good.  Nobody has any idea what you have or haven't done, apart
 from what you have told us.  Some people don't do everything
 necessary for dbus, or build everything in one go and forget to
 start dbus.

 ĸen


Xfce chapter seems to be missing lot of deps ... Namely runtime deps 
such as gvfs, upower and consolekit aren't mentioned as far as I 
remember ... There are also few build deps that are missing on some 
packages.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page