LFSMake & glibc

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rod Roark
Date:  
Subject: LFSMake & glibc
Sorry you're having trouble.

In the Makefile you'll find these lines:

$(OK_GLIBC_1) : THISAPP = glibc-$(GLIBC)
$(OK_GLIBC_1) : $(OK_MAIN)
    @$(PREBUILD)
    @rm -rf $(DIR_BUILD)


Immediately after them, try inserting the following:

    @cd $(DIR_SRC) && cp $(DIR_DL)/glibc-$(GLIBC).patch.gz . && gunzip glibc-$(GLIBC).patch.gz
    @cd $(DIR_APP) && patch -Np1 -i ../glibc-$(GLIBC).patch
    @rm -f $(DIR_SRC)/glibc-$(GLIBC).patch


Note that the first character of each line must be a tab character.

-- Rod
----------------------------------------------------------------------
Sunset Systems                           Preconfigured Linux Computers
http://www.sunsetsystems.com/                      and Custom Software
----------------------------------------------------------------------


On Sat, 30 Sep 2000, Clayton Stapleton wrote:
> Hi Folks;
> Have proceeded with LFSMake into the stage1 installing
> glibc-2.1.3 and have run into the "invalid character 45"
> problem. Cannot just apply the "glibc-2.1.3.patch" to
> "glibc-2.1.3" due to the way LFSMake starts from the
> beginning each time "make stage1" is started.
>
> There needs to be a modification to the LFSMake program
> to allow the patch to be installed from within the program.
> Not being a programmer leaves things hanging until
> someone can come up with a fix that can be applied.
>
> TIA
> Clay Stapleton