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 <[email protected]>
Subject: Re: help tetex-src-3.0 error
To: BLFS Support <[email protected]>
Message-ID: <[email protected]>
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.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to