[tex-live] building from source

djh henman at it.to-be.co.jp
Fri May 26 06:34:08 CEST 2006


Target Platform: Cygwin 5.19

Karl, thanks for the work around, (#define getline t1getline).

After doing that I ran ./Build again, got further along, and ran into, basically the same problem.

----
srcdir=../../../../TeX/texk/web2c /bin/sh ../../../../TeX/texk/web2c/web2c/convert tangleboot
gcc -DHAVE_CONFIG_H  -I. -I../../../../TeX/texk/web2c -I.. -I../../../../TeX/texk/web2c/..   -g -O2  -c tangleboot.c -o tangleboot.o
In file included from tangleboot.c:94:
tangleboot.h:34: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' was here
tangleboot.h:34: error: conflicting types for 'getline'
/usr/include/sys/stdio.h:31: error: previous declaration of 'getline' was here

----
Now, me being clever and wanting to be helpful did:
# In directory: /cygdrive/c/cygwin-djh/texlive/src/Work/TeX/texk/web2c :
# (1) Changed line #34 in tangleboot.h (rename getline to tb_getline)
# (2) Inserted the following at line #2173 of tangleboot.c
#    #define getline tb_getline
----

Then re-ran ./Build.  Same problem... ummm.  Looked at the tangleboot.{c|h} and both where back to their unedited state???  

So these must be automatically generated files.....

Any ideas about problem can be broached?


Regards,
  Darel Henman


More information about the tex-live mailing list