Oz Gonaz | 23 Dec 19:34 2011
Picon

glibc-2.14.1 compilation error

Hello all, I'm having trouble compiling glibc 2.14.1, I must mention:

Book: 7.0
Host distro: Ubuntu 10.10 i386
Host Requirements:
sh version-check.sh
bash, version 4.1.5(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Ubuntu) 2.20.51-system.20100908
version-check.sh: 9: bison: not found
/usr/bin/yacc -> /usr/bin/byacc
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  8.5
diff (GNU diffutils) 3.0
find (GNU findutils) 4.4.2
GNU Awk 3.1.7
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
GNU C Library (Ubuntu EGLIBC 2.12.1-0ubuntu10.2) stable release version 2.12.1
GNU grep 2.6.3
gzip 1.3.12
Linux version 2.6.35-31-generic-pae (buildd <at> palmer) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #63-Ubuntu SMP Mon Nov 28 20:48:50 UTC 2011
m4 (GNU M4) 1.4.14
GNU Make 3.81
patch 2.6
Perl version='5.10.1';
GNU sed version 4.2.1
tar (GNU tar) 1.23
version-check.sh: 32: makeinfo: not found
Texinfo:
xz (XZ Utils) 4.999.9beta
Compilation OK
Package: glibc-2.14.1
Exact error:
./scripts/mkinstalldirs /sources/glibc-build/linkobj
mkdir /sources/glibc-build/linkobj
(cd /sources/glibc-build/linkobj; \
 /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar x ../libc_pic.a; \
 rm $(/tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//'); \
 /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../i686-pc-linux-gnu/bin/ar x ../sunrpc/librpc_compat_pic.a; \
 /tools/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../../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.6.1/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//')'
make[1]: *** [/sources/glibc-build/linkobj/libc_pic.a] Error 1
make[1]: Leaving directory `/sources/glibc-2.14.1'
make: *** [all] Error 2
Deviated: Not at all

If you could help that would be wonderful, thank you.

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Bruce Dubbs | 23 Dec 20:18 2011
Picon

Re: glibc-2.14.1 compilation error

Oz Gonaz wrote:
> Hello all, I'm having trouble compiling glibc 2.14.1, I must mention:
> 
> *Book:* 7.0
> *Host distro:* Ubuntu 10.10 i386
> *Host Requirements:*
> sh version-check.sh
> bash, version 4.1.5(1)-release
> /bin/sh -> /bin/dash
                   ^^^^
Fix this.

As root: ln -sf bash /bin/sh

   -- Bruce
--

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

Oz Gonaz | 23 Dec 21:55 2011
Picon

Re: glibc-2.14.1 compilation error

Unfortunately the problem still occurs. Would recommend me a GNU/Linux host system in which is suitable for book 7.0?
Heres my environment if that could could help:
root:/sources/glibc-build# env
TERM=xterm
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
PWD=/sources/glibc-build
PS1=\u:\w\$
SHLVL=1
HOME=/root
_=/tools/bin/env
OLDPWD=/sources/glibc-2.14.1


On Fri, Dec 23, 2011 at 11:18 AM, Bruce Dubbs <bruce.dubbs <at> gmail.com> wrote:
Oz Gonaz wrote:
> Hello all, I'm having trouble compiling glibc 2.14.1, I must mention:
>
> *Book:* 7.0
> *Host distro:* Ubuntu 10.10 i386
> *Host Requirements:*
> sh version-check.sh
> bash, version 4.1.5(1)-release
> /bin/sh -> /bin/dash
                  ^^^^
Fix this.

As root: ln -sf bash /bin/sh

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

--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Ken Moffat | 23 Dec 22:27 2011

Re: glibc-2.14.1 compilation error

On Fri, Dec 23, 2011 at 12:55:06PM -0800, Oz Gonaz wrote:
> Unfortunately the problem still occurs. Would recommend me a GNU/Linux host
> system in which is suitable for book 7.0?
> Heres my environment if that could could help:
> root:/sources/glibc-build# env
> TERM=xterm
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
> PWD=/sources/glibc-build
> PS1=\u:\w\$
> SHLVL=1
> HOME=/root
> _=/tools/bin/env
> OLDPWD=/sources/glibc-2.14.1

 You are in chroot, I think.  Did you leave and then re-enter chroot
after correcting the /bin/sh symlink ? (if not, you are probably
still using dash).  Also, after the failure, did you remember to
delete the extracted glibc-2.14.1/ and glibc-build/ directories
before re-trying ?

ĸ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
jasonpsage | 24 Dec 00:38 2011

Re: glibc-2.14.1 compilation error

>Unfortunately the problem still occurs. Would recommend 
>me a GNU/Linux host system in which is suitable for book 7.0?

So FAR.. not done but I'm in Chapter 6 with only a problem in Perl just
encountered and I think solved...
Took me awhile to find a good host too.

Here is what I went with:

Windows 7 -> running Oracle's VirtualBox -> Running Slackware 13 (32
bit)
--Jason P Sage

--

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

Oz Gonaz | 24 Dec 05:06 2011
Picon

Re: glibc-2.14.1 compilation error

Thank you Jason.

On Fri, Dec 23, 2011 at 3:38 PM, <jasonpsage <at> jegas.com> wrote:
>Unfortunately the problem still occurs. Would recommend
>me a GNU/Linux host system in which is suitable for book 7.0?


So FAR.. not done but I'm in Chapter 6 with only a problem in Perl just
encountered and I think solved...
Took me awhile to find a good host too.

Here is what I went with:

Windows 7 -> running Oracle's VirtualBox -> Running Slackware 13 (32
bit)
--Jason P Sage

--

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

Gmane