[tex-live] building from source
cloos at jhcloos.com
Sun May 28 21:33:19 CEST 2006
>>>>> "Karl" == Karl Berry <karl at freefriends.org> writes:
Karl> Are you or anyone here in a position to report this bug to cygwin?
Karl> TeX has been using getline for 20+ years, it's rather annoying to
Karl> have a name clash now.
It looks from their web site that they want bug reports about newlib
to be sent to redhat’s newlib list <newlib at sources.redhat.com>. (Or
perhaps that should read <newlib at sourceware.org>. At any rate, they
have links at http://sourceware.org/newlib/mailing.html to subscribe
and to the archives.)
Hmm. Looking at their current version of stdio.h (w/o the annotation)
I don’t see getline(), but just __getline():
| ssize_t _EXFUN(__getdelim, (char **, size_t *, int, FILE *));
| ssize_t _EXFUN(__getline, (char **, size_t *, FILE *));
So, I just grabbed :pserver:anoncvs at cygwin.com:/cvs/src/newlib and
in their grep(1) tells me that newlib/libc/sys/linux/sys/stdio.h has:
,----(:pserver:anoncvs at cygwin.com:/cvs/src/newlib/libc/sys/linux/sys/stdio.h)
| #define getline __getline
and that must be the source of the problem.
But why does cygwin use include/sys/linux/sys/stdio.h?
I’m going to take a break now and see whether Danica manages to
make some Indy History. I’ll grep(1) through some more later....
James H. Cloos, Jr. <cloos at jhcloos.com>
More information about the tex-live