On 04/08/10 18:56, Andrew Benton wrote:
> On 03/08/10 05:19, Angus Gibson wrote:
>>     Hi all,
>>
>> I'm getting a strange build error in glibc:
>>
>> root:/sources/builds/glibc/build# make
>> ..<snip>..
>>
>> make[2]: Leaving directory `/sources/builds/glibc/src/wctype'
>> make  subdir=manual -C manual ..=../ subdir_lib
>> make[2]: Entering directory `/sources/builds/glibc/src/manual'
>> Makefile:235: *** mixed implicit and normal rules.  Stop.
>> make[2]: Leaving directory `/sources/builds/glibc/src/manual'
>> make[1]: *** [manual/subdir_lib] Error 2
>> make[1]: Leaving directory `/sources/builds/glibc/src'
>> make: *** [all] Error 2
>>
>> Thanks
>
> sed -i 's/ot \$/ot:\n$/' manual/Makefile
>
> I don't know if that make sense or not but it seems to get me through
> make. make install gives the error:
>
> sort: stat failed: /sources/glibc-build/manual/stubs: No such file or 
> directory
> make[1]: *** [/usr/include/gnu/stubs-64.h] Error 2
> make[1]: Leaving directory `/sources/glibc-2.11.2'
> make: *** [install] Error 2
>
> I can get past that I touch manual/stubs before I run make install.
>
Slightly more refined version, 2 seds, one after the other:

sed -i 's/ot \$/ot:\n$/' manual/Makefile
sed -i '/pot/a\\ttouch $@' manual/Makefile

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

Reply via email to