Hi,

I receive the same compiling error on both teTeX 2.0 and 2.0.1, with Cygwin 1.3.20 and following tools:
GCC 3.2 20020927 (prerelease), GNU make 3.79.1, GNU bison 1.875, flex 2.5.4.


I issued the following commands when I tried to compile and install:
$ mkdir -p /usr/local/share/texmf
[EMAIL PROTECTED] ~
$ gzip -dc tetex-texmf-2.0.1.tar.gz | (umask 0; cd /usr/local/share/texmf; tar xvf -)
[EMAIL PROTECTED] ~
$ gzip -dc tetex-texmfsrc-2.0.1.tar.gz | (umask 0; cd /usr/local/share/texmf; tar xvf -)
[EMAIL PROTECTED] ~
$ gzip -dc tetex-src-2.0.1.tar.gz | (umask 022; tar xvf -)
[EMAIL PROTECTED] ~
$ cd tetex-src-2.0.1
[EMAIL PROTECTED] ~/tetex-src-2.0.1
$ ./configure --prefix=/usr/local >& configure.log
[EMAIL PROTECTED] ~/tetex-src-2.0.1
$ make world >& world.log


During configure I didn't get any error or warning, but the log-file contained the two following messages:

[...]
configuring in libwww
running /bin/sh ./configure --prefix=/usr/local --srcdir=.
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for Cygwin environment... yes
checking for mingw32 environment... no
checking for executable suffix... .exe
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -Wall ) works... yes
checking whether the C compiler (gcc -g -O2 -Wall ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... no
checking whether make sets ${MAKE}... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether closedir returns void... no
checking for assert.h... yes
checking for float.h... yes
checking for limits.h... yes
checking for memory.h... yes
checking for pwd.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/param.h... yes
checking for unistd.h... yes
checking for ranlib... ranlib
checking for libtool object types... /home/root/tetex-src-2.0.1/libs/libwww/config/klibtool: i686-pc-cygwin not explicitly supported, using defaults.
STATIC:
checking for putenv... yes
checking for strcasecmp... yes
checking for strtol... yes
checking for strstr... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for getcwd... yes
checking for getwd... yes
checking for index... yes
checking for memcmp... yes
checking for memcpy... yes
checking for rindex... yes
checking for strchr... yes
checking for strrchr... yes
checking for working const... yes
checking whether the compiler accepts prototypes... yes
checking whether program_invocation_name is predefined... no
checking whether putenv uses malloc... no
checking whether getcwd uses fork or vfork... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for loader (symbol LD)... ld
checking for archiver (symbol AR)... ar
checking for archiver options (symbol ARFLAGS)... rc
checking host system type... i686-pc-cygwin
checking where the main texmf tree is located... /usr/local/share/texmf
checking for main in -lm... yes
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) .exe
checking for gcc option to produce PIC... none
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (ld) is GNU ld... yes
checking whether the linker (ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for ld option to reload object files... -r
checking dynamic linker characteristics... Win32 ld.exe
checking if libtool supports shared libraries... yes
checking if package supports dlls... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
[...]
configuring in kpathsea
running /bin/sh ./configure --prefix=/usr/local --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) no
checking whether make sets ${MAKE}... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether closedir returns void... no
checking for assert.h... yes
checking for float.h... yes
checking for limits.h... yes
checking for memory.h... yes
checking for pwd.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/param.h... yes
checking for unistd.h... yes
checking for ranlib... ranlib
checking host system type... i686-pc-cygwin
checking for libtool object types... /home/root/tetex-src-2.0.1/texk/kpathsea/./../klibtool: i686-pc-cygwin not explicitly supported, using defaults.
STATIC:
checking for putenv... yes
checking for strcasecmp... yes
checking for strtol... yes
checking for strstr... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for getcwd... yes
checking for getwd... yes
checking for index... yes
checking for memcmp... yes
checking for memcpy... yes
checking for rindex... yes
checking for strchr... yes
checking for strrchr... yes
checking for working const... yes
checking whether the compiler accepts prototypes... yes
checking whether program_invocation_name is predefined... no
checking whether putenv uses malloc... no
checking whether getcwd uses fork or vfork... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for loader (symbol LD)... (cached) ld
checking for archiver (symbol AR)... (cached) ar
checking for archiver options (symbol ARFLAGS)... (cached) rc
checking host system type... i686-pc-cygwin
checking where the main texmf tree is located... /usr/local/share/texmf
checking for main in -lm... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating c-auto.h
[...]



When I issued the make command compiling stopped with the following messages:


[...]
make[3]: Entering directory `/home/root/tetex-src-2.0.1/texk/web2c/web2c'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.. -I./.. -g -O2 -c fixwrites.c
../../klibtool link gcc -o fixwrites fixwrites.o ../lib/lib.a ../../kpathsea/libkpathsea.la -lm
gcc -o fixwrites fixwrites.o ../lib/lib.a ../../kpathsea/STATIC/libkpathsea.a -lm
make[3]: Leaving directory `/home/root/tetex-src-2.0.1/texk/web2c/web2c'
cd web2c && make - --unix -w CC='gcc' CFLAGS='-g -O2 ' LDFLAGS='' splitup
make[3]: Entering directory `/home/root/tetex-src-2.0.1/texk/web2c/web2c'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.. -I./.. -g -O2 -c splitup.c
In file included from splitup.c:8:
../../kpathsea/getopt.h:99: redefinition of `struct option'
make[3]: *** [splitup.o] Error 1
make[3]: Leaving directory `/home/root/tetex-src-2.0.1/texk/web2c/web2c'
make[2]: *** [web2c/splitup] Error 2
make[2]: Leaving directory `/home/root/tetex-src-2.0.1/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/root/tetex-src-2.0.1/texk'
make: *** [all] Error 1



Any suggestion on how I can proceed.


Jens Vindvad

Reply via email to