Hi;
The added lines did the trick, had to comment out the first added line
as the patch is not zipped it is just a regular file.
Am having another problem with this. Get the following error:
"/bin/sh: cd: $: No such file or directory
make: *** [/mnt/lfs/usr/installinfo/glibc-2.1.3] Error 1"
Figured it had something to do with the TIMEZONE as I had not
changed it. Looked at ManDrakes /etc/localtime and /usr/share/zoneinfo
and they both end up with binaries and didn't know if this is what is
needed. So entered TIMEZOME = America/Phoenix/MST but this had
the same effect. Any help would be appricated.
TIA
Clay Stapleton
> 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
>
From Rod Roark <
rod@sunsetsystems.com> Sun Oct 1 17:24:41 2000
From: Rod Roark <
rod@sunsetsystems.com> (Rod Roark)
Date: Sun, 1 Oct 2000 10:24:41 -0700
Subject: LFSMake & glibc
In-Reply-To: <00100110014800.00413@linux>
References: <00093015270500.00436@linux> <
00093015490002.00755@rod.foo.bar> <00100110014800.00413@linux>
Message-ID: <
00100110351700.06161@rod.foo.bar>
My mistake. DIR_APP is an abbreviation that I defined in my working
version of the Makefile and is not yet in the released version.
Substitute "$(DIR_SRC)/$(THISAPP)" where you see "$(DIR_APP)".
-- Rod
http://www.sunsetsystems.com/
On Sun, 01 Oct 2000, Clayton Stapleton wrote:
> Hi;
> The added lines did the trick, had to comment out the first added line
> as the patch is not zipped it is just a regular file.
>
> Am having another problem with this. Get the following error:
> "/bin/sh: cd: $: No such file or directory
> make: *** [/mnt/lfs/usr/installinfo/glibc-2.1.3] Error 1"
>
> Figured it had something to do with the TIMEZONE as I had not
> changed it. Looked at ManDrakes /etc/localtime and /usr/share/zoneinfo
> and they both end up with binaries and didn't know if this is what is
> needed. So entered TIMEZOME = America/Phoenix/MST but this had
> the same effect. Any help would be appricated.
>
> TIA
> Clay Stapleton
>
> > 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