I am trying to set up Cygwin-1.7 to build Tex Live, but there is a failure in building libsigsegv-2.6 (which is needed by Clisp-2.48, whichneeds for xindy). I follow the suggestions from Tex Live pages and from README in TL sources.
On Cygwin-1.5 all works fine. The simplest way to reproduce the failure is: 1. wget http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.6.tar.gz 2. tar -xvf libsigsegv-2.6.tar.gz 3. cd libsigsegv-2.6 --------------------------------------------------------- 4. ./configure Build Tools: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking host platform... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking how to recognize dependent libraries... file_magic ^x86 archive import| ^x86 DLL checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes Optional Platform Environment: checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for sysconf(_SC_PAGESIZE)... yes checking for PAGESIZE in limits.h... yes checking for mmap with MAP_ANON... yes checking for mmap with MAP_ANONYMOUS... yes checking for mmap of /dev/zero... yes checking whether a fault handler according to POSIX works... yes checking whether a fault handler according to Linux/i386 works... no checking whether a fault handler according to old Linux/i386 works... no checking whether a fault handler according to Linux/m68k works... no checking whether a fault handler according to Linux/PowerPC works... no checking whether a fault handler according to Linux/HPPA works... no checking whether a fault handler according to BSD works... no checking whether a fault handler according to IRIX works... no checking whether a fault handler according to HP-UX HPPA works... no checking whether a fault handler according to OSF/1 Alpha works... no checking whether a fault handler according to NetBSD Alpha works... no checking whether a fault handler according to AIX works... no checking whether a fault handler according to MacOSX/Darwin7 PowerPC works... no checking whether a fault handler according to MacOSX/Darwin5 PowerPC works... no checking whether a fault handler according to Hurd works... no checking for the fault handler specifics... fault-posix.h checking if the system supports catching SIGSEGV... yes checking for stack direction... grows down checking for PIOCMAP in sys/procfs.h... no checking for mincore... no checking for getrlimit... yes checking for setrlimit... yes checking for sigaltstack... no checking for working sigaltstack... no checking if the system supports catching stack overflow... yes checking whether a signal handler can be left through longjmp... no checking whether a signal handler can be left through longjmp and sigaltstack... no checking whether a signal handler can be left through longjmp and setcontext... no checking whether a signal handler can be left through siglongjmp... no checking whether a signal handler can be left through siglongjmp and sigaltstack ... no checking whether a signal handler can be left through siglongjmp and setcontext. .. no Build Parameters: checking whether to activate relocatable installation... no Output Substitution: configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sigsegv.h config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Now please type 'make' to compile. Good luck. ----------------------------------------------------------------------- 5. make make TARGETSTACK=" all" all-recursive make[1]: Entering directory `/tmp/libsigsegv-2.6' Making all in src make[2]: Entering directory `/tmp/libsigsegv-2.6/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I . -g -O2 -c -o handler.lo handler.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -g -O2 -c handler.c -o h andler.o In file included from handler-win32.c:19, from handler.c:20: sigsegv.h:21:22: ucontext.h: No such file or directory In file included from handler-win32.c:19, from handler.c:20: sigsegv.h:104: error: parse error before '*' token sigsegv.h:104: warning: data definition has no type or storage class sigsegv.h:119: error: parse error before "stackoverflow_context_t" In file included from handler.c:20: handler-win32.c:71: error: parse error before "stackoverflow_context_t" handler-win32.c: In function `stack_overflow_handler': handler-win32.c:79: error: `faulting_page_address' undeclared (first use in this function) handler-win32.c:79: error: (Each undeclared identifier is reported only once handler-win32.c:79: error: for each function it appears in.) handler-win32.c:113: error: `context' undeclared (first use in this function) make[2]: *** [handler.lo] Error 1 make[2]: Leaving directory `/tmp/libsigsegv-2.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/libsigsegv-2.6' make: *** [all] Error 2 ------------------------------------------------------------------------ Now, comparing the output of 'configure', both in Cygwin-1.5 and 1.7, the only differences are ('-' for 1.5, '+' for 1.7): ------------------------------------------------------------------- -checking for PAGESIZE in limits.h... no +checking for PAGESIZE in limits.h... yes -checking whether a fault handler according to POSIX works... no +checking whether a fault handler according to POSIX works... yes -checking for the fault handler specifics... fault-win32.h +checking for the fault handler specifics... fault-posix.h ------------------------------------------------------------------- Perhaps I am missing some packages. Any idea? I have attached my installed.db. Thanks, Angelo.
installed.db.bz2
Description: Binary data
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple