While STFLA for a problem I'm having building with Cygwin I came across a somewhat lengthy thread between Dave and Thomas Porschberg regarding exactly the problem I'm having. Was this problem ever resolved? The last post ended with Thomas having modified a makefile to contain a hard-coded windows form of a path and removing something involving XLIFF_FILE_NAME. I'm not going to get into all that, there has to be a more general solution. BTW, I would have replied to the thread on the archive list (if you can do that) but a banner at the top of the page said the site was read-only while some problems were being resolved. As to the problem, it is the same as Thomas', "multiple targets" message when make runs. I recognize that message as having something to do with EOL issues. At first I thought the problem might be that I untarred the file from a DOS window and CR's were added courtesy of MS. So I deleted everything except the tarball, opened a Cygwin shell, untarred again, set everything again, and got the same error again. I'm pretty sure I'm following everything to the letter, but I've captured the screen text of my session which I'll paste in below. I can say that I also know first hand about the bash problems in recent Cygwin updates, they screwed me up royally for a few days. The gist of it is they changed something about how bash handles CR/LF sequences in scripts and after a certain version, any script with CR/LFs in it would fail unless you put "shopt -s igncr;#" at the top. About a month and a half ago, maybe 2, I went to download a new package and my whole installation got updated. I didn't realize they'd be so kind. And that's when everything started breaking. So like Dave's when he was involved in this issue, my installation is pretty new too. Here's the transcript of my session, starting with a new shell and a freshly unzipped tarball. Any ideas? TIA, -will
xml-xalan/c/xdocs/style/stylesheets/done-c.xsl [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C $ bash --version GNU bash, version 3.2.5(8)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Foundation, Inc. [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C $ which make /usr/bin/make [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C $ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-pc-cygwin [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C $ export XERCESCROOT=/cygdrive/c/proj/3rdParty/libs/xerces-c-src_2_7_0/ [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C $ export XALANCROOT=/cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c/ [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C $ cd xml-xalan/c [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c $ ./runConfigure -p cygwin -c gcc -x g++ -P /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/package/ Generating makefiles with the following options ... Platform: cygwin C Compiler: gcc C++ Compiler: g++ Extra compile options: Extra link options: Transcoder: default Localization system: inmem Locale: en_US Thread option: bitsToBuild option: 32 Extra configure options: --prefix=/cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/package/ Debug is OFF 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 ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for autoconf... autoconf checking whether -fno-elide-constructors works correctly... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for floor in -lm... yes checking how to run the C++ preprocessor... g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for mbstowcs... yes checking if mbstowcs can count only... yes configure: creating ./config.status config.status: creating Makefile.incl config.status: creating Makefile config.status: creating src/xalanc/Makefile config.status: creating src/xalanc/Utils/Makefile config.status: creating src/xalanc/Utils/MsgCreator/Makefile config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile config.status: creating samples/Makefile config.status: creating Tests/Makefile If the result of the above commands look OK to you, go to the directory /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c/ and type "gmake" or "make" to make the XALAN -C system. Note: You must use GNU make to use the Xalan Makefile. [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c $ make install make -C src/xalanc install make[1]: Entering directory `/cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c/src/xalanc' Preparing the directory structure for a build ... mkdir -p ../../obj mkdir -p ../../lib mkdir -p ../../bin make -C Utils prepare make[2]: Entering directory `/cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c/src/xalanc/ Utils ' Makefile:71: *** multiple target patterns. Stop. make[2]: Leaving directory `/cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c/src/xalanc/ Utils' make[1]: *** [prepare] Error 2 make[1]: Leaving directory `/cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c/src/xalanc' make: *** [install] Error 2 [EMAIL PROTECTED] /cygdrive/c/proj/3rdParty/libs/xalan-c_1_10_0-C/xml-xalan/c $