Chunmeng Zhou | 18 May 2013 04:41
Picon

LFS7.3: zlib-1.2.7 download link is not available anymore

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

--

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

Sandy Widianto | 17 May 2013 22:03
Picon

Rename everything lfs/LFS -> unim/UNIM - chapter 6.61. Udev-197, LFS 7.3

Because of my project and my learning purpose, I renamed everything lfs/LFS to unim/UNIM.
user/group: 
lfs -> unim
on commands for everything, examples:
---------------
mkdir -v $UNIM/sources
chmod -v a+wt $UNIM/sources
mkdir -v $UNIM/tools
ln -sv $UNIM/tools /
groupadd unim
useradd -s /bin/bash -g unim -m -k /dev/null unim
passwd unim
chown -v unim $UNIM/tools
chown -v unim $UNIM/sources

cat > ~/.bashrc << "EOF"
set +h
umask 022
UNIM=/mnt/unim
LC_ALL=POSIX
UNIM_TGT=$(uname -m)-unim-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export UNIM LC_ALL UNIM_TGT PATH
EOF
-------------
mkdir -v $UNIM/{dev,proc,sys}
mknod -m 600 $UNIM/dev/console c 5 1
mknod -m 666 $UNIM/dev/null c 1 3
mount -v --bind /dev $UNIM/dev
mount -vt devpts devpts $UNIM/dev/pts
mount -vt proc proc $UNIM/proc
mount -vt sysfs sysfs $UNIM/sys

if [ -h $UNIM/dev/shm ]; then
  link=$(readlink $UNIM/dev/shm)
  mkdir -p $UNIM/$link
  mount -vt tmpfs shm $UNIM/$link
  unset link
else
  mount -vt tmpfs shm $UNIM/dev/shm
fi

-------------
chroot "$UNIM" /tools/bin/env -i \
    HOME=/root                  \
    TERM="$TERM"                \
    PS1='\u:\w\$ '              \
    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    /tools/bin/bash --login +h
----------------
Everything was went smoothly and now I'm at chapter 6.61. Udev-197 (Extracted from systemd-197) - LFS 7.3. 
I think udev-lfs-197-2.tar.bz2 is special package for LFS, so should I rename evrything inside the package to continue it?

I'm looking forward for support and thank you for your attention.

- Sandy Widianto -
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Stefan & Rebekka Wetter | 16 May 2013 09:03
Picon
Picon

why does LFS need that number of patches

Hi,

in the lfs-book you need some patches. I wonder, why these patches are 
needed? Are the upstream-sources not able to be compiled without?

Thanks!

Best Regards
Stefan
--

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

William Harrington | 15 May 2013 23:54

LFS Stable errata gcc 4.8 hosts

Greetings,

Gcc stable is using gcc 4.7.2 and multiple users have encountered  
issues when using hosts with gcc 4.8 to build gcc 4.7.2 for LFS  
stable. I've hinted them to this bug: http://gcc.gnu.org/ <at> /bugzilla/show_bug.cgi?id=56927

gcc 4.7.3 came out recently and fixes the issue.

Errata may be required. Users have replied with success after I"ve  
told them to update to gcc 4.7.3 during the LFS build.

That is only one bug url for that issue. There are more. This has  
cropped up multiple times and I'm giving a heads up on the issue.

Sincerely,

William Harrington
--

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

Mic Ky | 15 May 2013 23:10
Picon
Favicon

Specific Kernel configuration - LFS 7.3

I'm building my LFS 7.3 with main purposes:
1. Live CD Xfce
2. English and Korean language interfaces
is there any specific kernel configuration for it?

Thank you for your attention.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Fernando | 15 May 2013 22:47
Picon
Favicon

Problem with xzless

Apologies for sending to the wrong list.

# cat /etc/lfs-release
SVN-20130512
64bit, built with jhalfs

I am worried about this:

Either as normal user or as root:
env LANG=C xzless
/home/fernando/Downloads/blfs/links-2.7-2013.05.15-17h21m20s.log.xz

error message:
/usr/bin/xzless: line 49: test: 458 (POSIX regular expressions): integer
expression expected

(used env in order to get English message, but it appears in my locale
LANG too.)

Line 49 of xzless is:

if test "$(less -V | { read ver && echo ${ver#less }; })" -ge 429; then

I am thinking in reinstalling xz, but before, please, can someone give
me some advice?

-- 
[]s,
Fernando
--

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

Jeremy Henty | 15 May 2013 21:02

Q: re. LFS 7.3 errata


Quote:

    Changes to some distros cause the  build of check-0.9.9 to fail in
    Chapter 5. The  proper fix is to add --with-sysroot  to the end of
    the configure line in Binutils-2.23.1 - Pass 2.

Is it *always* safe to add --with-sysroot , no matter what your host
distro?  (My host is LFS-6.8 .)

Regards,

Jeremy Henty
--

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

Mic Ky | 12 May 2013 09:13
Picon
Favicon

remount commands after take a break

I can't build LFS 7.3 at a time, I need to take a break and continue it at next day, so this is my commands to remount

-----------
mount -v --bind /dev $LFS/dev
mount -vt devpts devpts $LFS/dev/pts
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys

if [ -h $LFS/dev/shm ]; then
  link=$(readlink $LFS/dev/shm)
  mkdir -p $LFS/$link
  mount -vt tmpfs shm $LFS/$link
  unset link
else
  mount -vt tmpfs shm $LFS/dev/shm
fi
-----------
Am I correct or there is more suitable command?
Thank you for you attention and support!
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Mic Ky | 12 May 2013 00:45
Picon
Favicon

Adjusting the Toolchain - LFS 7.3

hello I got problem on Chapter 6.10. Adjusting the Toolchain - LFS 7.3

according to the LFS 7.3 book, the result of this command
----------------------------
grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
---------------------------
should be
---------------------
SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");
---------------------

but my result only 2 lines
----------
root:/# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");
-----------
it is okay, or how to fix it?

Thank you for your attention and help!


--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Jean-Philippe MENGUAL | 12 May 2013 00:10
Picon
Favicon

LFS in pdf


Hi,

I try to set an environment to generate pdf files for lfs. I installed
fop, jai and openjdk. I've not installed the dependencies of openjdk, and
not JUnit. make says:

Generating PDF file...
make: *** [pdf] Error 1

How can I have more verbose info? Do some dep are mandatory so build a pdf (I
mean openjdk's dep)? Is JUnit mandatory?

Thanks for your help

Regards
--

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

stud dent | 10 May 2013 19:58

Glibc-2.17 errors at LFS 7.3

Linux From Scratch - Version 7.3 Chapter 6. Installing Basic System Software - 6.9. Glibc-2.17 at Ubuntu LTS 12.04

Based on this words on LFS 7.3 Book
(Generally a few tests do not pass, but you can generally ignore any of the test failures listed below. Now test the build results:)
can I ignore this errors?

-------------------
/sources/glibc-build/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.17'
make: *** [check] Error 2
root:/sources/glibc-build# grep Error glibc-check-log
make[2]: *** [/sources/glibc-build/stdio-common/bug22.out] Error 1
make[1]: *** [stdio-common/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
make: *** [check] Error 2
root:/sources/glibc-build#
----------------------

By the way thank you for previous supports!
Best regard
--

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

Gmane