Re: [lfs-support] Error at GlibC

2012-08-15 Thread Mikie
Thanks Elly,

This worked:

sudo apt-get install gawk
sudo update-alternatives --set awk /usr/bin/gawk

Then I started from scratch and all is well.



From: lfs-support-boun...@linuxfromscratch.org 
[mailto:lfs-support-boun...@linuxfromscratch.org] On Behalf Of Eleanore Boyd
Sent: Tuesday, August 14, 2012 12:24 PM
To: LFS Support List
Subject: Re: [lfs-support] Error at GlibC

On 8/14/2012 12:09 PM, Mikie wrote:
>Make sure that all of gawk's dependencies are resolved, get rid of packages 
>that rely solely on mawk, then make sure everything is configured to use gawk 
>and restart. Unless you're in runlevel 3 or using a server edition of Ubuntu, 
>the power symbol on the top toolbar is probably red, which means that the 
>system wants to restart. (The gui is still good for some things. Like the 
>browser.)

>Elly

Huh?

I am on server and did a reboot but no difference :

lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 objdir=`pwd` 
install
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'
mawk -f scripts/gen-sorted.awk \
   -v subdirs='csu assert ctype locale intl catgets math setjmp 
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix 
io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow gshadow po argp crypt nss localedata timezone rt conform debug 
libidn dlfcn elf' \
   -v srcpfx='' \
   nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend 
stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend 
time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend 
rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
/bin/sh: 1: mawk: not found
make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [install] Error 2
lfs@ubuntu:/mnt/lfs/sources/glibc-build$


Did you also try deleting the untarred files and the build folder and redoing 
the build from scratch? It might still be trying to find mawk.

If that fails as well, try rebuilding the entire LFS system, as the tools might 
be directing to mawk as well. If even that fails, make sure Ubuntu is using 
gawk as the default awk, and that all programs are using gawk as well. Though, 
at last check, I didn't think the server edition came with mawk at all...

Elly
-- 
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 at GlibC

2012-08-14 Thread Bruce Dubbs
Eleanore Boyd wrote:
> On 8/14/2012 11:12 AM, Mikie wrote:
>>
>> Hello all,
>>
>> When I did:
>>
>> make install
>>
>> ... at5.7. Glibc-2.14.1
>>
>> I got an error:
>>
>> lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install
>>
>> LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
>>
>> make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1
>> objdir=`pwd` install
>>
>> make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'
>>
>> mawk -f scripts/gen-sorted.awk \
>>
>>-v subdirs='csu assert ctype locale intl catgets math
>> setjmp signal stdlib stdio-common libio malloc string wcsmbs time
>> dirent grp pwd posix io termios resource misc socket sysvipc gmon
>> gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss
>> localedata timezone rt conform debug libidn dlfcn elf' \
>>
>>-v srcpfx='' \
>>
>>nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs
>> sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend
>> stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend
>> string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend
>> nss/Depend localedata/Depend rt/Depend debug/Depend >
>> /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
>>
>> mawk: scripts/gen-sorted.awk: line 19: regular expression compile
>> failed (bad class -- [], [^] or [)
>>
>> /[^
>>
>> mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
>>
>> mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /,
>> "", subd ...
>>
>> make[1]: *** No rule to make target
>> `/mnt/lfs/sources/glibc-build/Versions.all', needed by
>> `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
>>
>> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
>>
>> make: *** [install] Error 2
>>
>> lfs@ubuntu:/mnt/lfs/sources/glibc-build$
>>
>>
>>
> First off, the book says to use gawk, not mawk. Check your host system
> requirements and configure your system as such. In the case of Ubuntu,
> you will need to uninstall mawk to insure that only gawk is being used,
> and remove packages that rely on mawk as well, as you will otherwise not
> need them.

That's a little overkill.  Just install gawk and reset the symlink 
/usr/bin/awk -> /usr/bin/gawk.

   -- Bruce

-- 
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 at GlibC

2012-08-14 Thread Eleanore Boyd

On 8/14/2012 12:09 PM, Mikie wrote:


>Make sure that all of gawk's dependencies are resolved, get rid of 
packages that rely solely on mawk, then make sure everything is 
configured to use gawk and restart. Unless you're in runlevel 3 or 
using a server edition of Ubuntu, the power symbol on the top toolbar 
is probably red, which means that the system wants to restart. (The 
gui is still good for some things. Like the browser.)


>Elly

Huh?

I am on server and did a reboot but no difference :

lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install

LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 
objdir=`pwd` install


make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'

mawk-f scripts/gen-sorted.awk \

-v subdirs='csu assert ctype locale intl catgets math setjmp signal 
stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd 
posix io termios resource misc socket sysvipc gmon gnulib iconv 
iconvdata wctype manual shadow gshadow po argp crypt nss localedata 
timezone rt conform debug libidn dlfcn elf' \


-v srcpfx='' \

nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend 
stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend 
string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend 
nss/Depend localedata/Depend rt/Depend debug/Depend > 
/mnt/lfs/sources/glibc-build/sysd-sorted-tmp


/bin/sh: 1: mawk: not found

make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.


make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'

make: *** [install] Error 2

lfs@ubuntu:/mnt/lfs/sources/glibc-build$



Did you also try deleting the untarred files and the build folder and 
redoing the build from scratch? It might still be trying to find mawk.


If that fails as well, try rebuilding the entire LFS system, as the 
tools might be directing to mawk as well. If even that fails, make sure 
Ubuntu is using gawk as the default awk, and that all programs are using 
gawk as well. Though, at last check, I didn't think the server edition 
came with mawk at all...


Elly
-- 
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 at GlibC

2012-08-14 Thread Mikie
>Make sure that all of gawk's dependencies are resolved, get rid of packages 
>that rely solely on mawk, then make sure everything is configured to use gawk 
>and restart. Unless you're in runlevel 3 or using a server edition of Ubuntu, 
>the power symbol on the top toolbar is probably red, which means that the 
>system wants to restart. (The gui is still good for some things. Like the 
>browser.)

>Elly

Huh?

I am on server and did a reboot but no difference :

lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 objdir=`pwd` 
install
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'
mawk -f scripts/gen-sorted.awk \
   -v subdirs='csu assert ctype locale intl catgets math setjmp 
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix 
io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow gshadow po argp crypt nss localedata timezone rt conform debug 
libidn dlfcn elf' \
   -v srcpfx='' \
   nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend 
stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend 
time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend 
rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
/bin/sh: 1: mawk: not found
make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [install] Error 2
lfs@ubuntu:/mnt/lfs/sources/glibc-build$
-- 
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 at GlibC

2012-08-14 Thread Eleanore Boyd

On 8/14/2012 11:41 AM, Mikie wrote:


Thanks,

Did sudo apt-get remove mawk

and

sudo apt-get install gawk

but now ...

lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install

LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 
objdir=`pwd` install


make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'

mawk -f scripts/gen-sorted.awk \

-v subdirs='csu assert ctype locale intl catgets math setjmp signal 
stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd 
posix io termios resource misc socket sysvipc gmon gnulib iconv 
iconvdata wctype manual shadow gshadow po argp crypt nss localedata 
timezone rt conform debug libidn dlfcn elf' \


-v srcpfx='' \

nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend 
stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend 
string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend 
nss/Depend localedata/Depend rt/Depend debug/Depend > 
/mnt/lfs/sources/glibc-build/sysd-sorted-tmp


/bin/sh: 1: mawk: not found

make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.


make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'

make: *** [install] Error 2

lfs@ubuntu:/mnt/lfs/sources/glibc-build$



Make sure that all of gawk's dependencies are resolved, get rid of 
packages that rely solely on mawk, then make sure everything is 
configured to use gawk and restart. Unless you're in runlevel 3 or using 
a server edition of Ubuntu, the power symbol on the top toolbar is 
probably red, which means that the system wants to restart. (The gui is 
still good for some things. Like the browser.)


Elly
-- 
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 at GlibC

2012-08-14 Thread Mikie
Thanks,

Did sudo apt-get remove mawk
and
sudo apt-get install gawk


but now ...

lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 objdir=`pwd` 
install
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'
mawk -f scripts/gen-sorted.awk \
   -v subdirs='csu assert ctype locale intl catgets math setjmp 
signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix 
io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow gshadow po argp crypt nss localedata timezone rt conform debug 
libidn dlfcn elf' \
   -v srcpfx='' \
   nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend 
stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend 
time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend 
rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
/bin/sh: 1: mawk: not found
make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [install] Error 2
lfs@ubuntu:/mnt/lfs/sources/glibc-build$

-- 
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 at GlibC

2012-08-14 Thread Eleanore Boyd

On 8/14/2012 11:12 AM, Mikie wrote:


Hello all,

When I did:

make install

... at5.7. Glibc-2.14.1

I got an error:

lfs@ubuntu:/mnt/lfs/sources/glibc-build$ make install

LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \

make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.14.1 
objdir=`pwd` install


make[1]: Entering directory `/mnt/lfs/sources/glibc-2.14.1'

mawk -f scripts/gen-sorted.awk \

   -v subdirs='csu assert ctype locale intl catgets math 
setjmp signal stdlib stdio-common libio malloc string wcsmbs time 
dirent grp pwd posix io termios resource misc socket sysvipc gmon 
gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss 
localedata timezone rt conform debug libidn dlfcn elf' \


   -v srcpfx='' \

   nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs 
sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend 
stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend 
string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend 
nss/Depend localedata/Depend rt/Depend debug/Depend > 
/mnt/lfs/sources/glibc-build/sysd-sorted-tmp


mawk: scripts/gen-sorted.awk: line 19: regular expression compile 
failed (bad class -- [], [^] or [)


/[^

mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]

mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, 
"", subd ...


make[1]: *** No rule to make target 
`/mnt/lfs/sources/glibc-build/Versions.all', needed by 
`/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.


make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'

make: *** [install] Error 2

lfs@ubuntu:/mnt/lfs/sources/glibc-build$



First off, the book says to use gawk, not mawk. Check your host system 
requirements and configure your system as such. In the case of Ubuntu, 
you will need to uninstall mawk to insure that only gawk is being used, 
and remove packages that rely on mawk as well, as you will otherwise not 
need them.


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