blfs-support Digest, Vol 1970, Issue 1

Dale Stein dstein2000 at gmail.com
Fri Feb 19 08:06:09 PST 2010


  Matthew Burgess wrote:
> Glibc which provides its own copy of getline() now.  The easiest way
> around this is something like:
>
> sed -i -e 's/getline/get_line/g' texk/web2c/lib/tangleboot.{c,h}

I suggest you to use the following patch to fix all errors at once:
http://svn.cross-lfs.org/svn/repos/patches/tetex-src/tetex-src-3.0-gcc_4.4-1.patch
Just apply it with:
patch -Np1 -i ../tetex-src-3.0-gcc_4.4-1.patch

should do the trick

Corstiaan

Message: 7
Date: Thu, 18 Feb 2010 21:28:57 -0600
From: Randy McMurchy <randy at linuxfromscratch.org>
Subject: Re: help tetex-src-3.0 error
To: BLFS Support <blfs-support at linuxfromscratch.org>
Message-ID: <4B7E0579.6040002 at linuxfromscratch.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Corstiaan Hol wrote:

> I suggest you to use the following patch to fix all errors at once:

Or, wait a couple of days and I will have the new TeX Live
instructions in the book which will replace the existing TeX.

--
Randy

The patch worked out gread, as well as the seds, of which there were 7 in
all.

sed -i -e 's/getline/get_line/g' texk/web2c/tangleboot.{c,h}
sed -i -e 's/getline/get_line/g' texk/web2c/tangle.{c,h}
sed -i -e 's/getline/get_line/g' texk/web2c/mft.{c,h}
sed -i -e 's/getline/get_line/g' texk/web2c/otangle.{c,h}
sed -i -e 's/getline/get_line/g' texk/web2c/weave.{c,h}
sed -i -e 's/getline/get_line/g' texk/web2c/mpware/mpto.c
sed -i -e 's/getline/get_line/g' texk/dvipsk/afm2tfm.c


Thanks! I appreciate the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20100219/1fbd0799/attachment.html>


More information about the blfs-support mailing list