Hi, On running the expat configure script, it produced a warning and asked to email it in. So its below.
The issue seems to be with the cygwin -mno-cygwin compiler option, since if I omit it, the script completes without a problem. Let me know if I can supply any more details. Command executed:- cygwin-3.00$ ./configure --build=i686-pc-mingw32 --prefix=/cygdrive/j/expat CFLAGS='-g3 -O0 -mno-cygwin' Output from script:- rm: cannot remove directory `conftest/out': Permission denied checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking for gcc... gcc checking for C compiler default output... 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 ANSI C... none needed checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E 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 /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic file format pei*-i38 6(.*architecture: i386)? checking for dlltool... dlltool checking for as... as checking for objdump... objdump checking how to run the C preprocessor... gcc -E checking for ANSI C header files... rm: cannot remove directory `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory 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 dlfcn.h usability... no checking dlfcn.h presence... yes configure: WARNING: dlfcn.h: present but cannot be compiled configure: WARNING: dlfcn.h: check for missing prerequisite headers? configure: WARNING: dlfcn.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ------------------------------------ ## checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes rm: cannot remove directory `conftest': Is a directory checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fl32... no checking for af77... no checking for fort77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for lf95... no checking for g95... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from gcc object... rm: cannot re move directory `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory failed checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip rm: cannot remove directory `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory checking if gcc static flag works... rm: cannot remove directory `conftest': Is a directory yes checking if gcc supports -fno-rtti -fno-exceptions... rm: cannot remove director y `conftest': Is a directory no checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... rm: cannot remove directory `conf test': Is a directory yes checking if gcc supports -c -o file.o... mkdir: cannot create directory `conftes t': File exists mkdir: cannot create directory `out': File exists rmdir: `out': Permission denied rmdir: `conftest': Permission denied rm: cannot remove directory `conftest': Is a directory yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: cannot remove directo ry `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory 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... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool rm: cannot remove directory `conftest': Is a directory rm: cannot remove directory `conftest': Is a directory checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT checking if g++ PIC flag -DDLL_EXPORT works... rm: cannot remove directory `conf test': Is a directory yes checking if g++ supports -c -o file.o... mkdir: cannot create directory `conftes t': File exists mkdir: cannot create directory `out': File exists rmdir: `out': Permission denied rmdir: `conftest': Permission denied rm: cannot remove directory `conftest': Is a directory yes checking whether the g++ 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 appending configuration tag "F77" to libtool checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether gcc accepts -fexceptions... yes checking for ANSI C header files... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for memmove... yes checking for bcopy... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for off_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking check.h usability... no checking check.h presence... no checking for check.h... no checking for check.h... (cached) no configure: creating ./config.status config.status: creating Makefile config.status: creating expat_config.h rm: cannot remove directory `./confstatiw8440': Permission denied rm: cannot remove directory `conftest/out': Permission denied cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$ cygwin-3.00$
